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

7.5.6.10 Keyword list

If the arg-type is keyword (see section Arg Type Keyword) or set-membership (see section Arg Type Set Membership), then you must specify the list of keywords by a series of keyword entries. The interface file will contain values for <OPTN_NAME>_<KEYWORD> for each keyword entry. keyword option types will have an enumeration and set-membership option types will have a set of unsigned bits #define-d.

If the arg-type is specifically keyword, you may also add special handling code with a extra-code attribute. After optionEnumerationVal has converted the input string into an enumeration, you may insert code to process this enumeration value (pOptDesc->optArg.argEnum).


This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.