s3-torture:test_ctdbconn: fix the build against older ctdb versions
[Samba/gebeck_regimport.git] / testprogs / win32 / midltests / midltests_marshall.h
blob8bb59b9a00c6510af36c56f8e9719d20f41279d7
1 #include "rpc.h"
2 #include "rpcndr.h"
4 void dump_data(const unsigned char *buf1,int len);
6 #if _WIN32_WINNT < 0x600
7 #define NdrSendReceive NdrSendReceiveMarshall
8 void NdrSendReceiveMarshall(PMIDL_STUB_MESSAGE stubmsg, unsigned char *buffer);
9 #define NdrGetBuffer NdrGetBufferMarshall
10 void NdrGetBufferMarshall(PMIDL_STUB_MESSAGE stubmsg, unsigned long len, RPC_BINDING_HANDLE hnd);
11 #define NdrServerInitializeNew NdrServerInitializeNewMarshall
12 void NdrServerInitializeNewMarshall(PRPC_MESSAGE pRpcMsg,
13 PMIDL_STUB_MESSAGE pStubMsg,
14 PMIDL_STUB_DESC pStubDesc);
15 #define I_RpcGetBuffer I_RpcGetBufferMarshall
16 RPC_STATUS WINAPI I_RpcGetBufferMarshall(PRPC_MESSAGE pMsg);
18 #endif /* _WIN32_WINNT < 0x600 */