Wireshark 4.7.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
27WS_DLL_PUBLIC
30
39
48
57
64bool
66
73bool
75
76/* Set a range */
77
84void
85sttype_field_set_range(stnode_t *node, GSList* drange_list);
86
93void
95
102void
104
111void
112sttype_field_set_raw(stnode_t *node, bool raw);
113
120void
121sttype_field_set_value_string(stnode_t *node, bool is_vs);
122
129char *
130sttype_field_set_number(stnode_t *node, const char *number_str);
131
132/* Clear the 'drange' variable to remove responsibility for
133 * freeing it. */
139void
141
142#ifdef __cplusplus
143}
144#endif /* __cplusplus */
145
146#endif /* STTYPE_FIELD_H */
enum ftenum ftenum_t
Convenience typedef for ftenum.
Definition ftypes.h:190
A single contiguous slice within a display filter range expression.
Definition drange.h:40
A display filter range composed of one or more drange_node slices.
Definition drange.h:51
Definition proto.h:768
A single node instance in the display filter syntax tree.
Definition syntax-tree.h:115
void sttype_field_set_range(stnode_t *node, GSList *drange_list)
Set a range for a field node.
Definition sttype-field.c:174
void sttype_field_remove_drange(stnode_t *node)
Remove a range from a field node.
char * sttype_field_set_number(stnode_t *node, const char *number_str)
Set the number value for a field node.
Definition sttype-field.c:217
drange_t * sttype_field_drange_steal(stnode_t *node)
Steal the drange from a stnode_t.
Definition sttype-field.c:160
void sttype_field_set_value_string(stnode_t *node, bool is_vs)
Set the value string for a field node.
Definition sttype-field.c:209
drange_t * sttype_field_drange(stnode_t *node)
Retrieves the drange_t for a given stnode.
Definition sttype-field.c:136
WS_DLL_PUBLIC header_field_info * sttype_field_hfinfo(stnode_t *node)
Retrieves the hfinfo for a given stnode.
Definition sttype-field.c:115
bool sttype_field_value_string(stnode_t *node)
Get the value string of a field node.
Definition sttype-field.c:152
void sttype_field_set_drange(stnode_t *node, drange_t *dr)
Set the range for a field node.
Definition sttype-field.c:192
bool sttype_field_raw(stnode_t *node)
Check if a field is in raw format.
Definition sttype-field.c:144
void sttype_field_set_raw(stnode_t *node, bool raw)
Set whether a field is in raw mode.
Definition sttype-field.c:201
ftenum_t sttype_field_ftenum(stnode_t *node)
Retrieves the ftenum_t for a given stnode.
Definition sttype-field.c:123
void sttype_field_set_range1(stnode_t *node, drange_node *rn)
Set a range for a field node.
Definition sttype-field.c:183