2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00

Add structure definitionns for enumerations.

This commit is contained in:
Ted Lemon
2000-12-29 06:47:16 +00:00
parent dbcc689ea5
commit 6e8d142358

View 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