Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
file_dialog.h File Reference

Go to the source code of this file.

Classes

struct  ws_file_preview_stats
 

Enumerations

enum  check_savability_t { SAVE , SAVE_WITHOUT_COMMENTS , SAVE_IN_ANOTHER_FORMAT , CANCELLED }
 
enum  export_type_e {
  export_type_text = 1 , export_type_ps , export_type_csv , export_type_psml ,
  export_type_pdml , export_type_carrays , export_type_json
}
 
enum  ws_file_preview_stats_status { PREVIEW_SUCCEEDED , PREVIEW_TIMED_OUT , PREVIEW_READ_ERROR }
 

Functions

ws_file_preview_stats_status get_stats_for_preview (wtap *wth, ws_file_preview_stats *stats, int *err, char **err_info)
 Retrieves statistics for file preview.
 

Detailed Description

Common file dialog definitions

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 2006 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

Function Documentation

◆ get_stats_for_preview()

ws_file_preview_stats_status get_stats_for_preview ( wtap wth,
ws_file_preview_stats stats,
int *  err,
char **  err_info 
)
extern

Retrieves statistics for file preview.

Parameters
wthPointer to the wtap structure representing the capture file.
statsPointer to the ws_file_preview_stats structure where the statistics will be stored.
errPointer to an integer that will hold any error code if an error occurs.
err_infoPointer to a char pointer that will hold any error information if an error occurs.