[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.5 Programmatic Interface

The user interface for access to the argument information is completely defined in the generated header file and in the portions of the distributed file "options.h" that are marked "public".

In the following macros, text marked <NAME> or name is the name of the option in upper case and segmented with underscores _. The macros and enumerations defined in the options header (interface) file are used as follows:

To see how these #define macros are used in a program, the reader is referred to the several `opts.h' files included with the AutoGen sources.

7.5.1 Data for Option Processing  
7.5.2 CLEAR_OPT( <NAME> ) - Clear Option Markings  
7.5.3 COUNT_OPT( <NAME> ) - Definition Count  
7.5.4 DESC( <NAME> ) - Option Descriptor  
7.5.5 DISABLE_OPT_name - Disable an option  
7.5.6 ENABLED( <NAME> ) - Is Option Enabled?  
7.5.7 ERRSKIP_OPTERR - Ignore Option Errors  
7.5.8 ERRSTOP_OPTERR - Stop on Errors  
7.5.9 HAVE_OPT( <NAME> ) - Have this option?  
7.5.10 ISSEL_OPT( <NAME> ) - Is Option Selected?  
7.5.11 ISUNUSED_OPT( <NAME> ) - Never Specified?  
7.5.12 OPTION_CT - Full Count of Options  
7.5.13 OPT_ARG( <NAME> ) - Option Argument String  
7.5.14 OPT_VALUE_name - Option Argument Value  
7.5.15 RESTART_OPT( n ) - Resume Option Processing  
7.5.16 SET_OPT_name - Force an option to be set  
7.5.17 STACKCT_OPT( <NAME> ) - Stacked Arg Count  
7.5.18 STACKLST_OPT( <NAME> ) - Argument Stack  
7.5.19 START_OPT - Restart Option Processing  
7.5.20 STATE_OPT( <NAME> ) - Option State  
7.5.21 USAGE( exit-code ) - Usage invocation macro  
7.5.22 VALUE_OPT_name - Option Flag Value  
7.5.23 VERSION - Version and Full Version  
7.5.24 WHICH_IDX_name - Which Equivalenced Index  
7.5.25 WHICH_OPT_name - Which Equivalenced Option  
7.5.26 teOptIndex - Option Index and Enumeration  
7.5.27 OPTIONS_STRUCT_VERSION - active version  
7.5.28 libopts procedures  libopts Procedures


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Bruce Korb on January, 7 2002 using texi2html