123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- /*====================================================================*
- *
- * getoptv.h - getopt related definitions and declarations;
- *
- * Motley Tools by Charles Maier;
- * Copyright 2001-2006 by Charles Maier Associates;
- * Licensed under the Internet Software Consortium License;
- *
- *--------------------------------------------------------------------*/
- #ifndef GETOPTV_HEADER
- #define GETOPTV_HEADER
- /*====================================================================*
- * constant definitions;
- *--------------------------------------------------------------------*/
- #define GETOPTV_VERSION 1
- #define GETOPTV_SUMMARY 1
- #define GETOPTV_C_OPTION ('-')
- #define GETOPTV_C_OPERAND (':')
- #define GETOPTV_C_ILLEGAL ('?')
- #define GETOPTV_C_VERSION ('!')
- #define GETOPTV_C_SUMMARY ('?')
- /*====================================================================*
- * variable declarations;
- *--------------------------------------------------------------------*/
- extern char * optarg;
- extern signed optopt;
- extern signed optind;
- extern signed opterr;
- extern signed optmin;
- /*====================================================================*
- * function declarations;
- *--------------------------------------------------------------------*/
- signed getoptv (int argc, char const * argv [], char const * optv []);
- /*====================================================================*
- * end definitions;
- *--------------------------------------------------------------------*/
- #endif
|