summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient/wbclient.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-08-12 17:41:23 +0200
committerKai Blin <kai@samba.org>2009-08-18 19:53:41 +0200
commita7128709d208b9ef7f4e4e7038bf6102189c4518 (patch)
tree2d5479e91552a729d93f92588b3c20852f1758c9 /nsswitch/libwbclient/wbclient.h
parentafb8f8eaa5370bb171979578031bcd596ee95fe8 (diff)
downloadsamba-a7128709d208b9ef7f4e4e7038bf6102189c4518.tar.gz
samba-a7128709d208b9ef7f4e4e7038bf6102189c4518.tar.bz2
samba-a7128709d208b9ef7f4e4e7038bf6102189c4518.zip
libwbclient: Add wbcSidTypeString function.
Diffstat (limited to 'nsswitch/libwbclient/wbclient.h')
-rw-r--r--nsswitch/libwbclient/wbclient.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h
index d3c1b634f5..a87cad3b21 100644
--- a/nsswitch/libwbclient/wbclient.h
+++ b/nsswitch/libwbclient/wbclient.h
@@ -62,9 +62,10 @@ const char *wbcErrorString(wbcErr error);
* Added wbcRemoveGidMapping()
* 0.3: Added wbcGetpwsid()
* Added wbcGetSidAliases()
+ * 0.4: Added wbcSidTypeString()
**/
#define WBCLIENT_MAJOR_VERSION 0
-#define WBCLIENT_MINOR_VERSION 3
+#define WBCLIENT_MINOR_VERSION 4
#define WBCLIENT_VENDOR_VERSION "Samba libwbclient"
struct wbcLibraryDetails {
uint16_t major_version;
@@ -507,6 +508,15 @@ void wbcFreeMemory(void*);
*/
/**
+ * @brief Get a string representation of the SID type
+ *
+ * @param type type of the SID
+ *
+ * @return string representation of the SID type
+ */
+const char* wbcSidTypeString(enum wbcSidType type);
+
+/**
* @brief Convert a binary SID to a character string
*
* @param sid Binary Security Identifier