diff options
author | Evan Hunt <each@isc.org> | 2007-01-28 23:00:19 +0000 |
---|---|---|
committer | Evan Hunt <each@isc.org> | 2007-01-28 23:00:19 +0000 |
commit | 253c8b6ad1f0696cf631331e2ce3a6da341c240e (patch) | |
tree | 84519250b25d20d8c78c5d9011cd91568844eb59 /includes/statement.h | |
parent | 85edef5cfe3f24ab0f94656454b00ceeaed2172d (diff) | |
download | isc-dhcp-253c8b6ad1f0696cf631331e2ce3a6da341c240e.tar.gz |
Change "execute" from numeric expression to executable statement, so
it will not be necessary to use eval(execute(...)) [rt16620]
Diffstat (limited to 'includes/statement.h')
-rw-r--r-- | includes/statement.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/statement.h b/includes/statement.h index 44fe8a84..27c758f4 100644 --- a/includes/statement.h +++ b/includes/statement.h @@ -56,7 +56,8 @@ struct executable_statement { let_statement, define_statement, log_statement, - return_statement + return_statement, + execute_statement } op; union { struct { @@ -99,6 +100,11 @@ struct executable_statement { } priority; struct expression *expr; } log; + struct { + char *command; + struct expression *arglist; + int argc; + } execute; } data; }; |