1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

libsmbconf: rename smbconf_init() to smbconf_init_internal().

smbconf_init should be the name of the dispatcher (to be written)

Michael
This commit is contained in:
Michael Adam 2008-04-13 16:26:14 +02:00
parent 15bef5ae41
commit 3fb95ab757
4 changed files with 6 additions and 6 deletions

View 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,

View 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);
}

View 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;
}

View 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;