~ubuntu-branches/ubuntu/natty/libofx/natty

« back to all changes in this revision

Viewing changes to ofxconnect/cmdline.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2005-11-29 00:12:00 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051129001200-aplj8zbj80f68xby
Tags: 1:0.8.0-9
Generate autotools using Debian libtool (rerun libtoolize --copy
--force, aclocal-1.9, autoconf). (Closes: #341190)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* cmdline.h */
 
2
 
 
3
/* File autogenerated by gengetopt version 2.13  */
 
4
 
 
5
#ifndef CMDLINE_H
 
6
#define CMDLINE_H
 
7
 
 
8
/* If we use autoconf.  */
 
9
#ifdef HAVE_CONFIG_H
 
10
#include "config.h"
 
11
#endif
 
12
 
 
13
#ifdef __cplusplus
 
14
extern "C" {
 
15
#endif /* __cplusplus */
 
16
 
 
17
#ifndef CMDLINE_PARSER_PACKAGE
 
18
#define CMDLINE_PARSER_PACKAGE PACKAGE
 
19
#endif
 
20
 
 
21
#ifndef CMDLINE_PARSER_VERSION
 
22
#define CMDLINE_PARSER_VERSION VERSION
 
23
#endif
 
24
 
 
25
struct gengetopt_args_info
 
26
{
 
27
  int statement_req_flag;       /* Request for a statement (default=off).  */
 
28
  int accountinfo_req_flag;     /* Request for a list of accounts (default=off).  */
 
29
  char * fid_arg;       /* FI identifier.  */
 
30
  char * org_arg;       /* FI org tag.  */
 
31
  char * bank_arg;      /* IBAN bank identifier.  */
 
32
  char * broker_arg;    /* Broker identifier.  */
 
33
  char * user_arg;      /* User name.  */
 
34
  char * pass_arg;      /* Password.  */
 
35
  char * acct_arg;      /* Account ID.  */
 
36
  int type_arg; /* Account Type 1=checking 2=invest 3=ccard.  */
 
37
  long past_arg;        /* How far back to look from today (in days).  */
 
38
  char * url_arg;       /* Url to POST the data to (otherwise goes to stdout).  */
 
39
  
 
40
  int help_given ;      /* Whether help was given.  */
 
41
  int version_given ;   /* Whether version was given.  */
 
42
  int statement_req_given ;     /* Whether statement-req was given.  */
 
43
  int accountinfo_req_given ;   /* Whether accountinfo-req was given.  */
 
44
  int fid_given ;       /* Whether fid was given.  */
 
45
  int org_given ;       /* Whether org was given.  */
 
46
  int bank_given ;      /* Whether bank was given.  */
 
47
  int broker_given ;    /* Whether broker was given.  */
 
48
  int user_given ;      /* Whether user was given.  */
 
49
  int pass_given ;      /* Whether pass was given.  */
 
50
  int acct_given ;      /* Whether acct was given.  */
 
51
  int type_given ;      /* Whether type was given.  */
 
52
  int past_given ;      /* Whether past was given.  */
 
53
  int url_given ;       /* Whether url was given.  */
 
54
 
 
55
  char **inputs ; /* unamed options */
 
56
  unsigned inputs_num ; /* unamed options number */
 
57
} ;
 
58
 
 
59
int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
 
60
int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required);
 
61
 
 
62
void cmdline_parser_print_help(void);
 
63
void cmdline_parser_print_version(void);
 
64
 
 
65
void cmdline_parser_init (struct gengetopt_args_info *args_info);
 
66
void cmdline_parser_free (struct gengetopt_args_info *args_info);
 
67
 
 
68
int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name);
 
69
 
 
70
 
 
71
#ifdef __cplusplus
 
72
}
 
73
#endif /* __cplusplus */
 
74
#endif /* CMDLINE_H */