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

8.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.

8.5.1 Data for Option Processing  
8.5.2 CLEAR_OPT( <NAME> ) - Clear Option Markings  
8.5.3 COUNT_OPT( <NAME> ) - Definition Count  
8.5.4 DESC( <NAME> ) - Option Descriptor  
8.5.5 DISABLE_OPT_name - Disable an option  
8.5.6 ENABLED( <NAME> ) - Is Option Enabled?  
8.5.7 ERRSKIP_OPTERR - Ignore Option Errors  
8.5.8 ERRSTOP_OPTERR - Stop on Errors  
8.5.9 HAVE_OPT( <NAME> ) - Have this option?  
8.5.10 ISSEL_OPT( <NAME> ) - Is Option Selected?  
8.5.11 ISUNUSED_OPT( <NAME> ) - Never Specified?  
8.5.12 OPTION_CT - Full Count of Options  
8.5.13 OPT_ARG( <NAME> ) - Option Argument String  
8.5.14 OPT_VALUE_name - Option Argument Value  
8.5.15 RESTART_OPT( n ) - Resume Option Processing  
8.5.16 SET_OPT_name - Force an option to be set  
8.5.17 STACKCT_OPT( <NAME> ) - Stacked Arg Count  
8.5.18 STACKLST_OPT( <NAME> ) - Argument Stack  
8.5.19 START_OPT - Restart Option Processing  
8.5.20 STATE_OPT( <NAME> ) - Option State  
8.5.21 USAGE( exit-code ) - Usage invocation macro  
8.5.22 VALUE_OPT_name - Option Flag Value  
8.5.23 VERSION - Version and Full Version  
8.5.24 WHICH_IDX_name - Which Equivalenced Index  
8.5.25 WHICH_OPT_name - Which Equivalenced Option  
8.5.26 teOptIndex - Option Index and Enumeration  
8.5.27 OPTIONS_STRUCT_VERSION - active version  
8.5.28 libopts procedures  libopts Procedures


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

This document was generated by Davide on March, 6 2002 using texi2html