#ifndef OPENSC_NOTIFY_CMDLINE_H
#define OPENSC_NOTIFY_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 "opensc-notify"
#endif
#ifndef CMDLINE_PARSER_PACKAGE_NAME
#define CMDLINE_PARSER_PACKAGE_NAME "opensc-notify"
#endif
#ifndef CMDLINE_PARSER_VERSION
#define CMDLINE_PARSER_VERSION VERSION
#endif
struct gengetopt_args_info
{
const char *help_help;
const char *version_help;
char * title_arg;
char * title_orig;
const char *title_help;
char * message_arg;
char * message_orig;
const char *message_help;
int notify_card_inserted_flag;
const char *notify_card_inserted_help;
int notify_card_removed_flag;
const char *notify_card_removed_help;
int notify_pin_good_flag;
const char *notify_pin_good_help;
int notify_pin_bad_flag;
const char *notify_pin_bad_help;
unsigned int help_given ;
unsigned int version_given ;
unsigned int title_given ;
unsigned int message_given ;
unsigned int notify_card_inserted_given ;
unsigned int notify_card_removed_given ;
unsigned int notify_pin_good_given ;
unsigned int notify_pin_bad_given ;
int customized_mode_counter;
int daemon_mode_counter;
int standard_mode_counter;
} ;
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