1 #ifndef _LIBCLI_AUTH_MSRPC_PARSE_H__
2 #define _LIBCLI_AUTH_MSRPC_PARSE_H__
4 #undef _PRINTF_ATTRIBUTE
5 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
7 /* this file contains prototypes for functions that are private
8 * to this subsystem or library. These functions should not be
9 * used outside this particular subsystem! */
12 /* The following definitions come from /home/jeremy/src/samba/git/master/source3/../source4/../libcli/auth/msrpc_parse.c */
14 bool msrpc_gen(TALLOC_CTX
*mem_ctx
,
16 const char *format
, ...);
19 this is a tiny msrpc packet parser. This the the partner of msrpc_gen
21 format specifiers are:
23 U = unicode string (output is unix string)
26 b = data blob in header
28 C = constant ascii string
30 bool msrpc_parse(TALLOC_CTX
*mem_ctx
,
31 const DATA_BLOB
*blob
,
32 const char *format
, ...);
33 #undef _PRINTF_ATTRIBUTE
34 #define _PRINTF_ATTRIBUTE(a1, a2)