97 #undef required_argument
98 #undef optional_argument
100 #define no_argument 0
101 #define required_argument 1
102 #define optional_argument 2
104 int LALgetopt (
int argc,
char *
const *argv,
const char *shortopts);
105 int LALgetopt_long (
int argc,
char *
const *argv,
const char *shortopts,
106 const struct LALoption *longopts,
int *longind);
108 const char *shortopts,
109 const struct LALoption *longopts,
int *longind);
int LALgetopt_long(int argc, char *const *argv, const char *shortopts, const struct LALoption *longopts, int *longind)
int LALgetopt_long_only(int argc, char *const *argv, const char *shortopts, const struct LALoption *longopts, int *longind)
int LALgetopt(int argc, char *const *argv, const char *shortopts)