/usr/share/php/IcePatch2/FileServer.php is in php-zeroc-ice 3.6.3-5.
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 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | <?php
// **********************************************************************
//
// Copyright (c) 2003-2016 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.6.3
//
// <auto-generated>
//
// Generated from file `FileServer.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
require_once 'IcePatch2/FileInfo.php';
global $IcePatch2__t_ByteSeqSeq;
if(!isset($IcePatch2__t_ByteSeqSeq))
{
$IcePatch2__t_ByteSeqSeq = IcePHP_defineSequence('::IcePatch2::ByteSeqSeq', $Ice__t_ByteSeq);
}
global $IcePatch2__t_PartitionOutOfRangeException;
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);
}
global $IcePatch2__t_FileAccessException;
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)));
}
global $IcePatch2__t_FileSizeRangeException;
if(!class_exists('IcePatch2_FileSizeRangeException'))
{
class IcePatch2_FileSizeRangeException extends IcePatch2_FileAccessException
{
public function __construct($reason='')
{
parent::__construct($reason);
}
public function ice_name()
{
return 'IcePatch2::FileSizeRangeException';
}
public function __toString()
{
global $IcePatch2__t_FileSizeRangeException;
return IcePHP_stringifyException($this, $IcePatch2__t_FileSizeRangeException);
}
}
$IcePatch2__t_FileSizeRangeException = IcePHP_defineException('::IcePatch2::FileSizeRangeException', 'IcePatch2_FileSizeRangeException', false, $IcePatch2__t_FileAccessException, null);
}
global $IcePatch2__t_FileServer;
global $IcePatch2__t_FileServerPrx;
if(!interface_exists('IcePatch2_FileServer'))
{
interface IcePatch2_FileServer extends Ice_Object
{
public function getFileInfoSeq($partition);
public function getLargeFileInfoSeq($partition);
public function getChecksumSeq();
public function getChecksum();
public function getFileCompressed($path, $pos, $num);
public function getLargeFileCompressed($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);
}
public static function ice_staticId()
{
return '::IcePatch2::FileServer';
}
}
$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, $IcePatch2__t_FileSizeRangeException));
IcePHP_defineOperation($IcePatch2__t_FileServer, 'getLargeFileInfoSeq', 2, 1, 0, array(array($IcePHP__t_int, false, 0)), null, array($IcePatch2__t_LargeFileInfoSeq, 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, $IcePatch2__t_FileSizeRangeException));
IcePHP_defineOperation($IcePatch2__t_FileServer, 'getLargeFileCompressed', 2, 1, 0, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_long, false, 0), array($IcePHP__t_int, false, 0)), null, array($Ice__t_ByteSeq, false, 0), array($IcePatch2__t_FileAccessException));
}
?>
|