71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
typedef enum kcli_cond {
kcli_cond_ok = kcli_cond_id,
kcli_cond_extra /* parse succeded, but arguments or
flags were left over */,
kcli_cond_fail /* unspecified error */,
kcli_cond_parse /* bad syntax, parse failed */,
kcli_cond_overlong /* a string in the configuration structures is longer than allowed */,
} kcli_cond;
typedef enum kcli_flag {
kcli_flag_off = 0,
kcli_flag_on = 1,
} kcli_flag;
|
|
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
typedef enum kcli_cond {
kcli_cond_ok = kcli_cond_id,
kcli_cond_extra /* parse succeded, but arguments or
flags were left over */,
kcli_cond_fail /* unspecified error */,
kcli_cond_parse /* bad syntax, parse failed */,
kcli_cond_spec /* the configuration structure is invalid */,
kcli_cond_overlong /* a string in the configuration structures is longer than allowed */,
} kcli_cond;
typedef enum kcli_flag {
kcli_flag_off = 0,
kcli_flag_on = 1,
} kcli_flag;
|