tests: add regression tests for Follow TCP Stream
[metze/wireshark/wip.git] / ui / packet_list_utils.h
1 /* packet_list_utils.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9
10 #ifndef __PACKET_LIST_UTILS_H__
11 #define __PACKET_LIST_UTILS_H__
12
13 #include "cfile.h"
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif /* __cplusplus */
18
19 /**
20  * Check to see if a column should be right justified.
21  *
22  * @param [in] col The column number.
23  * @param [in] cf The capture file containing the packet data.
24  *
25  * @return TRUE if the column should be right justified, FALSE otherwise.
26  */
27 gboolean right_justify_column (gint col, capture_file *cf);
28
29 /**
30  * Check to see if a column's data should be resolved.
31  *
32  * @param [in] col The column number.
33  * @param [in] cf The capture file containing the packet data.
34  *
35  * @return TRUE if resolution is required, FALSE otherwise.
36  */
37 gboolean resolve_column (gint col, capture_file *cf);
38
39 #ifdef __cplusplus
40 }
41 #endif /* __cplusplus */
42
43 #endif /* __PACKET_LIST_UTILS_H__ */
44
45 /*
46  * Editor modelines
47  *
48  * Local Variables:
49  * c-basic-offset: 4
50  * tab-width: 8
51  * indent-tabs-mode: nil
52  * End:
53  *
54  * ex: set shiftwidth=4 tabstop=8 expandtab:
55  * :indentSize=4:tabSize=8:noTabs=true:
56  */