libptpmgmt
1.4
libptpmgmt library that provides the functionality of linuxptp pmc
|
#include <opt.h>
Public Attributes | |
char | short_name |
const char * | long_name |
bool | have_arg |
bool | long_only |
const char * | help_msg |
const char * | arg_help |
const char * | def_val |
Structre to add new option
const char* ptpmgmt_opt_option::arg_help |
Argument name for help
const char* ptpmgmt_opt_option::def_val |
Default value for help
bool ptpmgmt_opt_option::have_arg |
Use argument flag
const char* ptpmgmt_opt_option::help_msg |
Help message
const char* ptpmgmt_opt_option::long_name |
Optional long option
bool ptpmgmt_opt_option::long_only |
Use long option only flag
char ptpmgmt_opt_option::short_name |
Uniq single character required as it is used by application