libsmbconf: Document smbconf_drop().
authorAndreas Schneider <asn@samba.org>
Thu, 14 Apr 2011 09:13:49 +0000 (11:13 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 10 May 2011 17:13:23 +0000 (19:13 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
lib/smbconf/smbconf.h

index 5c0f84d1727cf6cbbe2b88bb5ae99e97ceebbf11..c15cd5c0c0c82f31811fc4ca7d07d9e0e22e5a6c 100644 (file)
@@ -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,