diff --git a/ase/utl/getopt.h b/ase/utl/getopt.h index 23e92c5b..e685304c 100644 --- a/ase/utl/getopt.h +++ b/ase/utl/getopt.h @@ -1,34 +1,39 @@ - -#ifndef _ASE_UTL_GETOPT_H_ -#define _ASE_UTL_GETOPT_H_ - -#include -#include - -typedef struct ase_opt_t ase_opt_t; - -struct ase_opt_t -{ - /* input */ - const ase_char_t* str; - - /* output */ - ase_cint_t opt; /* character checked for validity */ - ase_char_t* arg; /* argument associated with an option */ - int err; - - /* input + output */ - int ind; /* index into parent argv vector */ -}; - -#ifdef __cplusplus -extern "C" { -#endif - -ase_cint_t ase_getopt (int argc, ase_char_t* argv[], ase_opt_t* opt); - -#ifdef __cplusplus -} -#endif - -#endif +/* + * $Id: getopt.h 136 2008-03-17 12:23:56Z baconevi $ + * + * {License} + */ + +#ifndef _ASE_UTL_GETOPT_H_ +#define _ASE_UTL_GETOPT_H_ + +#include +#include + +typedef struct ase_opt_t ase_opt_t; + +struct ase_opt_t +{ + /* input */ + const ase_char_t* str; + + /* output */ + ase_cint_t opt; /* character checked for validity */ + ase_char_t* arg; /* argument associated with an option */ + int err; + + /* input + output */ + int ind; /* index into parent argv vector */ +}; + +#ifdef __cplusplus +extern "C" { +#endif + +ase_cint_t ase_getopt (int argc, ase_char_t* argv[], ase_opt_t* opt); + +#ifdef __cplusplus +} +#endif + +#endif