summaryrefslogtreecommitdiff
path: root/lib/smbconf
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-04-14 11:47:41 +0200
committerMichael Adam <obnox@samba.org>2011-05-10 19:13:25 +0200
commit0ab8a8e5bace6a796ea1a8b5b8f30275f1ea27eb (patch)
tree521b7803c7df3e127aede7a10126e2711ddb3611 /lib/smbconf
parenta7ac2a87c600e5da4d828667998f5d856800e262 (diff)
downloadsamba-0ab8a8e5bace6a796ea1a8b5b8f30275f1ea27eb.tar.gz
samba-0ab8a8e5bace6a796ea1a8b5b8f30275f1ea27eb.tar.bz2
samba-0ab8a8e5bace6a796ea1a8b5b8f30275f1ea27eb.zip
libsmbconf: Document smbconf_set_includes().
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/smbconf')
-rw-r--r--lib/smbconf/smbconf.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/smbconf/smbconf.h b/lib/smbconf/smbconf.h
index fd5a44ef29..bc1335eb25 100644
--- a/lib/smbconf/smbconf.h
+++ b/lib/smbconf/smbconf.h
@@ -379,9 +379,24 @@ sbcErr smbconf_get_global_includes(struct smbconf_ctx *ctx,
TALLOC_CTX *mem_ctx,
uint32_t *num_includes, char ***includes);
+/**
+ * @brief Set a list of config files to include on the given service.
+ *
+ * @param[in] ctx The smbconf context to use.
+ *
+ * @param[in] service The service to add includes.
+ *
+ * @param[in] num_includes The number of includes to set.
+ *
+ * @param[in] includes A list of paths to include.
+ *
+ * @return SBC_ERR_OK on success, a corresponding sbcErr if an
+ * error occured.
+ */
sbcErr smbconf_set_includes(struct smbconf_ctx *ctx,
const char *service,
uint32_t num_includes, const char **includes);
+
sbcErr smbconf_set_global_includes(struct smbconf_ctx *ctx,
uint32_t num_includes,
const char **includes);