Qt: About dialog updates.
[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  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
20  * USA.
21  */
22
23 #ifndef __PACKET_LIST_UTILS_H__
24 #define __PACKET_LIST_UTILS_H__
25
26 #include "cfile.h"
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif /* __cplusplus */
31
32 /**
33  * Check to see if a column should be right justified.
34  *
35  * @param [in] col The column number.
36  * @param [in] cf The capture file containing the packet data.
37  *
38  * @return TRUE if the column should be right justified, FALSE otherwise.
39  */
40 gboolean right_justify_column (gint col, capture_file *cf);
41
42 /**
43  * Check to see if a column's data should be resolved.
44  *
45  * @param [in] col The column number.
46  * @param [in] cf The capture file containing the packet data.
47  *
48  * @return TRUE if resolution is required, FALSE otherwise.
49  */
50 gboolean resolve_column (gint col, capture_file *cf);
51
52 #ifdef __cplusplus
53 }
54 #endif /* __cplusplus */
55
56 #endif /* __PACKET_LIST_UTILS_H__ */
57
58 /*
59  * Editor modelines
60  *
61  * Local Variables:
62  * c-basic-offset: 4
63  * tab-width: 8
64  * indent-tabs-mode: nil
65  * End:
66  *
67  * ex: set shiftwidth=4 tabstop=8 expandtab:
68  * :indentSize=4:tabSize=8:noTabs=true:
69  */