From 7d509304b58d7ebf1d53e36a8e656830b409e1e8 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 15 Nov 1999 11:36:22 +0000 Subject: An example of how to define enums. --- nest/config.Y | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nest/config.Y') diff --git a/nest/config.Y b/nest/config.Y index 64594625..6a630b21 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -20,6 +20,9 @@ CF_KEYWORDS(ROUTER, ID, PROTOCOL, PREFERENCE, DISABLED, DEBUG, ALL, OFF, DIRECT) CF_KEYWORDS(INTERFACE, IMPORT, EXPORT, FILTER, NONE, TABLE) CF_KEYWORDS(PASSWORD, FROM, PASSIVE, TO, ID) +CF_ENUM(T_ENUM_RTS, RTS_, DUMMY, STATIC, INHERIT, DEVICE, STATIC_DEVICE, REDIRECT, + RIP, RIP_EXT, OSPF, OSPF_EXT, OSPF_IA, OSPF_BOUNDARY, BGP, PIPE) + %type idval %type imexport %type rtable -- cgit v1.2.3