summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-04-14 11:28:00 +0200
committerMichael Adam <obnox@samba.org>2011-05-10 19:13:24 +0200
commit7e04bd1f857d9a14b38795dbeba8e23f1326c229 (patch)
tree0a076f041f7fd422946e5ec1b65fce5c53a74452 /lib
parent474805794e5758dc1dd77a8c7a667531c31eb011 (diff)
downloadsamba-7e04bd1f857d9a14b38795dbeba8e23f1326c229.tar.gz
samba-7e04bd1f857d9a14b38795dbeba8e23f1326c229.tar.bz2
samba-7e04bd1f857d9a14b38795dbeba8e23f1326c229.zip
libsmbconf: Document smbconf_delete_share().
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/smbconf/smbconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/smbconf/smbconf.h b/lib/smbconf/smbconf.h
index 0ceca5a6d4..5d8ce70351 100644
--- a/lib/smbconf/smbconf.h
+++ b/lib/smbconf/smbconf.h
@@ -217,8 +217,19 @@ sbcErr smbconf_get_share(struct smbconf_ctx *ctx,
const char *servicename,
struct smbconf_service **service);
+/**
+ * @brief Delete a service from configuration.
+ *
+ * @param[in] ctx The smbconf context to use.
+ *
+ * @param[in] servicename The service name to delete.
+ *
+ * @return SBC_ERR_OK on success, a corresponding sbcErr if an
+ * error occured.
+ */
sbcErr smbconf_delete_share(struct smbconf_ctx *ctx,
const char *servicename);
+
sbcErr smbconf_set_parameter(struct smbconf_ctx *ctx,
const char *service,
const char *param,