diff options
author | paul <paul> | 2003-06-15 01:28:29 +0000 |
---|---|---|
committer | paul <paul> | 2003-06-15 01:28:29 +0000 |
commit | 4f5d5436701d33b24c967ee545ac4946d3f517a4 (patch) | |
tree | 443092572237d8623a44a66a54620a268473292e /zebra/zserv.h | |
parent | 1b4fb9f48c9afb705e5206de0dc5a7f20915f0ed (diff) | |
download | quagga-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.h | 12 |
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)) |