diff options
author | paul <paul> | 2006-05-15 16:56:51 +0000 |
---|---|---|
committer | paul <paul> | 2006-05-15 16:56:51 +0000 |
commit | 3cc5584dfaa18178e3d91ec740151a55dd5af674 (patch) | |
tree | 59f3b0a1b5d4dce7b0f9b1e57e54c2e2b36a46c2 /lib/vector.h | |
parent | 9deb091ffc47e3c67e3637efd4b867b36ceeb429 (diff) | |
download | quagga-3cc5584dfaa18178e3d91ec740151a55dd5af674.tar.bz2 quagga-3cc5584dfaa18178e3d91ec740151a55dd5af674.tar.xz |
[lib] Add string mapping table for Zserv commands
2006-05-15 Paul Jakma <paul.jakma@sun.com>
* log.c: (general) Generalise struct zebra_route_desc into
struct zebra_desc_table and, similar to route_types, add a
command_types table to describe Zserv protocol commands.
(route_types[]) use a macro to use designated initialisers
while avoiding tedious duplication.
(zserv_command_string) lookup string from zebra_desc_table,
similar to zebra_route_string
* zebra.h: Add declaration for zserv_command_string, adjust the
comments to reflect zebra_desc_table.
Diffstat (limited to 'lib/vector.h')
0 files changed, 0 insertions, 0 deletions