Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
wsutil
ws_getopt.h
Go to the documentation of this file.
1
29
#ifndef _WS_GETOPT_H_
30
#define _WS_GETOPT_H_
31
32
#include <ws_symbol_export.h>
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
38
WS_DLL_PUBLIC
int
ws_getopt(
int
,
char
*
const
[],
const
char
*);
39
WS_DLL_PUBLIC
char
*ws_optarg;
40
WS_DLL_PUBLIC
int
ws_optind, ws_opterr, ws_optopt, ws_optpos, ws_optreset;
41
42
struct
ws_option
{
43
const
char
*name;
44
int
has_arg;
45
int
*flag;
46
int
val;
47
};
48
49
WS_DLL_PUBLIC
int
ws_getopt_long(
int
,
char
*
const
*,
const
char
*,
const
struct
ws_option
*,
int
*);
50
WS_DLL_PUBLIC
int
ws_getopt_long_only(
int
,
char
*
const
*,
const
char
*,
const
struct
ws_option
*,
int
*);
51
52
#define ws_no_argument 0
53
#define ws_required_argument 1
54
#define ws_optional_argument 2
55
56
#ifdef __cplusplus
57
}
58
#endif
59
60
#endif
ws_option
Definition
pcapio.c:156
Generated by
1.9.8