diff options
| author | Christian Hopps <chopps@labn.net> | 2023-03-08 17:11:43 -0500 | 
|---|---|---|
| committer | Christian Hopps <chopps@gmail.com> | 2023-03-22 05:22:56 +0000 | 
| commit | f82370b47bddb214d53ffb94775805d637300e9b (patch) | |
| tree | eaec8f2525caf8071f724d6076fcc2b68759f842 /mgmtd/mgmt_fe_adapter.h | |
| parent | c9f0e90b60768d74bc3e7904551bf45bd62ba6cd (diff) | |
mgmtd: lib: utilize msglib constructed from the removed code
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'mgmtd/mgmt_fe_adapter.h')
| -rw-r--r-- | mgmtd/mgmt_fe_adapter.h | 15 | 
1 files changed, 5 insertions, 10 deletions
diff --git a/mgmtd/mgmt_fe_adapter.h b/mgmtd/mgmt_fe_adapter.h index 05d37d3f36..3389234a3f 100644 --- a/mgmtd/mgmt_fe_adapter.h +++ b/mgmtd/mgmt_fe_adapter.h @@ -9,6 +9,10 @@  #ifndef _FRR_MGMTD_FE_ADAPTER_H_  #define _FRR_MGMTD_FE_ADAPTER_H_ +#include "mgmt_fe_client.h" +#include "mgmt_msg.h" +#include "mgmtd/mgmt_defines.h" +  struct mgmt_fe_client_adapter;  struct mgmt_master; @@ -64,18 +68,9 @@ struct mgmt_fe_client_adapter {  	struct mgmt_fe_sessions_head fe_sessions;  	/* IO streams for read and write */ -	/* pthread_mutex_t ibuf_mtx; */ -	struct stream_fifo *ibuf_fifo; -	/* pthread_mutex_t obuf_mtx; */ -	struct stream_fifo *obuf_fifo; - -	/* Private I/O buffers */ -	struct stream *ibuf_work; -	struct stream *obuf_work; +	struct mgmt_msg_state mstate;  	int refcount; -	uint32_t num_msg_tx; -	uint32_t num_msg_rx;  	struct mgmt_commit_stats cmt_stats;  	struct mgmt_setcfg_stats setcfg_stats;  | 
