/* Last edited on 1997-11-24 00:51:47 by stolfi */ /* See the authorship and copyright notice at the end of this file. */ /* Changes: */ #include #include #include #include #include #include /* INTERNAL PROTOTYPES */ /* PROCEDURES */ bool_t GetLongOption( int argc, char **argv, int *ip, char *brief, char *wordy, long min, long max, long *vp ) { int i = (*ip); int res; long val; char dum = '\000'; if ((i+1 max)) { ParamError("value out of range", argv[i], i); } (*vp) = val; (*ip) += 2; return (TRUE); } else { return (FALSE); } } bool_t GetCharOption( int argc, char **argv, int *ip, char *brief, char *wordy, char **vp ) { int i = (*ip); if ((i+1