summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-07-01 20:11:38 +0200
committerGünther Deschner <gd@samba.org>2008-07-17 10:35:17 +0200
commita035851b65700e93316344ab47c48460f6ef8397 (patch)
tree4976e9d3125c16d01f986a1b7eba7ce32577f0ff /source3/lib/netapi
parentc343190344f60cb92c9ad8c5ba71becd5f6329e9 (diff)
downloadsamba-a035851b65700e93316344ab47c48460f6ef8397.tar.gz
samba-a035851b65700e93316344ab47c48460f6ef8397.tar.bz2
samba-a035851b65700e93316344ab47c48460f6ef8397.zip
netapi: add NetGroupEnum to public headers.
Guenther (This used to be commit 4564581f9aaf4afd6c47c6d5a9a299bc5012244d)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/netapi.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index e7f3527d1a..086a9a9fca 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -608,6 +608,34 @@ NET_API_STATUS NetGroupDel(const char * server_name /* [in] */,
/************************************************************//**
*
+ * NetGroupEnum
+ *
+ * @brief Enumerate groups on a server
+ *
+ * @param[in] server_name The server name to connect to
+ * @param[in] level The enumeration level used for the query (Currently only
+ * level 0 is supported)
+ * @param[out] buffer The returned enumeration buffer
+ * @param[in] prefmaxlen The requested maximal buffer size
+ * @param[out] entries_read The number of returned entries
+ * @param[out] total_entries The number of total entries
+ * @param[in,out] resume_handle A handle passed in and returned for resuming
+ * operations
+ * @return NET_API_STATUS
+ *
+ * example group/group_enum.c
+ ***************************************************************/
+
+NET_API_STATUS NetGroupEnum(const char * server_name /* [in] */,
+ uint32_t level /* [in] */,
+ uint8_t **buffer /* [out] [ref] */,
+ uint32_t prefmaxlen /* [in] */,
+ uint32_t *entries_read /* [out] [ref] */,
+ uint32_t *total_entries /* [out] [ref] */,
+ uint32_t *resume_handle /* [in,out] [ref] */);
+
+/************************************************************//**
+ *
* NetGroupSetInfo
*
* @brief Set Domain Group Information