OFP
1.0
Option and Flag Parser
state.h
Go to the documentation of this file.
1
9
#ifndef OFP_STATE_H
10
#define OFP_STATE_H
11
12
13
/* OFP headers */
14
#include "
ofp.h
"
15
#include "
error.h
"
16
#include "
argument.h
"
17
18
/* C headers */
19
#include <setjmp.h>
20
21
22
struct
ofp_state_s
23
{
24
char
p
;
25
ofp_uint
maxuda
;
26
ofp_argument_priority
prty
;
27
28
int
argc
;
29
char
**
argv
;
30
31
ofp_uint
udalt
;
32
ofp_uint
uuialt
;
33
ofp_uint
nalt
;
34
ofp_uint
errtop
;
35
36
int
uuiac
;
37
int
nac
;
38
39
ofp_argument *
udal
;
40
char
**
uuial
;
41
char
**
nal
;
42
ofp_error *
err
;
43
44
jmp_buf
ferrbuf
;
45
ofp_errorcode
ferr
;
46
};
47
48
49
#endif
/* OFP_STATE_H */
argument.h
Argument manipulation.
error.h
Error handling.
ofp.h
OFP Environment.
ofp_state_s
Definition:
state.h:23
ofp_state_s::udal
ofp_argument * udal
UDA List (UDAL)
Definition:
state.h:39
ofp_state_s::maxuda
ofp_uint maxuda
maximum UDA count
Definition:
state.h:25
ofp_state_s::uuial
char ** uuial
Unknown UIA List (UUIAL)
Definition:
state.h:40
ofp_state_s::nac
int nac
NA count.
Definition:
state.h:37
ofp_state_s::ferrbuf
jmp_buf ferrbuf
fatal error jmp_buf
Definition:
state.h:44
ofp_state_s::p
char p
argument prefix
Definition:
state.h:24
ofp_state_s::errtop
ofp_uint errtop
error stack top
Definition:
state.h:34
ofp_state_s::uuiac
int uuiac
UUIA count.
Definition:
state.h:36
ofp_state_s::uuialt
ofp_uint uuialt
UUIAL top.
Definition:
state.h:32
ofp_state_s::err
ofp_error * err
error stack
Definition:
state.h:42
ofp_state_s::ferr
ofp_errorcode ferr
fatal error code
Definition:
state.h:45
ofp_state_s::argc
int argc
UIA count.
Definition:
state.h:28
ofp_state_s::prty
ofp_argument_priority prty
parsing priority
Definition:
state.h:26
ofp_state_s::udalt
ofp_uint udalt
UDAL top.
Definition:
state.h:31
ofp_state_s::nal
char ** nal
Non-Argument List (NAL)
Definition:
state.h:41
ofp_state_s::argv
char ** argv
UIA values.
Definition:
state.h:29
ofp_state_s::nalt
ofp_uint nalt
NAL top.
Definition:
state.h:33
state.h
Generated by
1.9.1