libsmbconf: Document smbconf_delete_global_parameter().
authorAndreas Schneider <asn@samba.org>
Thu, 14 Apr 2011 09:38:31 +0000 (11:38 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 11 May 2011 10:03:30 +0000 (12:03 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
lib/smbconf/smbconf.h

index 9bb911dc5832cdf3f9464b46b85083beacacd3c6..49f1b70aa2435056dfe414cdf0b1ab4632e0620e 100644 (file)
@@ -325,8 +325,21 @@ sbcErr smbconf_get_global_parameter(struct smbconf_ctx *ctx,
 sbcErr smbconf_delete_parameter(struct smbconf_ctx *ctx,
                                const char *service, const char *param);
 
+/**
+ * @brief Delete a global parameter from the configuration.
+ *
+ * It also creates [global] if it does't exist.
+ *
+ * @param[in]  ctx      The smbconf context to use.
+ *
+ * @param[in] param     The name of the parameter to delete.
+ *
+ * @return              SBC_ERR_OK on success, a corresponding sbcErr if an
+ *                      error occured.
+ */
 sbcErr smbconf_delete_global_parameter(struct smbconf_ctx *ctx,
                                       const char *param);
+
 sbcErr smbconf_get_includes(struct smbconf_ctx *ctx,
                            TALLOC_CTX *mem_ctx,
                            const char *service,