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 
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 manipulation.
Error handling.
OFP Environment.
Definition: state.h:23
ofp_argument * udal
UDA List (UDAL)
Definition: state.h:39
ofp_uint maxuda
maximum UDA count
Definition: state.h:25
char ** uuial
Unknown UIA List (UUIAL)
Definition: state.h:40
int nac
NA count.
Definition: state.h:37
jmp_buf ferrbuf
fatal error jmp_buf
Definition: state.h:44
char p
argument prefix
Definition: state.h:24
ofp_uint errtop
error stack top
Definition: state.h:34
int uuiac
UUIA count.
Definition: state.h:36
ofp_uint uuialt
UUIAL top.
Definition: state.h:32
ofp_error * err
error stack
Definition: state.h:42
ofp_errorcode ferr
fatal error code
Definition: state.h:45
int argc
UIA count.
Definition: state.h:28
ofp_argument_priority prty
parsing priority
Definition: state.h:26
ofp_uint udalt
UDAL top.
Definition: state.h:31
char ** nal
Non-Argument List (NAL)
Definition: state.h:41
char ** argv
UIA values.
Definition: state.h:29
ofp_uint nalt
NAL top.
Definition: state.h:33