source: branches/samba-3.3.x/source/librpc/ndr/ndr_sec.h

Last change on this file was 206, checked in by Herwig Bauernfeind, 16 years ago

Import Samba 3.3 branch at 3.0.0 level (psmedley's port)

File size: 1.5 KB
Line 
1#ifndef __LIBRPC_NDR_NDR_SEC_H__
2#define __LIBRPC_NDR_NDR_SEC_H__
3
4#undef _PRINTF_ATTRIBUTE
5#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
6/* This file was automatically generated by mkproto.pl. DO NOT EDIT */
7
8#ifndef _PUBLIC_
9#define _PUBLIC_
10#endif
11
12
13/* The following definitions come from librpc/ndr/ndr_sec_helper.c */
14
15size_t ndr_size_dom_sid(const struct dom_sid *sid);
16size_t ndr_length_dom_sid(const struct dom_sid *sid);
17size_t ndr_size_security_ace(const struct security_ace *ace);
18size_t ndr_size_security_acl(const struct security_acl *acl);
19size_t ndr_size_security_descriptor(const struct security_descriptor *sd);
20void ndr_print_dom_sid(struct ndr_print *ndr, const char *name, const struct dom_sid *sid);
21void ndr_print_dom_sid2(struct ndr_print *ndr, const char *name, const struct dom_sid *sid);
22void ndr_print_dom_sid28(struct ndr_print *ndr, const char *name, const struct dom_sid *sid);
23char *dom_sid_string(TALLOC_CTX *mem_ctx, const struct dom_sid *sid);
24
25/* The following definitions come from librpc/ndr/ndr_sec.c */
26
27enum ndr_err_code ndr_pull_dom_sid2(struct ndr_pull *ndr, int ndr_flags, struct dom_sid *sid);
28enum ndr_err_code ndr_push_dom_sid2(struct ndr_push *ndr, int ndr_flags, const struct dom_sid *sid);
29enum ndr_err_code ndr_pull_dom_sid28(struct ndr_pull *ndr, int ndr_flags, struct dom_sid *sid);
30enum ndr_err_code ndr_push_dom_sid28(struct ndr_push *ndr, int ndr_flags, const struct dom_sid *sid);
31#undef _PRINTF_ATTRIBUTE
32#define _PRINTF_ATTRIBUTE(a1, a2)
33
34#endif /* __LIBRPC_NDR_NDR_SEC_H__ */
35
Note: See TracBrowser for help on using the repository browser.