summaryrefslogtreecommitdiff
path: root/includes/tree.h
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2006-05-11 16:31:29 +0000
committerDavid Hankins <dhankins@isc.org>2006-05-11 16:31:29 +0000
commit2727c1cf8ffc0a34ea7059d36c30691e64cf8a46 (patch)
tree961fdc93887c8dc9451822cd5b33dccd3e5855c5 /includes/tree.h
parent509df655d1e4497a8b8c124bda277a541f9f4508 (diff)
downloadisc-dhcp-2727c1cf8ffc0a34ea7059d36c30691e64cf8a46.tar.gz
- lcase() and ucase() configuration expressions have been added which adjust
their arguments from upper to lower and lower to upper cases respectively. [ISC-Bugs #1597]
Diffstat (limited to 'includes/tree.h')
-rw-r--r--includes/tree.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/tree.h b/includes/tree.h
index 64f43977..b12bc9ec 100644
--- a/includes/tree.h
+++ b/includes/tree.h
@@ -190,13 +190,15 @@ enum expr_op {
expr_binary_and,
expr_binary_or,
expr_binary_xor,
- expr_client_state
+ expr_client_state,
+ expr_ucase,
+ expr_lcase
};
struct expression {
int refcnt;
enum expr_op op;
- union {
+ union expr_union {
struct {
struct expression *expr;
struct expression *offset;
@@ -216,6 +218,8 @@ struct expression {
struct expression *expr;
struct expression *len;
} suffix;
+ struct expression *lcase;
+ struct expression *ucase;
struct option *option;
struct option *config_option;
struct {