Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
sttype-op.h
Go to the documentation of this file.
1
11#ifndef STTYPE_TEST_H
12#define STTYPE_TEST_H
13
14#include "syntax-tree.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
27void
29
38void
40
47void
49
57void
59
66void
68
77
86WS_DLL_PUBLIC
87void
88sttype_oper_get(stnode_t *node, stnode_op_t *p_op, stnode_t **p_val1, stnode_t **p_val2);
89
96void
98
107
108#ifdef __cplusplus
109}
110#endif /* __cplusplus */
111
112#endif /* STTYPE_TEST_H */
A single node instance in the display filter syntax tree.
Definition syntax-tree.h:115
WS_DLL_PUBLIC void sttype_oper_get(stnode_t *node, stnode_op_t *p_op, stnode_t **p_val1, stnode_t **p_val2)
Retrieves the operation and values from a stnode_t.
Definition sttype-op.c:274
void sttype_oper_set1_args(stnode_t *node, stnode_t *val1)
Set the first argument for an operator node.
Definition sttype-op.c:231
void sttype_oper_set2_args(stnode_t *node, stnode_t *val1, stnode_t *val2)
Set two arguments for an operator node.
Definition sttype-op.c:244
void sttype_oper_set_op(stnode_t *node, stnode_op_t op)
Set the operator for a given node.
Definition sttype-op.c:257
void sttype_test_set_match(stnode_t *node, stmatch_t how)
Set the matching behavior for a node.
Definition sttype-op.c:288
void sttype_oper_set2(stnode_t *node, stnode_op_t op, stnode_t *val1, stnode_t *val2)
Set a binary operation on a node.
Definition sttype-op.c:219
stmatch_t sttype_test_get_match(stnode_t *node)
Retrieves the match type for a given operation node.
Definition sttype-op.c:296
void sttype_oper_set1(stnode_t *node, stnode_op_t op, stnode_t *val1)
Set a unary operation on a node.
Definition sttype-op.c:207
stnode_op_t sttype_oper_get_op(stnode_t *node)
Get the operation type from a stnode_t.
Definition sttype-op.c:266
stmatch_t
Quantifier controlling how many field values must satisfy a match condition.
Definition syntax-tree.h:159
stnode_op_t
Operator types for test and arithmetic syntax tree nodes.
Definition syntax-tree.h:129