conf_ctx 82 lib/smbconf/smbconf_private.h WERROR smbconf_init_internal(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx, conf_ctx 661 lib/smbconf/smbconf_txt.c struct smbconf_ctx **conf_ctx, conf_ctx 666 lib/smbconf/smbconf_txt.c werr = smbconf_init_internal(mem_ctx, conf_ctx, path, &smbconf_ops_txt); conf_ctx 671 lib/smbconf/smbconf_txt.c return smbconf_txt_load_file(*conf_ctx); conf_ctx 30 lib/smbconf/smbconf_txt.h struct smbconf_ctx **conf_ctx, conf_ctx 42 lib/smbconf/smbconf_util.c WERROR smbconf_init_internal(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx, conf_ctx 48 lib/smbconf/smbconf_util.c if (conf_ctx == NULL) { conf_ctx 66 lib/smbconf/smbconf_util.c *conf_ctx = ctx; conf_ctx 538 source3/lib/netapi/serverinfo.c struct smbconf_ctx *conf_ctx; conf_ctx 560 source3/lib/netapi/serverinfo.c werr = smbconf_init_reg(ctx, &conf_ctx, NULL); conf_ctx 565 source3/lib/netapi/serverinfo.c werr = smbconf_set_global_parameter(conf_ctx, "server string", conf_ctx 569 source3/lib/netapi/serverinfo.c smbconf_shutdown(conf_ctx); conf_ctx 36 source3/lib/smbconf/smbconf_init.c WERROR smbconf_init(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx, conf_ctx 45 source3/lib/smbconf/smbconf_init.c if (conf_ctx == NULL) { conf_ctx 71 source3/lib/smbconf/smbconf_init.c werr = smbconf_init_reg(mem_ctx, conf_ctx, path); conf_ctx 73 source3/lib/smbconf/smbconf_init.c werr = smbconf_init_txt(mem_ctx, conf_ctx, path); conf_ctx 80 source3/lib/smbconf/smbconf_init.c werr = smbconf_init_txt(mem_ctx, conf_ctx, backend); conf_ctx 89 source3/lib/smbconf/smbconf_init.c werr = smbconf_init_txt(mem_ctx, conf_ctx, source); conf_ctx 29 source3/lib/smbconf/smbconf_init.h WERROR smbconf_init(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx, conf_ctx 1119 source3/lib/smbconf/smbconf_reg.c WERROR smbconf_init_reg(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx, conf_ctx 1122 source3/lib/smbconf/smbconf_reg.c return smbconf_init_internal(mem_ctx, conf_ctx, path, &smbconf_ops_reg); conf_ctx 29 source3/lib/smbconf/smbconf_reg.h WERROR smbconf_init_reg(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx, conf_ctx 204 source3/lib/smbconf/testsuite.c struct smbconf_ctx *conf_ctx = NULL; conf_ctx 215 source3/lib/smbconf/testsuite.c werr = smbconf_init_txt(mem_ctx, &conf_ctx, filename); conf_ctx 223 source3/lib/smbconf/testsuite.c ret &= test_get_includes(conf_ctx); conf_ctx 225 source3/lib/smbconf/testsuite.c smbconf_shutdown(conf_ctx); conf_ctx 245 source3/lib/smbconf/testsuite.c struct smbconf_ctx *conf_ctx = NULL; conf_ctx 251 source3/lib/smbconf/testsuite.c werr = smbconf_init_reg(mem_ctx, &conf_ctx, NULL); conf_ctx 259 source3/lib/smbconf/testsuite.c ret &= test_get_includes(conf_ctx); conf_ctx 260 source3/lib/smbconf/testsuite.c ret &= test_set_get_includes(conf_ctx); conf_ctx 261 source3/lib/smbconf/testsuite.c ret &= test_delete_includes(conf_ctx); conf_ctx 263 source3/lib/smbconf/testsuite.c smbconf_shutdown(conf_ctx); conf_ctx 6767 source3/param/loadparm.c static struct smbconf_ctx *conf_ctx = NULL; conf_ctx 6769 source3/param/loadparm.c if (conf_ctx == NULL) { conf_ctx 6770 source3/param/loadparm.c werr = smbconf_init(NULL, &conf_ctx, "registry:"); conf_ctx 6774 source3/param/loadparm.c conf_ctx = NULL; conf_ctx 6778 source3/param/loadparm.c return conf_ctx; conf_ctx 6816 source3/param/loadparm.c struct smbconf_ctx *conf_ctx = lp_smbconf_ctx(); conf_ctx 6819 source3/param/loadparm.c if (conf_ctx == NULL) { conf_ctx 6825 source3/param/loadparm.c if (!smbconf_share_exists(conf_ctx, service_name)) { conf_ctx 6834 source3/param/loadparm.c werr = smbconf_get_share(conf_ctx, mem_ctx, service_name, &service); conf_ctx 6845 source3/param/loadparm.c smbconf_changed(conf_ctx, &conf_last_csn, NULL, NULL); conf_ctx 6876 source3/param/loadparm.c struct smbconf_ctx *conf_ctx = lp_smbconf_ctx(); conf_ctx 6879 source3/param/loadparm.c if (conf_ctx == NULL) { conf_ctx 6883 source3/param/loadparm.c werr = smbconf_get_config(conf_ctx, mem_ctx, &num_shares, &service); conf_ctx 6901 source3/param/loadparm.c smbconf_changed(conf_ctx, &conf_last_csn, NULL, NULL); conf_ctx 7009 source3/param/loadparm.c struct smbconf_ctx *conf_ctx = lp_smbconf_ctx(); conf_ctx 7011 source3/param/loadparm.c if (conf_ctx == NULL) { conf_ctx 7014 source3/param/loadparm.c if (smbconf_changed(conf_ctx, &conf_last_csn, NULL, conf_ctx 154 source3/utils/net_conf.c struct smbconf_ctx *conf_ctx, conf_ctx 178 source3/utils/net_conf.c if (smbconf_share_exists(conf_ctx, service->name)) { conf_ctx 179 source3/utils/net_conf.c werr = smbconf_delete_share(conf_ctx, service->name); conf_ctx 184 source3/utils/net_conf.c werr = smbconf_create_share(conf_ctx, service->name); conf_ctx 207 source3/utils/net_conf.c werr = smbconf_set_parameter(conf_ctx, conf_ctx 217 source3/utils/net_conf.c werr = smbconf_set_includes(conf_ctx, service->name, num_includes, conf_ctx 232 source3/utils/net_conf.c static int net_conf_list(struct net_context *c, struct smbconf_ctx *conf_ctx, conf_ctx 249 source3/utils/net_conf.c werr = smbconf_get_config(conf_ctx, mem_ctx, &num_shares, &shares); conf_ctx 281 source3/utils/net_conf.c static int net_conf_import(struct net_context *c, struct smbconf_ctx *conf_ctx, conf_ctx 344 source3/utils/net_conf.c werr = smbconf_transaction_start(conf_ctx); conf_ctx 351 source3/utils/net_conf.c werr = import_process_service(c, conf_ctx, service); conf_ctx 366 source3/utils/net_conf.c werr = smbconf_drop(conf_ctx); conf_ctx 380 source3/utils/net_conf.c werr = smbconf_transaction_start(conf_ctx); conf_ctx 388 source3/utils/net_conf.c werr = import_process_service(c, conf_ctx, conf_ctx 398 source3/utils/net_conf.c werr = smbconf_transaction_commit(conf_ctx); conf_ctx 404 source3/utils/net_conf.c werr = smbconf_transaction_start(conf_ctx); conf_ctx 413 source3/utils/net_conf.c werr = smbconf_transaction_commit(conf_ctx); conf_ctx 424 source3/utils/net_conf.c werr = smbconf_transaction_cancel(conf_ctx); conf_ctx 436 source3/utils/net_conf.c struct smbconf_ctx *conf_ctx, int argc, conf_ctx 452 source3/utils/net_conf.c werr = smbconf_get_share_names(conf_ctx, mem_ctx, &num_shares, conf_ctx 470 source3/utils/net_conf.c static int net_conf_drop(struct net_context *c, struct smbconf_ctx *conf_ctx, conf_ctx 481 source3/utils/net_conf.c werr = smbconf_drop(conf_ctx); conf_ctx 495 source3/utils/net_conf.c struct smbconf_ctx *conf_ctx, int argc, conf_ctx 518 source3/utils/net_conf.c werr = smbconf_get_share(conf_ctx, mem_ctx, sharename, &service); conf_ctx 546 source3/utils/net_conf.c struct smbconf_ctx *conf_ctx, int argc, conf_ctx 641 source3/utils/net_conf.c if (smbconf_share_exists(conf_ctx, sharename)) { conf_ctx 676 source3/utils/net_conf.c werr = smbconf_create_share(conf_ctx, sharename); conf_ctx 687 source3/utils/net_conf.c werr = smbconf_set_parameter(conf_ctx, sharename, "path", path); conf_ctx 695 source3/utils/net_conf.c werr = smbconf_set_parameter(conf_ctx, sharename, "comment", conf_ctx 704 source3/utils/net_conf.c werr = smbconf_set_parameter(conf_ctx, sharename, "guest ok", guest_ok); conf_ctx 711 source3/utils/net_conf.c werr = smbconf_set_parameter(conf_ctx, sharename, "writeable", conf_ctx 727 source3/utils/net_conf.c struct smbconf_ctx *conf_ctx, int argc, conf_ctx 745 source3/utils/net_conf.c werr = smbconf_delete_share(conf_ctx, sharename); conf_ctx 758 source3/utils/net_conf.c static int net_conf_setparm(struct net_context *c, struct smbconf_ctx *conf_ctx, conf_ctx 784 source3/utils/net_conf.c werr = smbconf_transaction_start(conf_ctx); conf_ctx 791 source3/utils/net_conf.c if (!smbconf_share_exists(conf_ctx, service)) { conf_ctx 792 source3/utils/net_conf.c werr = smbconf_create_share(conf_ctx, service); conf_ctx 800 source3/utils/net_conf.c werr = smbconf_set_parameter(conf_ctx, service, param, value_str); conf_ctx 808 source3/utils/net_conf.c werr = smbconf_transaction_commit(conf_ctx); conf_ctx 819 source3/utils/net_conf.c werr = smbconf_transaction_cancel(conf_ctx); conf_ctx 830 source3/utils/net_conf.c static int net_conf_getparm(struct net_context *c, struct smbconf_ctx *conf_ctx, conf_ctx 857 source3/utils/net_conf.c werr = smbconf_get_parameter(conf_ctx, mem_ctx, service, param, &valstr); conf_ctx 883 source3/utils/net_conf.c static int net_conf_delparm(struct net_context *c, struct smbconf_ctx *conf_ctx, conf_ctx 907 source3/utils/net_conf.c werr = smbconf_delete_parameter(conf_ctx, service, param); conf_ctx 933 source3/utils/net_conf.c struct smbconf_ctx *conf_ctx, conf_ctx 955 source3/utils/net_conf.c werr = smbconf_get_includes(conf_ctx, mem_ctx, service, conf_ctx 974 source3/utils/net_conf.c struct smbconf_ctx *conf_ctx, conf_ctx 1002 source3/utils/net_conf.c werr = smbconf_set_includes(conf_ctx, service, num_includes, includes); conf_ctx 1016 source3/utils/net_conf.c struct smbconf_ctx *conf_ctx, conf_ctx 1035 source3/utils/net_conf.c werr = smbconf_delete_includes(conf_ctx, service); conf_ctx 1068 source3/utils/net_conf.c struct smbconf_ctx *conf_ctx; conf_ctx 1071 source3/utils/net_conf.c werr = smbconf_init(mem_ctx, &conf_ctx, "registry:"); conf_ctx 1077 source3/utils/net_conf.c ret = fn(c, conf_ctx, argc, argv); conf_ctx 1079 source3/utils/net_conf.c smbconf_shutdown(conf_ctx);