Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Functions
failure_message_simple.h File Reference

Go to the source code of this file.

Functions

void failure_message_simple (const char *msg_format, va_list ap)
 
void open_failure_message_simple (const char *filename, int err, bool for_writing)
 
void read_failure_message_simple (const char *filename, int err)
 
void write_failure_message_simple (const char *filename, int err)
 
void rename_failure_message_simple (const char *old_filename, const char *new_filename, int err)
 
void cfile_open_failure_message_simple (const char *filename, int err, char *err_info)
 
void cfile_dump_open_failure_message_simple (const char *filename, int err, char *err_info, int file_type_subtype _U_)
 
void cfile_read_failure_message_simple (const char *filename, int err, char *err_info)
 
void cfile_write_failure_message_simple (const char *in_filename, const char *out_filename, int err, char *err_info, uint64_t framenum, int file_type_subtype _U_)
 
void cfile_close_failure_message_simple (const char *filename, int err, char *err_info)
 
void init_report_failure_message_simple (const char *friendly_program_name)
 

Detailed Description

Routines to print various "standard" failure messages used in multiple places.

This is a "simple" version that does not link with libwiretap and interpret the WTAP_ERR_ or WTAP_FILE_TYPE_SUBTYPE_ values that are parameters to the capture file routines (cfile_*). It is for use in dumpcap, which does not link with libwiretap or libui. The libwiretap-related routines should not be called from dumpcap, but a rudimentary implementation is provided since wsutil/report_message expects them.

Console programs that do link against libwiretap should include ui/failure_message.h instead.

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

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