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

Add unset, let. Fix definition of ON_RELEASE.

This commit is contained in:
Ted Lemon 2000-01-25 01:19:46 +00:00
parent 5092dd0601
commit 24fe31ebbd

View File

@ -38,7 +38,9 @@ struct executable_statement {
switch_statement, switch_statement,
case_statement, case_statement,
default_statement, default_statement,
set_statement set_statement,
unset_statement,
let_statement
} op; } op;
union { union {
struct { struct {
@ -56,7 +58,7 @@ struct executable_statement {
int evtypes; int evtypes;
# define ON_COMMIT 1 # define ON_COMMIT 1
# define ON_EXPIRY 2 # define ON_EXPIRY 2
# define ON_RELEASE 3 # define ON_RELEASE 4
struct executable_statement *statements; struct executable_statement *statements;
} on; } on;
struct { struct {
@ -67,7 +69,9 @@ struct executable_statement {
struct { struct {
char *name; char *name;
struct expression *expr; struct expression *expr;
} set; struct executable_statement *statements;
} set, let;
char *unset;
} data; } data;
}; };