source: vendor/3.5.0/libcli/auth/msrpc_parse.h

Last change on this file was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 984 bytes
Line 
1#ifndef _LIBCLI_AUTH_MSRPC_PARSE_H__
2#define _LIBCLI_AUTH_MSRPC_PARSE_H__
3
4#undef _PRINTF_ATTRIBUTE
5#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
6
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! */
10
11
12/* The following definitions come from /home/jeremy/src/samba/git/master/source3/../source4/../libcli/auth/msrpc_parse.c */
13
14bool msrpc_gen(TALLOC_CTX *mem_ctx,
15 DATA_BLOB *blob,
16 const char *format, ...);
17
18/**
19 this is a tiny msrpc packet parser. This the the partner of msrpc_gen
20
21 format specifiers are:
22
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
29 */
30bool 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)
35
36#endif
37
Note: See TracBrowser for help on using the repository browser.