Witness: enum witness_notifyResponse_type
[wireshark-wip.git] / ui / packet_list_utils.h
blob866ff70d8a97f35425083730a95566ba721e6fe4
1 /* packet_list_utils.h
3 * $Id$
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
22 * USA.
25 #ifndef __PACKET_LIST_UTILS_H__
26 #define __PACKET_LIST_UTILS_H__
28 #include "cfile.h"
30 #ifdef __cplusplus
31 extern "C" {
32 #endif /* __cplusplus */
34 /**
35 * Check to see if a column should be right justified.
37 * @param [IN]col The column number.
38 * @param [IN]cf The capture file containing the packet data.
40 * @return TRUE if the column should be right justified, FALSE otherwise.
42 gboolean right_justify_column (gint col, capture_file *cf);
44 /**
45 * Check to see if a column's data should be resolved.
47 * @param [IN]col The column number.
48 * @param [IN]cf The capture file containing the packet data.
50 * @return TRUE if resolution is required, FALSE otherwise.
52 gboolean resolve_column (gint col, capture_file *cf);
54 #ifdef __cplusplus
56 #endif /* __cplusplus */
58 #endif /* __PACKET_LIST_UTILS_H__ */
61 * Editor modelines
63 * Local Variables:
64 * c-basic-offset: 4
65 * tab-width: 8
66 * indent-tabs-mode: nil
67 * End:
69 * ex: set shiftwidth=4 tabstop=8 expandtab:
70 * :indentSize=4:tabSize=8:noTabs=true: