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

index fb3e027107bd9f6b35e984b4b0f539132fa9add3..9bb911dc5832cdf3f9464b46b85083beacacd3c6 100644 (file)
@@ -310,8 +310,21 @@ sbcErr smbconf_get_global_parameter(struct smbconf_ctx *ctx,
                                    const char *param,
                                    char **valstr);
 
+/**
+ * @brief Delete a parameter from the configuration.
+ *
+ * @param[in]  ctx      The smbconf context to use.
+ *
+ * @param[in] service   The service where the parameter can be found.
+ *
+ * @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_parameter(struct smbconf_ctx *ctx,
                                const char *service, const char *param);
+
 sbcErr smbconf_delete_global_parameter(struct smbconf_ctx *ctx,
                                       const char *param);
 sbcErr smbconf_get_includes(struct smbconf_ctx *ctx,