Go to the documentation of this file.
22 #ifndef CMDLINE_PARSER_PACKAGE
24 #define CMDLINE_PARSER_PACKAGE PACKAGE
27 #ifndef CMDLINE_PARSER_PACKAGE_NAME
30 #define CMDLINE_PARSER_PACKAGE_NAME PACKAGE_NAME
32 #define CMDLINE_PARSER_PACKAGE_NAME PACKAGE
36 #ifndef CMDLINE_PARSER_VERSION
38 #define CMDLINE_PARSER_VERSION VERSION
161 int override,
int initialize,
int check_required);
238 const char *prog_name);
unsigned int fipid_given
Whether fipid was given.
int type_arg
Account Type 1=checking 2=invest 3=ccard.
unsigned int help_given
Whether help was given.
const char * gengetopt_args_info_purpose
the purpose string of the program
const char * allsupport_help
List all banks which support online banking help description.
const char * user_help
User name help description.
char * user_arg
User name.
unsigned int org_given
Whether org was given.
void cmdline_parser_params_init(struct cmdline_parser_params *params)
unsigned int broker_given
Whether broker was given.
const char * past_help
How far back to look from today (in days) help description.
char * org_arg
FI org tag.
unsigned int payment_req_given
Whether payment-req was given.
unsigned int fid_given
Whether fid was given.
const char * trid_help
Transaction id help description.
const char * accountinfo_req_help
Request for a list of accounts help description.
const char * org_help
FI org tag help description.
char * bank_orig
IBAN bank identifier original value given at command line.
unsigned int type_given
Whether type was given.
const char * fid_help
FI identifier help description.
char * url_orig
Url to POST the data to (otherwise goes to stdout) original value given at command line.
char * broker_orig
Broker identifier original value given at command line.
unsigned int accountinfo_req_given
Whether accountinfo-req was given.
char * broker_arg
Broker identifier.
char * fipid_orig
FI partner identifier (looks up fid, org & url from partner server) original value given at command l...
char ** inputs
unnamed options (options without names)
int cmdline_parser_file_save(const char *filename, struct gengetopt_args_info *args_info)
char * org_orig
FI org tag original value given at command line.
const char * pass_help
Password help description.
void cmdline_parser_print_help(void)
unsigned int version_given
Whether version was given.
char * url_arg
Url to POST the data to (otherwise goes to stdout).
const char * bank_help
IBAN bank identifier help description.
int cmdline_parser_dump(FILE *outfile, struct gengetopt_args_info *args_info)
int trid_arg
Transaction id.
const char * acct_help
Account ID help description.
char * user_orig
User name original value given at command line.
unsigned int bank_fipid_given
Whether bank-fipid was given.
unsigned int bank_list_given
Whether bank-list was given.
unsigned int trid_given
Whether trid was given.
void cmdline_parser_free(struct gengetopt_args_info *args_info)
void cmdline_parser_print_version(void)
unsigned int bank_given
Whether bank was given.
unsigned int bank_services_given
Whether bank-services was given.
const char * version_help
Print version and exit help description.
char * acct_arg
Account ID.
int command_group_counter
Counter for group command.
char * trid_orig
Transaction id original value given at command line.
unsigned int acct_given
Whether acct was given.
int check_ambiguity
whether to check for options already specified in the option structure gengetopt_args_info (default 0...
const char * fipid_help
FI partner identifier (looks up fid, org & url from partner server) help description.
const char * url_help
Url to POST the data to (otherwise goes to stdout) help description.
char * bank_arg
IBAN bank identifier.
const char * bank_fipid_help
List all fipids for a given bank help description.
const char * statement_req_help
Request for a statement help description.
char * fid_orig
FI identifier original value given at command line.
unsigned int url_given
Whether url was given.
unsigned int pass_given
Whether pass was given.
struct cmdline_parser_params * cmdline_parser_params_create(void)
int print_errors
whether getopt_long should print an error message for a bad option (default 1)
char * type_orig
Account Type 1=checking 2=invest 3=ccard original value given at command line.
const char * gengetopt_args_info_usage
the usage string of the program
unsigned int past_given
Whether past was given.
const char * paymentinquiry_req_help
Request to inquire about the status of a payment help description.
unsigned inputs_num
unnamed options number
int cmdline_parser(int argc, char **argv, struct gengetopt_args_info *args_info)
const char * bank_list_help
List all known banks help description.
const char * gengetopt_args_info_help[]
all the lines making the help output
unsigned int allsupport_given
Whether allsupport was given.
char * acct_orig
Account ID original value given at command line.
char * fipid_arg
FI partner identifier (looks up fid, org & url from partner server).
int cmdline_parser_required(struct gengetopt_args_info *args_info, const char *prog_name)
char * pass_orig
Password original value given at command line.
Where the command line options are stored.
long past_arg
How far back to look from today (in days).
const char * bank_services_help
List supported services for a given fipid help description.
The additional parameters to pass to parser functions.
char * fid_arg
FI identifier.
unsigned int statement_req_given
Whether statement-req was given.
int cmdline_parser2(int argc, char **argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required)
const char * help_help
Print help and exit help description.
char * past_orig
How far back to look from today (in days) original value given at command line.
int initialize
whether to initialize the option structure gengetopt_args_info (default 1)
int check_required
whether to check that all required options were provided (default 1)
unsigned int user_given
Whether user was given.
void cmdline_parser_init(struct gengetopt_args_info *args_info)
const char * payment_req_help
Request to make a payment help description.
unsigned int paymentinquiry_req_given
Whether paymentinquiry-req was given.
const char * gengetopt_args_info_description
the description string of the program
const char * broker_help
Broker identifier help description.
const char * type_help
Account Type 1=checking 2=invest 3=ccard help description.
int cmdline_parser_ext(int argc, char **argv, struct gengetopt_args_info *args_info, struct cmdline_parser_params *params)