libsmbconf: Convert smbconf_get_share_names() to sbcErr.
[gd/samba-autobuild/.git] / lib / smbconf / smbconf_private.h
index 3d68a05c343fea4cef5ca80453d3bc036b09760c..4058ade2e446d18d84f7ee33893a6fa391cfe5c8 100644 (file)
@@ -36,7 +36,7 @@ struct smbconf_ops {
        void (*get_csn)(struct smbconf_ctx *ctx, struct smbconf_csn *csn,
                        const char *service, const char *param);
        sbcErr (*drop)(struct smbconf_ctx *ctx);
-       WERROR (*get_share_names)(struct smbconf_ctx *ctx,
+       sbcErr (*get_share_names)(struct smbconf_ctx *ctx,
                                  TALLOC_CTX *mem_ctx,
                                  uint32_t *num_shares,
                                  char ***share_names);
@@ -82,7 +82,7 @@ struct smbconf_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,
+sbcErr smbconf_add_string_to_array(TALLOC_CTX *mem_ctx,
                                   char ***array,
                                   uint32_t count,
                                   const char *string);