diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-09-28 11:04:59 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-09-29 01:42:28 +0200 |
commit | 115ad6012540338a73abd9de13c6bb4de3a12cf2 (patch) | |
tree | b0eef4839d67d96a382541ad6404fe12cfcf6cfb /testprogs/win32/midltests/midltests_marshall.h | |
parent | cf4e57281b867878521d6f38ec5b0f552c4d2c90 (diff) | |
download | samba-115ad6012540338a73abd9de13c6bb4de3a12cf2.tar.gz samba-115ad6012540338a73abd9de13c6bb4de3a12cf2.tar.bz2 samba-115ad6012540338a73abd9de13c6bb4de3a12cf2.zip |
midltests: add a midltests_tcp.exe tool
This uses a man in the middle approach in order to dump the
request and response pdus.
It also tests NDR32 and NDR64.
metze
Diffstat (limited to 'testprogs/win32/midltests/midltests_marshall.h')
-rw-r--r-- | testprogs/win32/midltests/midltests_marshall.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testprogs/win32/midltests/midltests_marshall.h b/testprogs/win32/midltests/midltests_marshall.h index 0c6aed2721..8bb59b9a00 100644 --- a/testprogs/win32/midltests/midltests_marshall.h +++ b/testprogs/win32/midltests/midltests_marshall.h @@ -1,5 +1,9 @@ #include "rpc.h" #include "rpcndr.h" + +void dump_data(const unsigned char *buf1,int len); + +#if _WIN32_WINNT < 0x600 #define NdrSendReceive NdrSendReceiveMarshall void NdrSendReceiveMarshall(PMIDL_STUB_MESSAGE stubmsg, unsigned char *buffer); #define NdrGetBuffer NdrGetBufferMarshall @@ -11,6 +15,5 @@ void NdrServerInitializeNewMarshall(PRPC_MESSAGE pRpcMsg, #define I_RpcGetBuffer I_RpcGetBufferMarshall RPC_STATUS WINAPI I_RpcGetBufferMarshall(PRPC_MESSAGE pMsg); - - +#endif /* _WIN32_WINNT < 0x600 */ |