| 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
17 extern "C" {
18#endif /* __cplusplus */
19
27 void
28 sttype_oper_set1(stnode_t *node, stnode_op_t op, stnode_t *val1);
29
38 void
39 sttype_oper_set2(stnode_t *node, stnode_op_t op, stnode_t *val1, stnode_t *val2);
40
47 void
48 sttype_oper_set1_args(stnode_t *node, stnode_t *val1);
49
57 void
58 sttype_oper_set2_args(stnode_t *node, stnode_t *val1, stnode_t *val2);
59
66 void
67 sttype_oper_set_op(stnode_t *node, stnode_op_t op);
68
75stnode_op_t
76 sttype_oper_get_op(stnode_t *node);
77
86WS_DLL_PUBLIC
87 void
88 sttype_oper_get(stnode_t *node, stnode_op_t *p_op, stnode_t **p_val1, stnode_t **p_val2);
89
96 void
97 sttype_test_set_match(stnode_t *node, stmatch_t how);
98
105stmatch_t
106 sttype_test_get_match(stnode_t *node);
107
108#ifdef __cplusplus
109}
110#endif /* __cplusplus */
111
112#endif /* STTYPE_TEST_H */
stnode
Definition syntax-tree.h:78
sttype_oper_get
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
sttype_oper_set1_args
void sttype_oper_set1_args(stnode_t *node, stnode_t *val1)
Set the first argument for an operator node.
Definition sttype-op.c:231
sttype_oper_set2_args
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
sttype_oper_set_op
void sttype_oper_set_op(stnode_t *node, stnode_op_t op)
Set the operator for a given node.
Definition sttype-op.c:257
sttype_test_set_match
void sttype_test_set_match(stnode_t *node, stmatch_t how)
Set the matching behavior for a node.
Definition sttype-op.c:288
sttype_oper_set2
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
sttype_test_get_match
stmatch_t sttype_test_get_match(stnode_t *node)
Retrieves the match type for a given operation node.
Definition sttype-op.c:296
sttype_oper_set1
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
sttype_oper_get_op
stnode_op_t sttype_oper_get_op(stnode_t *node)
Get the operation type from a stnode_t.
Definition sttype-op.c:266
syntax-tree.h