diff options
Diffstat (limited to 'epan/dfilter/sttype-test.h')
-rw-r--r-- | epan/dfilter/sttype-test.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/epan/dfilter/sttype-test.h b/epan/dfilter/sttype-test.h new file mode 100644 index 0000000000..69765df9e3 --- /dev/null +++ b/epan/dfilter/sttype-test.h @@ -0,0 +1,30 @@ +#ifndef STTYPE_TEST_H +#define STTYPE_TEST_H + +typedef enum { + TEST_OP_UNINITIALIZED, + TEST_OP_EXISTS, + TEST_OP_NOT, + TEST_OP_AND, + TEST_OP_OR, + TEST_OP_EQ, + TEST_OP_NE, + TEST_OP_GT, + TEST_OP_GE, + TEST_OP_LT, + TEST_OP_LE +} test_op_t; + +void +sttype_test_set1(stnode_t *node, test_op_t op, stnode_t *val1); + +void +sttype_test_set2(stnode_t *node, test_op_t op, stnode_t *val1, stnode_t *val2); + +void +sttype_test_set2_args(stnode_t *node, stnode_t *val1, stnode_t *val2); + +void +sttype_test_get(stnode_t *node, test_op_t *p_op, stnode_t **p_val1, stnode_t **p_val2); + +#endif |