diff options
author | Michael Adam <obnox@samba.org> | 2008-04-22 16:31:16 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-04-23 01:43:31 +0200 |
commit | fb9232c0a98d9ce600e379dd03ee6fa3cd73cba5 (patch) | |
tree | 611aebbcadfb490cb37bcb70fd22f942be888ea7 /source3/lib/smbconf/smbconf.h | |
parent | 5dd54c58b4d65b28751fda3ba2acbfe71ea7a75f (diff) | |
download | samba-fb9232c0a98d9ce600e379dd03ee6fa3cd73cba5.tar.gz samba-fb9232c0a98d9ce600e379dd03ee6fa3cd73cba5.tar.bz2 samba-fb9232c0a98d9ce600e379dd03ee6fa3cd73cba5.zip |
libsmbconf: rewrite API to use smbconf_service struct
instead of lists of strings and counters directly...
Michael
(This used to be commit 17415e2dc457ce41793a7e28e71f72c538c19c61)
Diffstat (limited to 'source3/lib/smbconf/smbconf.h')
-rw-r--r-- | source3/lib/smbconf/smbconf.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/lib/smbconf/smbconf.h b/source3/lib/smbconf/smbconf.h index 86ee3ed231..e337476665 100644 --- a/source3/lib/smbconf/smbconf.h +++ b/source3/lib/smbconf/smbconf.h @@ -63,8 +63,7 @@ WERROR smbconf_drop(struct smbconf_ctx *ctx); WERROR smbconf_get_config(struct smbconf_ctx *ctx, TALLOC_CTX *mem_ctx, uint32_t *num_shares, - char ***share_names, uint32_t **num_params, - char ****param_names, char ****param_values); + struct smbconf_service ***services); WERROR smbconf_get_share_names(struct smbconf_ctx *ctx, TALLOC_CTX *mem_ctx, uint32_t *num_shares, @@ -73,8 +72,8 @@ bool smbconf_share_exists(struct smbconf_ctx *ctx, const char *servicename); WERROR smbconf_create_share(struct smbconf_ctx *ctx, const char *servicename); WERROR smbconf_get_share(struct smbconf_ctx *ctx, TALLOC_CTX *mem_ctx, - const char *servicename, uint32_t *num_params, - char ***param_names, char ***param_values); + const char *servicename, + struct smbconf_service **service); WERROR smbconf_delete_share(struct smbconf_ctx *ctx, const char *servicename); WERROR smbconf_set_parameter(struct smbconf_ctx *ctx, |