diff options
| author | Christian Hopps <chopps@labn.net> | 2023-05-09 09:19:24 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-05-30 02:09:44 -0400 |
| commit | a1d8c7a36e44b5b5e87f9f863d04a74670a19843 (patch) | |
| tree | efad6c38f896d10136459df47e1a615b18eabc29 /mgmtd/mgmt.h | |
| parent | edafa64c3027755ca0e08e0e5a6ffbb6c91416f7 (diff) | |
mgmtd: fix reading of config file[s]
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'mgmtd/mgmt.h')
| -rw-r--r-- | mgmtd/mgmt.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mgmtd/mgmt.h b/mgmtd/mgmt.h index 603296bb38..f52d478bc2 100644 --- a/mgmtd/mgmt.h +++ b/mgmtd/mgmt.h @@ -68,8 +68,6 @@ struct mgmt_master { }; extern struct mgmt_master *mm; -extern char const *const mgmt_daemons[]; -extern uint mgmt_daemons_count; /* Inline functions */ static inline unsigned long timeval_elapsed(struct timeval a, struct timeval b) @@ -102,7 +100,8 @@ extern void mgmt_reset(void); extern time_t mgmt_clock(void); extern int mgmt_config_write(struct vty *vty); - +extern struct vty *mgmt_vty_read_config(const char *config_file, + char *config_default_dir); extern void mgmt_master_init(struct event_loop *master, const int buffer_size); extern void mgmt_init(void); |
