Wireshark  4.3.0
The Wireshark network protocol analyzer
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
18 extern "C" {
19 #endif /* __cplusplus */
20 
21 WS_DLL_PUBLIC
23 sttype_field_hfinfo(stnode_t *node);
24 
25 ftenum_t
26 sttype_field_ftenum(stnode_t *node);
27 
28 drange_t *
29 sttype_field_drange(stnode_t *node);
30 
31 drange_t *
32 sttype_field_drange_steal(stnode_t *node);
33 
34 bool
35 sttype_field_raw(stnode_t *node);
36 
37 bool
38 sttype_field_value_string(stnode_t *node);
39 
40 /* Set a range */
41 void
42 sttype_field_set_range(stnode_t *node, GSList* drange_list);
43 
44 void
45 sttype_field_set_range1(stnode_t *node, drange_node *rn);
46 
47 void
48 sttype_field_set_drange(stnode_t *node, drange_t *dr);
49 
50 void
51 sttype_field_set_raw(stnode_t *node, bool raw);
52 
53 void
54 sttype_field_set_value_string(stnode_t *node, bool is_vs);
55 
56 char *
57 sttype_field_set_number(stnode_t *node, const char *number_str);
58 
59 /* Clear the 'drange' variable to remove responsibility for
60  * freeing it. */
61 void
62 sttype_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:769
Definition: syntax-tree.h:79