summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-29 18:35:48 +0200
committerGünther Deschner <gd@samba.org>2008-09-05 12:34:35 +0200
commite51de3e502fed7b932e43f115f7c1cdabfd576e3 (patch)
tree141d43c0532041e7f78008a58c74e3db26ca7b39 /source3/lib/netapi
parent6d310cb1d3b550295da386f8fa7a0036fb8e6ef2 (diff)
downloadsamba-e51de3e502fed7b932e43f115f7c1cdabfd576e3.tar.gz
samba-e51de3e502fed7b932e43f115f7c1cdabfd576e3.tar.bz2
samba-e51de3e502fed7b932e43f115f7c1cdabfd576e3.zip
netapi: add NetShareDel to public header.
Guenther (This used to be commit 3ac8f83fcd9f92fe944de8c094d6aa6bda9074dc)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/netapi.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index 05c702cb3f..89665371a0 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -1501,6 +1501,24 @@ NET_API_STATUS NetShareAdd(const char * server_name /* [in] */,
uint8_t *buffer /* [in] [ref] */,
uint32_t *parm_err /* [out] [ref] */);
+/************************************************************//**
+ *
+ * NetShareDel
+ *
+ * @brief Delete Share
+ *
+ * @param[in] server_name The server name to connect to
+ * @param[in] net_name The name of the share to delete
+ * @param[in] reserved
+ * @return NET_API_STATUS
+ *
+ * example share/share_del.c
+ ***************************************************************/
+
+NET_API_STATUS NetShareDel(const char * server_name /* [in] */,
+ const char * net_name /* [in] */,
+ uint32_t reserved /* [in] */);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */