2 * Common file dialog definitions
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 2006 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later*/
10 #ifndef __FILE_DIALOG_H__
11 #define __FILE_DIALOG_H__
15 #endif /* __cplusplus */
19 SAVE_WITHOUT_COMMENTS,
20 SAVE_IN_ANOTHER_FORMAT,
35 gboolean have_times; /* TRUE if we have start and stop times */
36 double start_time; /* seconds, with nsec resolution */
37 double stop_time; /* seconds, with nsec resolution */
38 guint32 records; /* total number of records */
39 guint32 data_records; /* number of data records */
40 } ws_file_preview_stats;
46 } ws_file_preview_stats_status;
48 extern ws_file_preview_stats_status
49 get_stats_for_preview(wtap *wth, ws_file_preview_stats *stats,
50 int *err, gchar **err_info);
54 #endif /* __cplusplus */
56 #endif /* __FILE_DIALOG_H__ */
64 * indent-tabs-mode: nil
67 * ex: set shiftwidth=4 tabstop=8 expandtab:
68 * :indentSize=4:tabSize=8:noTabs=true: