3 uuid("bf25facd-cc1a-4067-9a23-2e20b26816e5"),
4 endpoint("ncacn_np:[\\pipe\\rpcproxy]", "ncacn_ip_tcp:", "ncalrpc:"),
5 pointer_default(unique),
7 helpstring("ufomechanic Caching Proxy")
12 [in] uint32 fnum
, /* file number as supplied by remote device */
16 [in] uint8 read_for_execute
,
17 [in,out] uint8 flags
, /* read_for_execute, zlib, md5 etc */
18 [in] [switch_is(flags
& PROXY_USE_CACHE
)] digest_ digest
,
20 [out] [switch_is(flags
)] Read_data response
24 [in] uint32 fnum
, /* file number as supplied by remote device */
26 [in] uint32 count
, /* the uncompressed count */
28 [in] uint8 flags
, /* read_for_execute, zlib, md5 etc */
29 [in] [switch_is(flags
)] Write_data data
,
30 [out] uint32 nwritten
,
31 [out] uint32 remaining
39 typedef struct digest
{
43 typedef [nodiscriminant
,switch_type(uint8
)] union {
44 [case(PROXY_USE_CACHE
)] uint8 digest
[16];
50 [nodiscriminant
,size_is(count
)] uint8 data
[];
53 typedef [nodiscriminant
,switch_type(uint8
)] union {
54 [case(0)] Read_data_generic generic
;
55 [case(PROXY_USE_ZLIB
)] Read_data_generic compress
;
61 [nodiscriminant
,size_is(count
)] uint8 data
[];
64 typedef [nodiscriminant
,switch_type(uint8
)] union {
65 [case(0)] Write_data_generic generic
;
66 [case(PROXY_USE_ZLIB
)] Write_data_generic compress
;