12 #ifndef __PTPMGMT_C_OPT_H
13 #define __PTPMGMT_C_OPT_H
struct ptpmgmt_opt_t * ptpmgmt_opt
Definition: opt.h:41
ptpmgmt_opt_loop_val
Definition: opt.h:22
@ PTPMGMT_OPT_HELP
Definition: opt.h:25
@ PTPMGMT_OPT_ERR
Definition: opt.h:23
@ PTPMGMT_OPT_DONE
Definition: opt.h:26
@ PTPMGMT_OPT_MSG
Definition: opt.h:24
ptpmgmt_opt ptpmgmt_opt_alloc_empty()
ptpmgmt_opt ptpmgmt_opt_alloc()
const struct ptpmgmt_opt_t * const_ptpmgmt_opt
Definition: opt.h:44
const char * help_msg
Definition: opt.h:35
const char * def_val
Definition: opt.h:37
char short_name
Definition: opt.h:31
const char * arg_help
Definition: opt.h:36
const char * long_name
Definition: opt.h:32
bool long_only
Definition: opt.h:34
bool have_arg
Definition: opt.h:33
void(* free)(ptpmgmt_opt opt)
Definition: opt.h:59
bool(* have)(ptpmgmt_opt opt, char askOpt)
Definition: opt.h:104
bool(* insert)(ptpmgmt_opt opt, struct ptpmgmt_opt_option *addOpt)
Definition: opt.h:72
int(* val_i)(ptpmgmt_opt opt, char valOpt)
Definition: opt.h:120
int(* process_next)(ptpmgmt_opt opt)
Definition: opt.h:139
void(* useDefOption)(ptpmgmt_opt opt)
Definition: opt.h:64
enum ptpmgmt_opt_loop_val(* parse_options)(ptpmgmt_opt opt, int argc, char *argv[])
Definition: opt.h:96
bool(* have_more)(ptpmgmt_opt opt)
Definition: opt.h:133
char(* get_net_transport)(ptpmgmt_opt opt)
Definition: opt.h:127