s4-netlogon: implement dcesrv_netr_DsRAddressToSitenamesExW
[Samba/aatanasov.git] / libcli / auth / msrpc_parse.h
blob507694db7063aecd2991cebea28abbd785ebb0bc
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,
15 DATA_BLOB *blob,
16 const char *format, ...);
18 /**
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)
24 A = ascii string
25 B = data blob
26 b = data blob in header
27 d = word (4 bytes)
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)
36 #endif