summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-02 20:27:49 +0200
committerGünther Deschner <gd@samba.org>2008-06-03 01:27:48 +0200
commitd8fc64de7604c38de12ea267cb071520db2a7730 (patch)
tree3261f6e943e1532392ff000a99172ea77963e43a /source3/lib/netapi
parent45baadb31aee114529b93f959b8a6ecb60b4fab8 (diff)
downloadsamba-d8fc64de7604c38de12ea267cb071520db2a7730.tar.gz
samba-d8fc64de7604c38de12ea267cb071520db2a7730.tar.bz2
samba-d8fc64de7604c38de12ea267cb071520db2a7730.zip
netapi: add NetLocalGroupGetInfo() to public headers.
Guenther (This used to be commit 4d40d8b51a5323c36ff78ccfc4d7405ac97dde6b)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/netapi.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index 28bb7fa68a..5b7a31f320 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -667,4 +667,23 @@ NET_API_STATUS NetLocalGroupAdd(const char * server_name /* [in] */,
NET_API_STATUS NetLocalGroupDel(const char * server_name /* [in] */,
const char * group_name /* [in] */);
+/************************************************************//**
+ *
+ * NetLocalGroupGetInfo
+ *
+ * @brief Get Local Group Information
+ *
+ * @param[in] server_name The server name to connect to
+ * @param[in] group_name The name of the group that is going to be queried
+ * @param[in] level The level defining the requested LOCALGROUP_INFO_X structure
+ * @param[out] buf The buffer containing a LOCALGROUP_INFO_X structure
+ * @return NET_API_STATUS
+ *
+ * example localgroup/localgroup_getinfo.c
+ ***************************************************************/
+
+NET_API_STATUS NetLocalGroupGetInfo(const char * server_name /* [in] */,
+ const char * group_name /* [in] */,
+ uint32_t level /* [in] */,
+ uint8_t **buf /* [out] [ref] */);
#endif