summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-04 20:04:35 +0200
committerGünther Deschner <gd@samba.org>2008-09-05 13:22:22 +0200
commit09e96f2a98019beb8e0982ba86dd25336eed22be (patch)
treec6ced8dd620d0537a3aac72c9802b2ad1816b3c1 /source3
parent582a48d89ce5e9650e6a5b293c06b2294cac0841 (diff)
downloadsamba-09e96f2a98019beb8e0982ba86dd25336eed22be.tar.gz
samba-09e96f2a98019beb8e0982ba86dd25336eed22be.tar.bz2
samba-09e96f2a98019beb8e0982ba86dd25336eed22be.zip
netapi: add NetShareSetInfo to public header.
Guenther (This used to be commit 2066ebc5e3e782b9443aee3e5beb1a99d69096ec)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/netapi/netapi.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index 4432f767f8..e9670bb16e 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -1656,6 +1656,28 @@ NET_API_STATUS NetShareGetInfo(const char * server_name /* [in] */,
uint32_t level /* [in] */,
uint8_t **buffer /* [out] [ref] */);
+/************************************************************//**
+ *
+ * NetShareSetInfo
+ *
+ * @brief Set Share Info
+ *
+ * @param[in] server_name The server name to connect to
+ * @param[in] net_name The name of the share to query
+ * @param[in] level The level defining the SHARE_INFO_X structure
+ * @param[in] buffer The buffer containing a SHARE_INFO_X structure
+ * @param[out] parm_err The returned parameter error number if any
+ * @return NET_API_STATUS
+ *
+ * example share/share_setinfo.c
+ ***************************************************************/
+
+NET_API_STATUS NetShareSetInfo(const char * server_name /* [in] */,
+ const char * net_name /* [in] */,
+ uint32_t level /* [in] */,
+ uint8_t *buffer /* [in] [ref] */,
+ uint32_t *parm_err /* [out] [ref] */);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */