diff options
author | Andreas Schneider <asn@samba.org> | 2011-04-14 11:44:22 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-05-15 20:20:26 +0200 |
commit | fd4286af676cf2db5accfe29d930ac7f1dd01223 (patch) | |
tree | 4ed6ee58445f736ad51a39c6dd60482aa97ff120 /lib | |
parent | 3deb47a609305470884d63f74870901fd3ce5491 (diff) | |
download | samba-fd4286af676cf2db5accfe29d930ac7f1dd01223.tar.gz |
libsmbconf: Document smbconf_get_includes().
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit bc8a5dfba86dd222c6d96cd7b9a31b49475ce46b)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/smbconf/smbconf.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/smbconf/smbconf.h b/lib/smbconf/smbconf.h index 49f1b70aa24..4d511a08aad 100644 --- a/lib/smbconf/smbconf.h +++ b/lib/smbconf/smbconf.h @@ -340,10 +340,27 @@ sbcErr smbconf_delete_parameter(struct smbconf_ctx *ctx, sbcErr smbconf_delete_global_parameter(struct smbconf_ctx *ctx, const char *param); +/** + * @brief Get the list of names of included files. + * + * @param[in] ctx The smbconf context to use. + * + * @param[in] mem_ctx The memory context to allocate the names. + * + * @param[in] service The service name to get the include files. + * + * @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_includes(struct smbconf_ctx *ctx, TALLOC_CTX *mem_ctx, const char *service, uint32_t *num_includes, char ***includes); + sbcErr smbconf_get_global_includes(struct smbconf_ctx *ctx, TALLOC_CTX *mem_ctx, uint32_t *num_includes, char ***includes); |