wireshark/epan/dfilter/sttype-op.h

42 lines
845 B
C

/** @file
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 2001 Gerald Combs
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef STTYPE_TEST_H
#define STTYPE_TEST_H
void
sttype_oper_set1(stnode_t *node, stnode_op_t op, stnode_t *val1);
void
sttype_oper_set2(stnode_t *node, stnode_op_t op, stnode_t *val1, stnode_t *val2);
void
sttype_oper_set1_args(stnode_t *node, stnode_t *val1);
void
sttype_oper_set2_args(stnode_t *node, stnode_t *val1, stnode_t *val2);
void
sttype_oper_set_op(stnode_t *node, stnode_op_t op);
stnode_op_t
sttype_oper_get_op(stnode_t *node);
void
sttype_oper_get(stnode_t *node, stnode_op_t *p_op, stnode_t **p_val1, stnode_t **p_val2);
void
sttype_test_set_match(stnode_t *node, stmatch_t how);
stmatch_t
sttype_test_get_match(stnode_t *node);
#endif