summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorpaul <paul>2003-06-15 01:28:29 +0000
committerpaul <paul>2003-06-15 01:28:29 +0000
commit4f5d5436701d33b24c967ee545ac4946d3f517a4 (patch)
tree443092572237d8623a44a66a54620a268473292e /zebra/zserv.h
parent1b4fb9f48c9afb705e5206de0dc5a7f20915f0ed (diff)
downloadquagga-4f5d5436701d33b24c967ee545ac4946d3f517a4.tar.bz2
quagga-4f5d5436701d33b24c967ee545ac4946d3f517a4.tar.xz
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 'zebra/zserv.h')
-rw-r--r--zebra/zserv.h12
1 files changed, 12 insertions, 0 deletions
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))