summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-04-14 11:13:49 +0200
committerKarolin Seeger <kseeger@samba.org>2011-05-15 20:19:43 +0200
commit8ba2f9ca5f9d9408870fc32d7e4cdf279bcf4991 (patch)
treea108feb3936eefe181821f423dd4a37d201e5e8e /lib
parent3ec2020bae093c9dd48d79925c8c606e77139aa9 (diff)
downloadsamba-8ba2f9ca5f9d9408870fc32d7e4cdf279bcf4991.tar.gz
samba-8ba2f9ca5f9d9408870fc32d7e4cdf279bcf4991.tar.xz
samba-8ba2f9ca5f9d9408870fc32d7e4cdf279bcf4991.zip
libsmbconf: Document smbconf_drop().
Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 256fd665747bdb499381e6146a4a0f06f82fd8e2)
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 5c0f84d1727..c15cd5c0c0c 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,