diff options
author | Andreas Schneider <asn@samba.org> | 2011-04-07 17:19:03 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-05-10 19:13:20 +0200 |
commit | 29eea4b09ad2e99504f42a3c29195fb4757792dd (patch) | |
tree | 97bff20a1b7977b07e0576960cb1b3b4830dbec0 /lib/smbconf/smbconf_private.h | |
parent | b34e1768b762ae46e4fe761d9691ed09d285c9a9 (diff) | |
download | samba-29eea4b09ad2e99504f42a3c29195fb4757792dd.tar.gz samba-29eea4b09ad2e99504f42a3c29195fb4757792dd.tar.bz2 samba-29eea4b09ad2e99504f42a3c29195fb4757792dd.zip |
libsmbconf: Convert smbconf_init() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/smbconf/smbconf_private.h')
-rw-r--r-- | lib/smbconf/smbconf_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/smbconf/smbconf_private.h b/lib/smbconf/smbconf_private.h index e6998ad639..2b56367f6c 100644 --- a/lib/smbconf/smbconf_private.h +++ b/lib/smbconf/smbconf_private.h @@ -27,7 +27,7 @@ #include "lib/smbconf/smbconf.h" struct smbconf_ops { - WERROR (*init)(struct smbconf_ctx *ctx, const char *path); + sbcErr (*init)(struct smbconf_ctx *ctx, const char *path); int (*shutdown)(struct smbconf_ctx *ctx); bool (*requires_messaging)(struct smbconf_ctx *ctx); bool (*is_writeable)(struct smbconf_ctx *ctx); @@ -79,7 +79,7 @@ struct smbconf_ctx { void *data; /* private data for use in backends */ }; -WERROR smbconf_init_internal(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx, +sbcErr smbconf_init_internal(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx, const char *path, struct smbconf_ops *ops); WERROR smbconf_add_string_to_array(TALLOC_CTX *mem_ctx, |