| 24 | 
  | 
 | 
| 25 | 
  | 
struct gengetopt_args_info | 
| 26 | 
  | 
{ | 
| 27 | 
– | 
  char * shape_arg;     /* shape file name.  */ | 
| 28 | 
– | 
  char * output_arg;    /* output file name.  */ | 
| 27 | 
  | 
  int grid_arg; /* number of grid points in each coordinate (default='101').  */ | 
| 28 | 
+ | 
  double range_arg;     /* the sample range for the points in Angstroms (Ex: 10 = -10 to 10) (default='10').  */ | 
| 29 | 
  | 
 | 
| 30 | 
  | 
  int help_given ;      /* Whether help was given.  */ | 
| 31 | 
  | 
  int version_given ;   /* Whether version was given.  */ | 
| 33 | 
– | 
  int shape_given ;     /* Whether shape was given.  */ | 
| 34 | 
– | 
  int output_given ;    /* Whether output was given.  */ | 
| 32 | 
  | 
  int grid_given ;      /* Whether grid was given.  */ | 
| 33 | 
+ | 
  int range_given ;     /* Whether range was given.  */ | 
| 34 | 
  | 
 | 
| 35 | 
+ | 
  char **inputs ; /* unamed options */ | 
| 36 | 
+ | 
  unsigned inputs_num ; /* unamed options number */ | 
| 37 | 
  | 
} ; | 
| 38 | 
  | 
 | 
| 39 | 
  | 
int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); |