summaryrefslogtreecommitdiffstats
path: root/mgmtd/mgmt_be_adapter.h
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2024-01-18 18:06:45 +0100
committerChristian Hopps <chopps@labn.net>2024-01-19 16:27:24 +0100
commitfa7ff16e2bf0e1cc4e8b7c61a087cab289749ab5 (patch)
treee6e91c7a0bbaed96f875f6850d4fe5a303991189 /mgmtd/mgmt_be_adapter.h
parentlib: better conditionalize leaf-list predicate xpath addition (diff)
downloadfrr-fa7ff16e2bf0e1cc4e8b7c61a087cab289749ab5.tar.xz
frr-fa7ff16e2bf0e1cc4e8b7c61a087cab289749ab5.zip
mgmtd: remove heavy duplication in mgmtd config read
Previously each container created all it's decendents before descending into the children and repeating the process. Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'mgmtd/mgmt_be_adapter.h')
-rw-r--r--mgmtd/mgmt_be_adapter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mgmtd/mgmt_be_adapter.h b/mgmtd/mgmt_be_adapter.h
index 96e807f6c..3407d4c6a 100644
--- a/mgmtd/mgmt_be_adapter.h
+++ b/mgmtd/mgmt_be_adapter.h
@@ -157,8 +157,8 @@ extern const char *mgmt_be_client_id2name(enum mgmt_be_client_id id);
extern void mgmt_be_adapter_toggle_client_debug(bool set);
/* Fetch backend adapter config. */
-extern int mgmt_be_get_adapter_config(struct mgmt_be_client_adapter *adapter,
- struct nb_config_cbs **cfg_chgs);
+extern void mgmt_be_get_adapter_config(struct mgmt_be_client_adapter *adapter,
+ struct nb_config_cbs **changes);
/* Create/destroy a transaction. */
extern int mgmt_be_send_txn_req(struct mgmt_be_client_adapter *adapter,