Home
last modified time | relevance | path

Searched refs:nb_config (Results 1 – 23 of 23) sorted by relevance

/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dnorthbound.h630 struct nb_config { struct
657 struct nb_config *config;
683 extern struct nb_config *running_config;
746 extern void nb_config_free(struct nb_config *config);
757 extern struct nb_config *nb_config_dup(const struct nb_config *config);
775 extern int nb_config_merge(struct nb_config *config_dst,
792 struct nb_config *config_src,
822 extern int nb_candidate_edit(struct nb_config *candidate,
875 struct nb_config *candidate, char *errmsg,
915 struct nb_config *candidate,
[all …]
H A Dvty.h132 struct nb_config *candidate_config;
135 struct nb_config *candidate_config_base;
147 struct nb_config *confirmed_commit_rollback;
323 extern bool vty_read_config(struct nb_config *config, const char *config_file,
H A Dnorthbound.c40 struct nb_config *running_config;
302 struct nb_config *config; in nb_config_new()
314 void nb_config_free(struct nb_config *config) in nb_config_free()
321 struct nb_config *nb_config_dup(const struct nb_config *config) in nb_config_dup()
323 struct nb_config *dup; in nb_config_dup()
332 int nb_config_merge(struct nb_config *config_dst, struct nb_config *config_src, in nb_config_merge()
503 const struct nb_config *config2, in nb_config_diff()
638 struct nb_config *updated_config; in nb_candidate_update()
671 struct nb_config *candidate, in nb_candidate_validate_code()
712 struct nb_config *candidate, char *errmsg, in nb_candidate_validate()
[all …]
H A Dnorthbound_cli.h36 extern struct nb_config *vty_shared_candidate_config;
120 extern void nb_cli_show_config_prepare(struct nb_config *config,
H A Dnorthbound_cli.c46 struct nb_config *vty_shared_candidate_config;
441 struct nb_config *loaded_config = NULL; in nb_cli_candidate_load_file()
503 struct nb_config *loaded_config; in nb_cli_candidate_load_transaction()
632 struct nb_config *config, in nb_cli_show_config_libyang()
717 struct nb_config *config1, in nb_cli_show_config_compare()
718 struct nb_config *config2, in nb_cli_show_config_compare()
1073 struct nb_config *config1, *config_transaction1 = NULL;
1074 struct nb_config *config2, *config_transaction2 = NULL;
1325 struct nb_config *config;
1354 struct nb_config *prev_config;
[all …]
H A Dnorthbound_db.c145 struct nb_config *nb_db_transaction_load(uint32_t transaction_id) in nb_db_transaction_load()
147 struct nb_config *config = NULL; in nb_db_transaction_load()
H A Dnorthbound_grpc.cpp463 struct nb_config *candidate_tmp = in HandleEditCandidate()
573 struct nb_config *loaded_config = nb_config_new(dnode); in HandleLoadToCandidate()
844 struct nb_config *nb_config; in HandleGetTransaction() local
847 nb_config = nb_db_transaction_load(transaction_id); in HandleGetTransaction()
848 if (!nb_config) { in HandleGetTransaction()
864 if (data_tree_from_dnode(config, nb_config->dnode, in HandleGetTransaction()
868 nb_config_free(nb_config); in HandleGetTransaction()
878 nb_config_free(nb_config); in HandleGetTransaction()
1060 struct nb_config *config;
H A Dnorthbound_db.h64 extern struct nb_config *nb_db_transaction_load(uint32_t transaction_id);
H A Dnorthbound_sysrepo.c160 static int frr_sr_process_change(struct nb_config *candidate, in frr_sr_process_change()
248 struct nb_config *candidate; in frr_sr_config_change_cb_prepare()
315 struct nb_config *candidate = transaction->config; in frr_sr_config_change_cb_apply()
331 struct nb_config *candidate = transaction->config; in frr_sr_config_change_cb_abort()
H A Dnorthbound_confd.c188 struct nb_config *candidate;
289 struct nb_config *candidate; in frr_confd_cdb_read_cb_prepare()
377 struct nb_config *candidate = transaction->config; in frr_confd_cdb_read_cb_commit()
404 struct nb_config *candidate = transaction->config; in frr_confd_cdb_read_cb_abort()
H A Dvty.c2274 static void vty_read_file(struct nb_config *config, FILE *confp) in vty_read_file()
2423 bool vty_read_config(struct nb_config *config, const char *config_file, in vty_read_config()
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dnorthbound.h630 struct nb_config { struct
657 struct nb_config *config;
683 extern struct nb_config *running_config;
746 extern void nb_config_free(struct nb_config *config);
757 extern struct nb_config *nb_config_dup(const struct nb_config *config);
775 extern int nb_config_merge(struct nb_config *config_dst,
792 struct nb_config *config_src,
822 extern int nb_candidate_edit(struct nb_config *candidate,
875 struct nb_config *candidate, char *errmsg,
915 struct nb_config *candidate,
[all …]
H A Dvty.h132 struct nb_config *candidate_config;
135 struct nb_config *candidate_config_base;
147 struct nb_config *confirmed_commit_rollback;
323 extern bool vty_read_config(struct nb_config *config, const char *config_file,
H A Dnorthbound.c40 struct nb_config *running_config;
302 struct nb_config *config; in nb_config_new()
314 void nb_config_free(struct nb_config *config) in nb_config_free()
321 struct nb_config *nb_config_dup(const struct nb_config *config) in nb_config_dup()
323 struct nb_config *dup; in nb_config_dup()
332 int nb_config_merge(struct nb_config *config_dst, struct nb_config *config_src, in nb_config_merge()
503 const struct nb_config *config2, in nb_config_diff()
638 struct nb_config *updated_config; in nb_candidate_update()
671 struct nb_config *candidate, in nb_candidate_validate_code()
712 struct nb_config *candidate, char *errmsg, in nb_candidate_validate()
[all …]
H A Dnorthbound_cli.h36 extern struct nb_config *vty_shared_candidate_config;
120 extern void nb_cli_show_config_prepare(struct nb_config *config,
H A Dnorthbound_cli.c46 struct nb_config *vty_shared_candidate_config;
441 struct nb_config *loaded_config = NULL; in nb_cli_candidate_load_file()
503 struct nb_config *loaded_config; in nb_cli_candidate_load_transaction()
632 struct nb_config *config, in nb_cli_show_config_libyang()
717 struct nb_config *config1, in nb_cli_show_config_compare()
718 struct nb_config *config2, in nb_cli_show_config_compare()
1073 struct nb_config *config1, *config_transaction1 = NULL;
1074 struct nb_config *config2, *config_transaction2 = NULL;
1325 struct nb_config *config;
1354 struct nb_config *prev_config;
[all …]
H A Dnorthbound_db.c145 struct nb_config *nb_db_transaction_load(uint32_t transaction_id) in nb_db_transaction_load()
147 struct nb_config *config = NULL; in nb_db_transaction_load()
H A Dnorthbound_grpc.cpp463 struct nb_config *candidate_tmp = in HandleEditCandidate()
573 struct nb_config *loaded_config = nb_config_new(dnode); in HandleLoadToCandidate()
844 struct nb_config *nb_config; in HandleGetTransaction() local
847 nb_config = nb_db_transaction_load(transaction_id); in HandleGetTransaction()
848 if (!nb_config) { in HandleGetTransaction()
864 if (data_tree_from_dnode(config, nb_config->dnode, in HandleGetTransaction()
868 nb_config_free(nb_config); in HandleGetTransaction()
878 nb_config_free(nb_config); in HandleGetTransaction()
1060 struct nb_config *config;
H A Dnorthbound_db.h64 extern struct nb_config *nb_db_transaction_load(uint32_t transaction_id);
H A Dnorthbound_sysrepo.c160 static int frr_sr_process_change(struct nb_config *candidate, in frr_sr_process_change()
248 struct nb_config *candidate; in frr_sr_config_change_cb_prepare()
315 struct nb_config *candidate = transaction->config; in frr_sr_config_change_cb_apply()
331 struct nb_config *candidate = transaction->config; in frr_sr_config_change_cb_abort()
H A Dnorthbound_confd.c188 struct nb_config *candidate;
289 struct nb_config *candidate; in frr_confd_cdb_read_cb_prepare()
377 struct nb_config *candidate = transaction->config; in frr_confd_cdb_read_cb_commit()
404 struct nb_config *candidate = transaction->config; in frr_confd_cdb_read_cb_abort()
H A Dvty.c2274 static void vty_read_file(struct nb_config *config, FILE *confp) in vty_read_file()
2423 bool vty_read_config(struct nb_config *config, const char *config_file, in vty_read_config()
/dports/benchmarks/nosqlbench/nosqlbench-0.0.20151214/sources/
H A Dnb_config.c68 struct nb_config { struct
179 nb_config_error(struct nb_config *cfg, struct tnt_tk *last, char *fmt, ...) in nb_config_error()
193 nb_config_expect(struct nb_config *cfg, int tk, struct tnt_tk **tkp) in nb_config_expect()
210 static int nb_config_readint(struct nb_config *cfg, int *v) { in nb_config_readint()
218 static int nb_config_readsz(struct nb_config *cfg, char **v) { in nb_config_readsz()
229 static int nb_config_read(struct nb_config *cfg, struct tnt_tk *tk) in nb_config_read()
252 static int nb_config_process(struct nb_config *cfg) in nb_config_process()
307 struct nb_config cfg; in nb_config_parse()