From 3ce800dcbe097f0683cedf7465f0562c7111444a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 10 Dec 2009 14:29:19 +1100 Subject: libndr: added a GUID_to_ndr_blob() helper function This can be used in many places that deal with GUIDs --- librpc/ndr/libndr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'librpc/ndr/libndr.h') diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h index d26adb8bbe..dbdc0e65bf 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); -- cgit