Wireshark
4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
wsutil
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
19
extern
"C"
{
20
#endif
/* __cplusplus */
21
22
/*
23
* Set the reporting functions for error messages.
24
*/
25
WS_DLL_PUBLIC
void
26
cmdarg_err_init(
void
(*err)(
const
char
*, va_list),
27
void
(*err_cont)(
const
char
*, va_list));
28
29
/*
30
* Report an error in command-line arguments.
31
*/
32
WS_DLL_PUBLIC
void
33
vcmdarg_err(
const
char
*fmt, va_list ap)
34
G_GNUC_PRINTF(1, 0);
35
36
WS_DLL_PUBLIC
void
37
cmdarg_err(
const
char
*fmt, ...)
38
G_GNUC_PRINTF(1, 2);
39
40
/*
41
* Report additional information for an error in command-line arguments.
42
*/
43
WS_DLL_PUBLIC
void
44
cmdarg_err_cont(const
char
*fmt, ...)
45
G_GNUC_PRINTF(1, 2);
46
47
#ifdef __cplusplus
48
}
49
#endif
/* __cplusplus */
50
51
#endif
/* __CMDARG_ERR_H__ */
Generated by
1.9.8