diff options
author | Andreas Schneider <asn@samba.org> | 2011-04-14 11:45:14 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-05-10 19:13:25 +0200 |
commit | a7ac2a87c600e5da4d828667998f5d856800e262 (patch) | |
tree | a2d94cb53a104368a5864e6a134a79327f79ebd5 | |
parent | 74dc8c351c33a3b73251985ffa3b19ec024bcfc9 (diff) | |
download | samba-a7ac2a87c600e5da4d828667998f5d856800e262.tar.gz samba-a7ac2a87c600e5da4d828667998f5d856800e262.tar.bz2 samba-a7ac2a87c600e5da4d828667998f5d856800e262.zip |
libsmbconf: Document smbconf_get_global_includes().
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | lib/smbconf/smbconf.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/smbconf/smbconf.h b/lib/smbconf/smbconf.h index 4d511a08aa..fd5a44ef29 100644 --- a/lib/smbconf/smbconf.h +++ b/lib/smbconf/smbconf.h @@ -361,9 +361,24 @@ sbcErr smbconf_get_includes(struct smbconf_ctx *ctx, const char *service, uint32_t *num_includes, char ***includes); +/** + * @brief Get the list of globally included files. + * + * @param[in] ctx The smbconf context to use. + * + * @param[in] mem_ctx The memory context to allocate the names. + * + * @param[out] num_includes A pointer to store the number of included files. + * + * @param[out] includes A pointer to store the paths of the included files. + * + * @return SBC_ERR_OK on success, a corresponding sbcErr if an + * error occured. + */ sbcErr smbconf_get_global_includes(struct smbconf_ctx *ctx, TALLOC_CTX *mem_ctx, uint32_t *num_includes, char ***includes); + sbcErr smbconf_set_includes(struct smbconf_ctx *ctx, const char *service, uint32_t num_includes, const char **includes); |