From 815fa600539f235d76679e8a048b8043f67d0b78 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 27 Aug 2007 08:15:04 +0000 Subject: - Update to 4.0 - Pass maintainership to submitter Submitted by: farrokhi Repocopy by: marcus Approved by: flz --- net/openospfd/files/patch-ospfctl_parser.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 net/openospfd/files/patch-ospfctl_parser.h (limited to 'net/openospfd/files/patch-ospfctl_parser.h') diff --git a/net/openospfd/files/patch-ospfctl_parser.h b/net/openospfd/files/patch-ospfctl_parser.h new file mode 100644 index 000000000000..b4eab4960d00 --- /dev/null +++ b/net/openospfd/files/patch-ospfctl_parser.h @@ -0,0 +1,26 @@ +--- ospfctl/parser.h.orig Fri Jul 27 15:11:55 2007 ++++ ospfctl/parser.h Fri Jul 27 15:12:01 2007 +@@ -50,6 +50,23 @@ + RELOAD + }; + ++enum token_type { ++ NOTOKEN, ++ ENDTOKEN, ++ KEYWORD, ++ ADDRESS, ++ FLAG, ++ PREFIX, ++ IFNAME ++}; ++ ++struct token { ++ enum token_type type; ++ const char *keyword; ++ int value; ++ const struct token *next; ++}; ++ + struct parse_result { + struct in_addr addr; + char ifname[IF_NAMESIZE]; -- cgit v1.2.3