]> git.samba.org - mat/samba.git/commitdiff
netapi: add public header for NetLocalGroupSetInfo().
authorGünther Deschner <gd@samba.org>
Mon, 2 Jun 2008 21:37:42 +0000 (23:37 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 2 Jun 2008 23:27:49 +0000 (01:27 +0200)
Guenther
(This used to be commit cb20271012e7713a28c302e199b676bdb821e5e4)

source3/lib/netapi/netapi.h

index 5b7a31f320b2ae0f533b7e663f15a62f0a84e7fa..d80e78ebbf87a45cfcbf14999fe13057aaebb57d 100644 (file)
@@ -686,4 +686,28 @@ NET_API_STATUS NetLocalGroupGetInfo(const char * server_name /* [in] */,
                                    const char * group_name /* [in] */,
                                    uint32_t level /* [in] */,
                                    uint8_t **buf /* [out] [ref] */);
+
+/************************************************************//**
+ *
+ * NetLocalGroupSetInfo
+ *
+ * @brief Set 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 modified
+ * @param[in] level The level defining the requested LOCALGROUP_INFO_X structure
+ * @param[in] buf The buffer containing a LOCALGROUP_INFO_X structure
+ * @param[out] parm_err The returned parameter error number if any
+ * @return NET_API_STATUS
+ *
+ * example localgroup/localgroup_setinfo.c
+ ***************************************************************/
+
+
+NET_API_STATUS NetLocalGroupSetInfo(const char * server_name /* [in] */,
+                                   const char * group_name /* [in] */,
+                                   uint32_t level /* [in] */,
+                                   uint8_t *buf /* [in] [ref] */,
+                                   uint32_t *parm_err /* [out] [ref] */);
+
 #endif