3 * Common file dialog definitions
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 2006 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __FILE_DIALOG_H__
13 #define __FILE_DIALOG_H__
17 #endif /* __cplusplus */
21 SAVE_WITHOUT_COMMENTS
,
22 SAVE_IN_ANOTHER_FORMAT
,
37 bool have_times
; /* true if we have start and stop times */
38 double start_time
; /* seconds, with nsec resolution */
39 double stop_time
; /* seconds, with nsec resolution */
40 uint32_t records
; /* total number of records */
41 uint32_t data_records
; /* number of data records */
42 } ws_file_preview_stats
;
48 } ws_file_preview_stats_status
;
50 extern ws_file_preview_stats_status
51 get_stats_for_preview(wtap
*wth
, ws_file_preview_stats
*stats
,
52 int *err
, char **err_info
);
56 #endif /* __cplusplus */
58 #endif /* __FILE_DIALOG_H__ */