]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmbconf: rename smbconf_init() to smbconf_init_internal().
authorMichael Adam <obnox@samba.org>
Sun, 13 Apr 2008 14:26:14 +0000 (16:26 +0200)
committerMichael Adam <obnox@samba.org>
Sun, 13 Apr 2008 18:04:43 +0000 (20:04 +0200)
smbconf_init should be the name of the dispatcher (to be written)

Michael

source/lib/smbconf/smbconf_private.h
source/lib/smbconf/smbconf_reg.c
source/lib/smbconf/smbconf_txt_simple.c
source/lib/smbconf/smbconf_util.c

index 5acba5a40ad0d0d92b7c162151011789e929ee1f..76f91f94d3e35af7d547160c2b63ef108c8c8408 100644 (file)
@@ -68,8 +68,8 @@ struct smbconf_ctx {
        void *data; /* private data for use in backends */
 };
 
-WERROR smbconf_init(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
-                   const char *path, struct smbconf_ops *ops);
+WERROR 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,
                                   char ***array,
index ce38a20f3fc0ba1b3fab6394e421909be920f864..2bdc11fa7ff9f099dc8ee62417d972e7b9a4d4a7 100644 (file)
@@ -1055,5 +1055,5 @@ struct smbconf_ops smbconf_ops_reg = {
 WERROR smbconf_init_reg(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
                        const char *path)
 {
-       return smbconf_init(mem_ctx, conf_ctx, path, &smbconf_ops_reg);
+       return smbconf_init_internal(mem_ctx, conf_ctx, path, &smbconf_ops_reg);
 }
index 1bea6cb8b9ceba7b931a9aeb6fe77645d8f1aed7..7f70a5f34b45499b15d087617216a5e49e8c7e8e 100644 (file)
@@ -607,7 +607,7 @@ WERROR smbconf_init_txt_simple(TALLOC_CTX *mem_ctx,
 {
        WERROR werr;
 
-       werr = smbconf_init(mem_ctx, conf_ctx, path, &smbconf_ops_txt);
+       werr = smbconf_init_internal(mem_ctx, conf_ctx, path, &smbconf_ops_txt);
        if (!W_ERROR_IS_OK(werr)) {
                return werr;
        }
index ee79b6360fb93f12e637e0eb24f948d276ba8e2a..1a3a0ded44b2fe4df6ca4a129d80941a2689d3b2 100644 (file)
@@ -39,8 +39,8 @@ static int smbconf_destroy_ctx(struct smbconf_ctx *ctx)
  * After the work with the configuration is completed, smbconf_shutdown()
  * should be called.
  */
-WERROR smbconf_init(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
-                   const char *path, struct smbconf_ops *ops)
+WERROR smbconf_init_internal(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
+                            const char *path, struct smbconf_ops *ops)
 {
        WERROR werr = WERR_OK;
        struct smbconf_ctx *ctx;