|
@@ -827,15 +827,15 @@ enum tep_filter_value_type {
|
|
|
|
|
|
struct tep_filter_arg;
|
|
struct tep_filter_arg;
|
|
|
|
|
|
-struct filter_arg_boolean {
|
|
|
|
|
|
+struct tep_filter_arg_boolean {
|
|
enum tep_filter_boolean_type value;
|
|
enum tep_filter_boolean_type value;
|
|
};
|
|
};
|
|
|
|
|
|
-struct filter_arg_field {
|
|
|
|
- struct tep_format_field *field;
|
|
|
|
|
|
+struct tep_filter_arg_field {
|
|
|
|
+ struct tep_format_field *field;
|
|
};
|
|
};
|
|
|
|
|
|
-struct filter_arg_value {
|
|
|
|
|
|
+struct tep_filter_arg_value {
|
|
enum tep_filter_value_type type;
|
|
enum tep_filter_value_type type;
|
|
union {
|
|
union {
|
|
char *str;
|
|
char *str;
|
|
@@ -843,42 +843,42 @@ struct filter_arg_value {
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
-struct filter_arg_op {
|
|
|
|
- enum tep_filter_op_type type;
|
|
|
|
- struct tep_filter_arg *left;
|
|
|
|
- struct tep_filter_arg *right;
|
|
|
|
|
|
+struct tep_filter_arg_op {
|
|
|
|
+ enum tep_filter_op_type type;
|
|
|
|
+ struct tep_filter_arg *left;
|
|
|
|
+ struct tep_filter_arg *right;
|
|
};
|
|
};
|
|
|
|
|
|
-struct filter_arg_exp {
|
|
|
|
|
|
+struct tep_filter_arg_exp {
|
|
enum tep_filter_exp_type type;
|
|
enum tep_filter_exp_type type;
|
|
struct tep_filter_arg *left;
|
|
struct tep_filter_arg *left;
|
|
struct tep_filter_arg *right;
|
|
struct tep_filter_arg *right;
|
|
};
|
|
};
|
|
|
|
|
|
-struct filter_arg_num {
|
|
|
|
|
|
+struct tep_filter_arg_num {
|
|
enum tep_filter_cmp_type type;
|
|
enum tep_filter_cmp_type type;
|
|
- struct tep_filter_arg *left;
|
|
|
|
- struct tep_filter_arg *right;
|
|
|
|
|
|
+ struct tep_filter_arg *left;
|
|
|
|
+ struct tep_filter_arg *right;
|
|
};
|
|
};
|
|
|
|
|
|
-struct filter_arg_str {
|
|
|
|
|
|
+struct tep_filter_arg_str {
|
|
enum tep_filter_cmp_type type;
|
|
enum tep_filter_cmp_type type;
|
|
- struct tep_format_field *field;
|
|
|
|
- char *val;
|
|
|
|
- char *buffer;
|
|
|
|
- regex_t reg;
|
|
|
|
|
|
+ struct tep_format_field *field;
|
|
|
|
+ char *val;
|
|
|
|
+ char *buffer;
|
|
|
|
+ regex_t reg;
|
|
};
|
|
};
|
|
|
|
|
|
struct tep_filter_arg {
|
|
struct tep_filter_arg {
|
|
enum tep_filter_arg_type type;
|
|
enum tep_filter_arg_type type;
|
|
union {
|
|
union {
|
|
- struct filter_arg_boolean boolean;
|
|
|
|
- struct filter_arg_field field;
|
|
|
|
- struct filter_arg_value value;
|
|
|
|
- struct filter_arg_op op;
|
|
|
|
- struct filter_arg_exp exp;
|
|
|
|
- struct filter_arg_num num;
|
|
|
|
- struct filter_arg_str str;
|
|
|
|
|
|
+ struct tep_filter_arg_boolean boolean;
|
|
|
|
+ struct tep_filter_arg_field field;
|
|
|
|
+ struct tep_filter_arg_value value;
|
|
|
|
+ struct tep_filter_arg_op op;
|
|
|
|
+ struct tep_filter_arg_exp exp;
|
|
|
|
+ struct tep_filter_arg_num num;
|
|
|
|
+ struct tep_filter_arg_str str;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|