diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-12-10 14:29:19 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-12-10 17:51:28 +1100 |
commit | 3ce800dcbe097f0683cedf7465f0562c7111444a (patch) | |
tree | 383c9d1862e9950e1a8f2b5dfda02f39109e0807 /librpc/ndr/libndr.h | |
parent | 2493776f59f13ce20a39c0767bdfe85de6b0bdcd (diff) | |
download | samba-3ce800dcbe097f0683cedf7465f0562c7111444a.tar.gz samba-3ce800dcbe097f0683cedf7465f0562c7111444a.tar.xz samba-3ce800dcbe097f0683cedf7465f0562c7111444a.zip |
libndr: added a GUID_to_ndr_blob() helper function
This can be used in many places that deal with GUIDs
Diffstat (limited to 'librpc/ndr/libndr.h')
-rw-r--r-- | librpc/ndr/libndr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h index d26adb8bbee..dbdc0e65bf3 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_to_ndr_blob(const struct GUID *guid, TALLOC_CTX *mem_ctx, DATA_BLOB *b); 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); |