From d6d672aaf930661f502a623d18d7a4abb4f184f2 Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Mon, 15 May 2006 16:56:51 +0000 Subject: [lib] Add string mapping table for Zserv commands 2006-05-15 Paul Jakma * 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. --- lib/ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib/ChangeLog') diff --git a/lib/ChangeLog b/lib/ChangeLog index 7d3eb677..b54b7453 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,15 @@ +2006-05-15 Paul Jakma + + * 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. + 2006-05-13 Paul Jakma * vty.c: (vty_describe_command) CID #39 fix was too hasty, just -- cgit v1.2.1