]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add structure definitionns for enumerations.
authorTed Lemon <source@isc.org>
Fri, 29 Dec 2000 06:47:16 +0000 (06:47 +0000)
committerTed Lemon <source@isc.org>
Fri, 29 Dec 2000 06:47:16 +0000 (06:47 +0000)
includes/tree.h

index b293674aa197746dfc5982f91dc5d4b4b8f608de..6f37502841eab6b95be458faf383638ca64f6706 100644 (file)
@@ -47,6 +47,17 @@ typedef struct _pair {
        struct _pair *cdr;
 } *pair;
 
+struct enumeration_value {
+       const char *name;
+       u_int8_t value;
+};
+
+struct enumeration {
+       struct enumeration *next;
+       const char *name;
+       struct enumeration_value *values;
+};     
+
 /* Tree node types... */
 #define TREE_CONCAT            1
 #define TREE_HOST_LOOKUP       2