/* shishid_cmd.h */ /* File autogenerated by gengetopt version 2.13.1 */ #ifndef SHISHID_CMD_H #define SHISHID_CMD_H /* If we use autoconf. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifndef CMDLINE_PARSER_PACKAGE #define CMDLINE_PARSER_PACKAGE "shishid" #endif #ifndef CMDLINE_PARSER_VERSION #define CMDLINE_PARSER_VERSION VERSION #endif struct gengetopt_args_info { char * listen_arg; /* Sockets to listen for queries on. Family is `IPv4' or `IPv6', if absent the family is decided by gethostbyname(ADDR). An address of `*' indicates all addresses on the local host. The default is `IPv4:*:kerberos/udp, IPv4:*:kerberos/tcp, IPv6:*:kerberos/udp, IPv6:*:kerberos/tcp'.. */ char * setuid_arg; /* After binding socket, set user identity.. */ char * x509cafile_arg; /* X.509 certificate authorities used to verify client certificates, in PEM format.. */ char * x509certfile_arg; /* X.509 server certificate, in PEM format.. */ char * x509crlfile_arg; /* X.509 certificate revocation list to check for revoked client certificates, in PEM format.. */ char * x509keyfile_arg; /* X.509 server certificate key, in PEM format.. */ short resume_limit_arg; /* Keep track of up to this many TLS sessions for resume purposes (0 to disable TLS resume). (default='50'). */ char * configuration_file_arg; /* Use specified configuration file.. */ int quiet_flag; /* Don't produce any diagnostic output.\n (default=off). */ int help_given ; /* Whether help was given. */ int version_given ; /* Whether version was given. */ int listen_given ; /* Whether listen was given. */ int setuid_given ; /* Whether setuid was given. */ int x509cafile_given ; /* Whether x509cafile was given. */ int x509certfile_given ; /* Whether x509certfile was given. */ int x509crlfile_given ; /* Whether x509crlfile was given. */ int x509keyfile_given ; /* Whether x509keyfile was given. */ int resume_limit_given ; /* Whether resume-limit was given. */ int configuration_file_given ; /* Whether configuration-file was given. */ unsigned int verbose_given ; /* Whether verbose was given. */ int quiet_given ; /* Whether quiet was given. */ } ; int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required); void cmdline_parser_print_help(void); void cmdline_parser_print_version(void); void cmdline_parser_init (struct gengetopt_args_info *args_info); void cmdline_parser_free (struct gengetopt_args_info *args_info); int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* SHISHID_CMD_H */