diff options
author | Günther Deschner <gd@samba.org> | 2008-07-18 01:40:34 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-07-18 17:25:14 +0200 |
commit | ca2296f19f65e77dd65aac2c849f8f1db5d210df (patch) | |
tree | 0e6b145b710cf62f4f10a99b96bdd470e5868c98 /source3/lib | |
parent | d86068977c3aaa8ac127156fbee1f62e535b59d7 (diff) | |
download | samba-ca2296f19f65e77dd65aac2c849f8f1db5d210df.tar.gz samba-ca2296f19f65e77dd65aac2c849f8f1db5d210df.tar.bz2 samba-ca2296f19f65e77dd65aac2c849f8f1db5d210df.zip |
netapi: add NetLocalGroupEnum to public header.
Guenther
(This used to be commit 151c8fa7901983a3e7a82f1af599c839249b6cd7)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/netapi/netapi.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index 9c3468d055..300bae59ea 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -980,6 +980,34 @@ NET_API_STATUS NetLocalGroupSetInfo(const char * server_name /* [in] */, /************************************************************//** * + * 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 * * @brief Query remote Time of Day |