Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
cmdarg_err.h
Go to the documentation of this file.
1
12#ifndef __CMDARG_ERR_H__
13#define __CMDARG_ERR_H__
14
15#include <wireshark.h>
16#include <stdarg.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif /* __cplusplus */
21
35WS_DLL_PUBLIC void
36cmdarg_err_init(void (*err)(const char *, va_list),
37 void (*err_cont)(const char *, va_list));
38
39
49WS_DLL_PUBLIC void
50vcmdarg_err(const char *fmt, va_list ap)
51 G_GNUC_PRINTF(1, 0);
52
62WS_DLL_PUBLIC void
63cmdarg_err(const char *fmt, ...)
64 G_GNUC_PRINTF(1, 2);
65
75WS_DLL_PUBLIC void
76cmdarg_err_cont(const char *fmt, ...)
77 G_GNUC_PRINTF(1, 2);
78
89WS_DLL_PUBLIC void
90stderr_cmdarg_err(const char *msg_format, va_list ap);
91
102WS_DLL_PUBLIC void
103stderr_cmdarg_err_cont(const char *msg_format, va_list ap);
104
105#ifdef __cplusplus
106}
107#endif /* __cplusplus */
108
109#endif /* __CMDARG_ERR_H__ */
WS_DLL_PUBLIC void stderr_cmdarg_err_cont(const char *msg_format, va_list ap)
Print additional context for a command-line error to standard error.
Definition cmdarg_err.c:73
WS_DLL_PUBLIC void WS_DLL_PUBLIC void WS_DLL_PUBLIC void WS_DLL_PUBLIC void stderr_cmdarg_err(const char *msg_format, va_list ap)
Print a formatted command-line error message to standard error.
Definition cmdarg_err.c:65
WS_DLL_PUBLIC void cmdarg_err_init(void(*err)(const char *, va_list), void(*err_cont)(const char *, va_list))
Initialize error reporting callbacks for command-line argument handling.
Definition cmdarg_err.c:22
WS_DLL_PUBLIC void vcmdarg_err(const char *fmt, va_list ap) G_GNUC_PRINTF(1
Report an error in command-line arguments.
WS_DLL_PUBLIC void WS_DLL_PUBLIC void WS_DLL_PUBLIC void cmdarg_err_cont(const char *fmt,...) G_GNUC_PRINTF(1
Report additional information for an error in command-line arguments.
WS_DLL_PUBLIC void WS_DLL_PUBLIC void cmdarg_err(const char *fmt,...) G_GNUC_PRINTF(1
Report an error in command-line arguments.