Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
sttype-field.h
Go to the documentation of this file.
1
11#ifndef STTYPE_FIELD_H
12#define STTYPE_FIELD_H
13
14#include "dfilter-int.h"
15#include "drange.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif /* __cplusplus */
20
21WS_DLL_PUBLIC
23sttype_field_hfinfo(stnode_t *node);
24
25ftenum_t
26sttype_field_ftenum(stnode_t *node);
27
29sttype_field_drange(stnode_t *node);
30
32sttype_field_drange_steal(stnode_t *node);
33
34bool
35sttype_field_raw(stnode_t *node);
36
37bool
38sttype_field_value_string(stnode_t *node);
39
40/* Set a range */
41void
42sttype_field_set_range(stnode_t *node, GSList* drange_list);
43
44void
45sttype_field_set_range1(stnode_t *node, drange_node *rn);
46
47void
48sttype_field_set_drange(stnode_t *node, drange_t *dr);
49
50void
51sttype_field_set_raw(stnode_t *node, bool raw);
52
53void
54sttype_field_set_value_string(stnode_t *node, bool is_vs);
55
56char *
57sttype_field_set_number(stnode_t *node, const char *number_str);
58
59/* Clear the 'drange' variable to remove responsibility for
60 * freeing it. */
61void
62sttype_field_remove_drange(stnode_t *node);
63
64#ifdef __cplusplus
65}
66#endif /* __cplusplus */
67
68#endif /* STTYPE_FIELD_H */
Definition drange.h:33
Definition drange.h:40
Definition proto.h:764
Definition syntax-tree.h:78