info1005->comment);
done:
- smbconf_close(conf_ctx);
+ smbconf_shutdown(conf_ctx);
return werr;
}
* that should be passed around in subsequent calls to the other
* smbconf functions.
*
- * After the work with the configuration is completed, smbconf_close()
+ * 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)
/**
* Close the configuration.
*/
-void smbconf_close(struct smbconf_ctx *ctx)
+void smbconf_shutdown(struct smbconf_ctx *ctx)
{
/* this also closes the registry (by destructor): */
TALLOC_FREE(ctx);
*/
WERROR smbconf_init(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx);
-void smbconf_close(struct smbconf_ctx *ctx);
+void smbconf_shutdown(struct smbconf_ctx *ctx);
bool smbconf_changed(struct smbconf_ctx *ctx, struct smbconf_csn *csn,
const char *service, const char *param);
WERROR smbconf_drop(struct smbconf_ctx *ctx);
}
done:
- smbconf_close(ctx);
+ smbconf_shutdown(ctx);
return werr;
}
}
done:
- smbconf_close(ctx);
+ smbconf_shutdown(ctx);
return werr;
}
ret = fn(conf_ctx, argc, argv);
- smbconf_close(conf_ctx);
+ smbconf_shutdown(conf_ctx);
return ret;
}