summaryrefslogtreecommitdiff
path: root/source3/nsswitch/libwbclient/wbclient.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-02 13:11:31 +0200
committerGünther Deschner <gd@samba.org>2008-10-09 12:45:46 +0200
commitb28db15af8d9d163348e713c0adbb8ab7b955fb4 (patch)
treebc9dc7d1d6ea03de120e199f791508010d728771 /source3/nsswitch/libwbclient/wbclient.h
parent8fcb81ee996312269b84ac9c7fb835b1048dc64b (diff)
downloadsamba-b28db15af8d9d163348e713c0adbb8ab7b955fb4.tar.gz
samba-b28db15af8d9d163348e713c0adbb8ab7b955fb4.tar.bz2
samba-b28db15af8d9d163348e713c0adbb8ab7b955fb4.zip
wbclient: add wbcGuidToString and wbcStringToGuid helper functions.
Guenther
Diffstat (limited to 'source3/nsswitch/libwbclient/wbclient.h')
-rw-r--r--source3/nsswitch/libwbclient/wbclient.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/nsswitch/libwbclient/wbclient.h b/source3/nsswitch/libwbclient/wbclient.h
index 2fc7a9b7c1..48b6115612 100644
--- a/source3/nsswitch/libwbclient/wbclient.h
+++ b/source3/nsswitch/libwbclient/wbclient.h
@@ -411,6 +411,16 @@ wbcErr wbcSidToString(const struct wbcDomainSid *sid,
wbcErr wbcStringToSid(const char *sid_string,
struct wbcDomainSid *sid);
+/*
+ * Utility functions for dealing with GUIDs
+ */
+
+wbcErr wbcGuidToString(const struct wbcGuid *guid,
+ char **guid_string);
+
+wbcErr wbcStringToGuid(const char *guid_string,
+ struct wbcGuid *guid);
+
wbcErr wbcPing(void);
wbcErr wbcLibraryDetails(struct wbcLibraryDetails **details);