summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/libndr.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-04-17 15:01:45 +0200
committerStefan Metzmacher <metze@samba.org>2008-04-17 16:28:40 +0200
commitaa51981e9916bf8d145001e4ad592efd53527dfe (patch)
treebc22ca1904ecc46c83ccbad0873f000bef48d4d9 /source4/librpc/ndr/libndr.h
parente739fe91cfdbb7c8a792c4bdc6c5f18603507fc6 (diff)
downloadsamba-aa51981e9916bf8d145001e4ad592efd53527dfe.tar.gz
samba-aa51981e9916bf8d145001e4ad592efd53527dfe.tar.bz2
samba-aa51981e9916bf8d145001e4ad592efd53527dfe.zip
libndr: add dom_sid0 type that can later be used for CLDAP and MAILSLOT ntlogon packets
metze (This used to be commit 690c12cd2afd0fba626576fbae3f28ffdae63be2)
Diffstat (limited to 'source4/librpc/ndr/libndr.h')
-rw-r--r--source4/librpc/ndr/libndr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/librpc/ndr/libndr.h b/source4/librpc/ndr/libndr.h
index 2439c386db..b719be2bab 100644
--- a/source4/librpc/ndr/libndr.h
+++ b/source4/librpc/ndr/libndr.h
@@ -336,6 +336,10 @@ enum ndr_err_code ndr_push_dom_sid28(struct ndr_push *ndr, int ndr_flags, const
enum ndr_err_code ndr_pull_dom_sid28(struct ndr_pull *ndr, int ndr_flags, struct dom_sid *sid);
void ndr_print_dom_sid28(struct ndr_print *ndr, const char *name, const struct dom_sid *sid);
size_t ndr_size_dom_sid28(const struct dom_sid *sid, int flags);
+enum ndr_err_code ndr_push_dom_sid0(struct ndr_push *ndr, int ndr_flags, const struct dom_sid *sid);
+enum ndr_err_code ndr_pull_dom_sid0(struct ndr_pull *ndr, int ndr_flags, struct dom_sid *sid);
+void ndr_print_dom_sid0(struct ndr_print *ndr, const char *name, const struct dom_sid *sid);
+size_t ndr_size_dom_sid0(const struct dom_sid *sid, int flags);
void ndr_print_ipv4_addr(struct ndr_print *ndr, const char *name, const struct in_addr *_ip);
void ndr_print_GUID(struct ndr_print *ndr, const char *name, const struct GUID *guid);
enum ndr_err_code ndr_push_struct_blob(DATA_BLOB *blob, TALLOC_CTX *mem_ctx, struct smb_iconv_convenience *iconv_convenience, const void *p, ndr_push_flags_fn_t fn);