summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-04-14 11:13:49 +0200
committerMichael Adam <obnox@samba.org>2011-05-10 19:13:23 +0200
commit938690c77135b5a909d48654d10955bc037a0b38 (patch)
treef22ecffd110d9617604380380dd413fb6d2a87a2 /lib
parent1b0809bd7340b9b596dc3f5be159d79726fe98c6 (diff)
downloadsamba-938690c77135b5a909d48654d10955bc037a0b38.tar.gz
samba-938690c77135b5a909d48654d10955bc037a0b38.tar.bz2
samba-938690c77135b5a909d48654d10955bc037a0b38.zip
libsmbconf: Document smbconf_drop().
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/smbconf/smbconf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/smbconf/smbconf.h b/lib/smbconf/smbconf.h
index 5c0f84d172..c15cd5c0c0 100644
--- a/lib/smbconf/smbconf.h
+++ b/lib/smbconf/smbconf.h
@@ -121,7 +121,16 @@ void smbconf_shutdown(struct smbconf_ctx *ctx);
bool smbconf_changed(struct smbconf_ctx *ctx, struct smbconf_csn *csn,
const char *service, const char *param);
+/**
+ * @brief Drop the whole configuration (restarting empty).
+ *
+ * @param[in] ctx The smbconf context to drop the config.
+ *
+ * @return SBC_ERR_OK on success, a corresponding sbcErr if an
+ * error occured.
+ */
sbcErr smbconf_drop(struct smbconf_ctx *ctx);
+
sbcErr smbconf_get_config(struct smbconf_ctx *ctx,
TALLOC_CTX *mem_ctx,
uint32_t *num_shares,