/usr/share/Ice-3.5.1/php/lib/IcePatch2/FileServer.php is in php-zeroc-ice 3.5.1-6+b3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | <?php
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `FileServer.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
require_once 'IcePatch2/FileInfo.php';
if(!isset($IcePatch2__t_ByteSeqSeq))
{
$IcePatch2__t_ByteSeqSeq = IcePHP_defineSequence('::IcePatch2::ByteSeqSeq', $Ice__t_ByteSeq);
}
if(!class_exists('IcePatch2_PartitionOutOfRangeException'))
{
class IcePatch2_PartitionOutOfRangeException extends Ice_UserException
{
public function __construct()
{
}
public function ice_name()
{
return 'IcePatch2::PartitionOutOfRangeException';
}
public function __toString()
{
global $IcePatch2__t_PartitionOutOfRangeException;
return IcePHP_stringifyException($this, $IcePatch2__t_PartitionOutOfRangeException);
}
}
$IcePatch2__t_PartitionOutOfRangeException = IcePHP_defineException('::IcePatch2::PartitionOutOfRangeException', 'IcePatch2_PartitionOutOfRangeException', false, null, null);
}
if(!class_exists('IcePatch2_FileAccessException'))
{
class IcePatch2_FileAccessException extends Ice_UserException
{
public function __construct($reason='')
{
$this->reason = $reason;
}
public function ice_name()
{
return 'IcePatch2::FileAccessException';
}
public function __toString()
{
global $IcePatch2__t_FileAccessException;
return IcePHP_stringifyException($this, $IcePatch2__t_FileAccessException);
}
public $reason;
}
$IcePatch2__t_FileAccessException = IcePHP_defineException('::IcePatch2::FileAccessException', 'IcePatch2_FileAccessException', false, null, array(
array('reason', $IcePHP__t_string, false, 0)));
}
if(!interface_exists('IcePatch2_FileServer'))
{
interface IcePatch2_FileServer
{
public function getFileInfoSeq($partition);
public function getChecksumSeq();
public function getChecksum();
public function getFileCompressed($path, $pos, $num);
}
class IcePatch2_FileServerPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::IcePatch2::FileServer', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::IcePatch2::FileServer', $facet);
}
}
$IcePatch2__t_FileServer = IcePHP_defineClass('::IcePatch2::FileServer', 'IcePatch2_FileServer', -1, true, false, $Ice__t_Object, null, null);
$IcePatch2__t_FileServerPrx = IcePHP_defineProxy($IcePatch2__t_FileServer);
IcePHP_defineOperation($IcePatch2__t_FileServer, 'getFileInfoSeq', 2, 1, 0, array(array($IcePHP__t_int, false, 0)), null, array($IcePatch2__t_FileInfoSeq, false, 0), array($IcePatch2__t_PartitionOutOfRangeException));
IcePHP_defineOperation($IcePatch2__t_FileServer, 'getChecksumSeq', 2, 1, 0, null, null, array($IcePatch2__t_ByteSeqSeq, false, 0), null);
IcePHP_defineOperation($IcePatch2__t_FileServer, 'getChecksum', 2, 1, 0, null, null, array($Ice__t_ByteSeq, false, 0), null);
IcePHP_defineOperation($IcePatch2__t_FileServer, 'getFileCompressed', 2, 1, 0, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_int, false, 0), array($IcePHP__t_int, false, 0)), null, array($Ice__t_ByteSeq, false, 0), array($IcePatch2__t_FileAccessException));
}
?>
|