summaryrefslogtreecommitdiff
path: root/librpc/ndr/libndr.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-12-10 11:22:20 +1100
committerAndrew Tridgell <tridge@samba.org>2009-12-10 17:51:26 +1100
commiteffff544265c63c95cf630d426b630bfe4d25aec (patch)
tree140892813f036adad48eb1b2910bcd95ae34c5fc /librpc/ndr/libndr.h
parentd2f13dd6882079f82d45847eda72c75d6de55a21 (diff)
downloadsamba-effff544265c63c95cf630d426b630bfe4d25aec.tar.gz
samba-effff544265c63c95cf630d426b630bfe4d25aec.tar.bz2
samba-effff544265c63c95cf630d426b630bfe4d25aec.zip
librpc: split out a separate GUID_from_ndr_blob() function
This will simplify many of the places that deal with NDR formatted GUIDs
Diffstat (limited to 'librpc/ndr/libndr.h')
-rw-r--r--librpc/ndr/libndr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h
index e881a5c691..d26adb8bbe 100644
--- a/librpc/ndr/libndr.h
+++ b/librpc/ndr/libndr.h
@@ -536,6 +536,7 @@ enum ndr_err_code ndr_push_charset(struct ndr_push *ndr, int ndr_flags, const ch
/* GUIDs */
bool GUID_equal(const struct GUID *u1, const struct GUID *u2);
+NTSTATUS GUID_from_ndr_blob(const DATA_BLOB *b, struct GUID *guid);
NTSTATUS GUID_from_data_blob(const DATA_BLOB *s, struct GUID *guid);
NTSTATUS GUID_from_string(const char *s, struct GUID *guid);
NTSTATUS NS_GUID_from_string(const char *s, struct GUID *guid);