#ifndef PKCS11_REGISTER_CMDLINE_H
#define PKCS11_REGISTER_CMDLINE_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef CMDLINE_PARSER_PACKAGE
#define CMDLINE_PARSER_PACKAGE "pkcs11-register"
#endif
#ifndef CMDLINE_PARSER_PACKAGE_NAME
#define CMDLINE_PARSER_PACKAGE_NAME "pkcs11-register"
#endif
#ifndef CMDLINE_PARSER_VERSION
#define CMDLINE_PARSER_VERSION VERSION
#endif
struct gengetopt_args_info
{
const char *help_help;
const char *version_help;
char * module_arg;
char * module_orig;
const char *module_help;
int skip_chrome_flag;
const char *skip_chrome_help;
int skip_firefox_flag;
const char *skip_firefox_help;
int skip_thunderbird_flag;
const char *skip_thunderbird_help;
int skip_seamonkey_flag;
const char *skip_seamonkey_help;
unsigned int help_given ;
unsigned int version_given ;
unsigned int module_given ;
unsigned int skip_chrome_given ;
unsigned int skip_firefox_given ;
unsigned int skip_thunderbird_given ;
unsigned int skip_seamonkey_given ;
} ;
struct cmdline_parser_params
{
int override;
int initialize;
int check_required;
int check_ambiguity;
int print_errors;
} ;
extern const char *gengetopt_args_info_purpose;
extern const char *gengetopt_args_info_usage;
extern const char *gengetopt_args_info_description;
extern const char *gengetopt_args_info_help[];
int cmdline_parser (int argc, char **argv,
struct gengetopt_args_info *args_info);
int cmdline_parser2 (int argc, char **argv,
struct gengetopt_args_info *args_info,
int override, int initialize, int check_required);
int cmdline_parser_ext (int argc, char **argv,
struct gengetopt_args_info *args_info,
struct cmdline_parser_params *params);
int cmdline_parser_dump(FILE *outfile,
struct gengetopt_args_info *args_info);
int cmdline_parser_file_save(const char *filename,
struct gengetopt_args_info *args_info);
void cmdline_parser_print_help(void);
void cmdline_parser_print_version(void);
void cmdline_parser_params_init(struct cmdline_parser_params *params);
struct cmdline_parser_params *cmdline_parser_params_create(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
#endif