diff options
author | paul <paul> | 2003-06-15 01:28:29 +0000 |
---|---|---|
committer | paul <paul> | 2003-06-15 01:28:29 +0000 |
commit | b21b19c5785487f2ff4a6ce38f45c2e6c35f4363 (patch) | |
tree | c79f90ce7bd798b3f1391010153d9fdf7c7418f0 /lib/vty.h | |
parent | 0e4f190ebf5a26e4b66fb49cd74ae0ff0c7e0863 (diff) |
2003-06-15 Paul Jakma <paul@dishone.st>
* lib/vty.{c,h}: Remove vty layer depending on a 'master' global,
pass the thread master in explicitly to vty_init. Sort out some
header dependency problems with lib/command.h
* zebra/: Move globals to struct zebrad. Update vty_init().
* (.*)/\1_main.c: update call to vty_init().
Diffstat (limited to 'lib/vty.h')
-rw-r--r-- | lib/vty.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -21,6 +21,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #ifndef _ZEBRA_VTY_H #define _ZEBRA_VTY_H +#include "thread.h" + #define VTY_BUFSIZ 512 #define VTY_MAXHIST 20 @@ -184,7 +186,7 @@ struct vty extern char integrate_default[]; /* Prototypes. */ -void vty_init (void); +void vty_init (struct thread_master *); void vty_init_vtysh (void); void vty_reset (void); void vty_finish (void); |