1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

netapi: add NetLocalGroupEnum to public header.

Guenther
(This used to be commit 151c8fa790)
This commit is contained in:
Günther Deschner
2008-07-18 01:40:34 +02:00
parent d86068977c
commit ca2296f19f

View File

@ -978,6 +978,34 @@ NET_API_STATUS NetLocalGroupSetInfo(const char * server_name /* [in] */,
uint8_t *buf /* [in] [ref] */,
uint32_t *parm_err /* [out] [ref] */);
/************************************************************//**
*
* NetLocalGroupEnum
*
* @brief Enumerate local 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 localgroup/localgroup_enum.c
***************************************************************/
NET_API_STATUS NetLocalGroupEnum(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] */);
/************************************************************//**
*
* NetRemoteTOD