diff options
author | Andreas Schneider <asn@samba.org> | 2011-04-14 11:23:56 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-05-15 20:19:53 +0200 |
commit | 64039f5a47b0398d86f6df9090c6229044261cc6 (patch) | |
tree | facd1dbe0552a909f89fcfa3e87d367a4adf5257 /lib | |
parent | e8181a4c66edda0bfce17a4b98a3a07e6ec56254 (diff) | |
download | samba-64039f5a47b0398d86f6df9090c6229044261cc6.tar.gz samba-64039f5a47b0398d86f6df9090c6229044261cc6.tar.xz samba-64039f5a47b0398d86f6df9090c6229044261cc6.zip |
libsmbconf: Document smbconf_share_exists().
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 315bda5d483fcb18a242236837dedb56ad289b48)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/smbconf/smbconf.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/smbconf/smbconf.h b/lib/smbconf/smbconf.h index 0a46874fc5b..d208af154c4 100644 --- a/lib/smbconf/smbconf.h +++ b/lib/smbconf/smbconf.h @@ -172,7 +172,17 @@ sbcErr smbconf_get_share_names(struct smbconf_ctx *ctx, uint32_t *num_shares, char ***share_names); +/** + * @brief Check if a share/service of a given name exists. + * + * @param[in] ctx The smbconf context to use. + * + * @param[in] servicename The service name to check if it exists. + * + * @return True if it exists, false if not. + */ bool smbconf_share_exists(struct smbconf_ctx *ctx, const char *servicename); + sbcErr smbconf_create_share(struct smbconf_ctx *ctx, const char *servicename); sbcErr smbconf_get_share(struct smbconf_ctx *ctx, TALLOC_CTX *mem_ctx, |