diff options
author | Günther Deschner <gd@samba.org> | 2008-10-02 13:11:31 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-09 12:45:46 +0200 |
commit | b28db15af8d9d163348e713c0adbb8ab7b955fb4 (patch) | |
tree | bc9dc7d1d6ea03de120e199f791508010d728771 /source3/nsswitch/libwbclient/wbclient.h | |
parent | 8fcb81ee996312269b84ac9c7fb835b1048dc64b (diff) | |
download | samba-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.h | 10 |
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); |