home *** CD-ROM | disk | FTP | other *** search
- /* > h.argfuncs - (c) Paul Witheridge - Version 1.01 - 05 Nov 1992 */
-
- /*===================================================================*/
- /* ArgFuncs header file */
- /*===================================================================*/
-
- void analargs( /* Analyse standard arguments */
- const int argc, /* Number of arguments */
- const char *argv[], /* Array of pointers to args */
- const int posnc, /* Number of positional args */
- const char **(**posnptr)[], /* Ptrs to positional args */
- const char options[], /* Option characters */
- unsigned char *flags, /* Pointer to flag byte */
- const unsigned char optflags[], /* Option flag settings */
- const char **optval[]) ; /* Ptrs to value ptrs */
-
- /* */
- /* Note: 4th argument "posnptr" is actually a pointer to a */
- /* pointer to an array of pointers to pointer to character. */
- /* */
- /* If the pointer pointed to by "posnptr" is NULL, then analargs */
- /* will create the array by allocating storage and storing in */
- /* the array elements pointers to the appropriate elements in */
- /* the argv array, with a NULL pointer as a terminator. This */
- /* allows for the processing of a variable number of positional */
- /* parameters. */
- /* */
-
- void displaytext( /* Display help text etc */
- const char *text, /* Ptr to text */
- const unsigned char tabs[]) ; /* Ptr to array of tab values */
-
- /*===================================================================*/
-