diff options
-rw-r--r-- | lib/smbconf/smbconf.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/smbconf/smbconf.h b/lib/smbconf/smbconf.h index 0ceca5a6d4..5d8ce70351 100644 --- a/lib/smbconf/smbconf.h +++ b/lib/smbconf/smbconf.h @@ -217,8 +217,19 @@ sbcErr smbconf_get_share(struct smbconf_ctx *ctx, const char *servicename, struct smbconf_service **service); +/** + * @brief Delete a service from configuration. + * + * @param[in] ctx The smbconf context to use. + * + * @param[in] servicename The service name to delete. + * + * @return SBC_ERR_OK on success, a corresponding sbcErr if an + * error occured. + */ sbcErr smbconf_delete_share(struct smbconf_ctx *ctx, const char *servicename); + sbcErr smbconf_set_parameter(struct smbconf_ctx *ctx, const char *service, const char *param, |