From: Ted Lemon Date: Fri, 29 Dec 2000 06:47:16 +0000 (+0000) Subject: Add structure definitionns for enumerations. X-Git-Tag: V3-BETA-2-PATCH-12~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e8d142358085d46cb21c465748a3417fd179ea3;p=thirdparty%2Fdhcp.git Add structure definitionns for enumerations. --- diff --git a/includes/tree.h b/includes/tree.h index b293674aa..6f3750284 100644 --- a/includes/tree.h +++ b/includes/tree.h @@ -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