diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-08-27 08:15:04 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-08-27 08:15:04 +0000 |
commit | 815fa600539f235d76679e8a048b8043f67d0b78 (patch) | |
tree | 898d66a735b102449d01adda60a988ff2c20f5bc /net/openospfd/files/patch-ospfctl_parser.h | |
parent | - Force commit (diff) |
- Update to 4.0
- Pass maintainership to submitter
Submitted by: farrokhi
Repocopy by: marcus
Approved by: flz
Notes
Notes:
svn path=/head/; revision=198363
Diffstat (limited to 'net/openospfd/files/patch-ospfctl_parser.h')
-rw-r--r-- | net/openospfd/files/patch-ospfctl_parser.h | 26 |
1 files changed, 26 insertions, 0 deletions
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]; |