From b21b19c5785487f2ff4a6ce38f45c2e6c35f4363 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 15 Jun 2003 01:28:29 +0000 Subject: 2003-06-15 Paul Jakma * 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(). --- zebra/zserv.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'zebra/zserv.h') diff --git a/zebra/zserv.h b/zebra/zserv.h index ec3c9f4b..42fb64c6 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -56,6 +56,18 @@ struct zserv u_char ifinfo; }; +/* Zebra instance */ +struct zebra_t +{ + /* Thread master */ + struct thread_master *master; + list client_list; + + /* default table */ + int rtm_table_default; + +}; + /* Count prefix size from mask length */ #define PSIZE(a) (((a) + 7) / (8)) -- cgit v1.2.1