OFP  1.0
Option and Flag Parser
error.h
Go to the documentation of this file.
1 
9 #ifndef OFP_ERROR_H
10 #define OFP_ERROR_H
11 
12 
13 /* OFP headers */
14 #include "argument.h"
15 
16 
17 enum ofp_errorcode_e OFP_ENUMTYPE
18 {
20 
21  /* argument */
24 
25  /*
26  *
27  * Fatal Error
28  *
29  */
30 
36 };
37 
38 
40 {
41  ofp_errorcode ec;
42  ofp_argument *arg;
43 };
44 
45 
46 #endif /* OFP_ERROR_H */
Argument manipulation.
OFP_ERR_ARG_REQ
argument required
Definition: error.h:22
OFP_ERR_NONE
no error
Definition: error.h:19
OFP_FERR_NAL_MAX
non-argument array reached its limit
Definition: error.h:34
OFP_FERR_UL_MAX
unknown argument array reached its limit
Definition: error.h:33
OFP_FERR_AL_MAX
argument array reached its limit
Definition: error.h:32
OFP_FERR_ERR_MAX
error stack reached its limit
Definition: error.h:31
OFP_ERR_ARG_NOVAL
argument has no value
Definition: error.h:23
OFP_FERR_MEM_OUT
out of memory
Definition: error.h:35
Definition: error.h:40
ofp_errorcode ec
error code
Definition: error.h:41
ofp_argument * arg
argument
Definition: error.h:42