summaryrefslogtreecommitdiffstats
path: root/mgmtd/mgmt_be_adapter.h
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-07-07 05:23:24 +0200
committerChristian Hopps <chopps@labn.net>2023-12-28 11:41:54 +0100
commit8df542b219c5680f744047033f7876a9ff0530d2 (patch)
treee7da2db3772d16e1926a6c793459248f35a02a6c /mgmtd/mgmt_be_adapter.h
parentmgmtd: step 4: FE adapter get-tree functionality (diff)
downloadfrr-8df542b219c5680f744047033f7876a9ff0530d2.tar.xz
frr-8df542b219c5680f744047033f7876a9ff0530d2.zip
mgmtd: step 5: add get-tree txn functionality
Adds the guts of the get-tree functionality that is called by or calls the FE and BE code for get-tree processing. Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'mgmtd/mgmt_be_adapter.h')
-rw-r--r--mgmtd/mgmt_be_adapter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mgmtd/mgmt_be_adapter.h b/mgmtd/mgmt_be_adapter.h
index 9f62f87d6..b8abd016e 100644
--- a/mgmtd/mgmt_be_adapter.h
+++ b/mgmtd/mgmt_be_adapter.h
@@ -149,6 +149,9 @@ mgmt_be_get_adapter_by_name(const char *name);
extern struct mgmt_be_client_adapter *
mgmt_be_get_adapter_by_id(enum mgmt_be_client_id id);
+/* Get the client name given a client ID */
+extern const char *mgmt_be_client_id2name(enum mgmt_be_client_id id);
+
/* Toggle debug on or off for connected clients. */
extern void mgmt_be_adapter_toggle_client_debug(bool set);