Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
sttype-test.h
1 /*
2  * Wireshark - Network traffic analyzer
3  * By Gerald Combs <gerald@wireshark.org>
4  * Copyright 2001 Gerald Combs
5  *
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9 
10 #ifndef STTYPE_TEST_H
11 #define STTYPE_TEST_H
12 
13 typedef enum {
14  TEST_OP_UNINITIALIZED,
15  TEST_OP_EXISTS,
16  TEST_OP_NOT,
17  TEST_OP_AND,
18  TEST_OP_OR,
19  TEST_OP_EQ,
20  TEST_OP_NE,
21  TEST_OP_GT,
22  TEST_OP_GE,
23  TEST_OP_LT,
24  TEST_OP_LE,
25  TEST_OP_BITWISE_AND,
26  TEST_OP_CONTAINS,
27  TEST_OP_MATCHES,
28  TEST_OP_IN
29 } test_op_t;
30 
31 void
32 sttype_test_set1(stnode_t *node, test_op_t op, stnode_t *val1);
33 
34 void
35 sttype_test_set2(stnode_t *node, test_op_t op, stnode_t *val1, stnode_t *val2);
36 
37 void
38 sttype_test_set2_args(stnode_t *node, stnode_t *val1, stnode_t *val2);
39 
40 void
41 sttype_test_get(stnode_t *node, test_op_t *p_op, stnode_t **p_val1, stnode_t **p_val2);
42 
43 #endif
Definition: syntax-tree.h:48