Package autogen-libopts-devel

Development files for libopts

http://www.gnu.org/software/autogen/

This package contains development files for libopts.

General Commands (Section 1)
autoopts-config
autoopts-config is a tool that is used by configure to determine the compile and linker flags that should be used to compile and link programs that use...
Library Functions (Section 3)
ao_string_tokenize
This function will convert one input string into a list of strings. The list of strings is derived by separating the input based on white space separation...
configFileLoad
This routine will load a named configuration file and parse the text as a hierarchically valued option. The option descriptor created from an option definition...
optionFileLoad
This function looks in all the specified directories for a configuration file ("rc" file or "ini" file) and processes any found twice. The first time through...
optionFindNextValue
This routine will find the next entry in a nested value option or configurable. It will search through the list and return the next entry that matches the...
optionFindValue
This routine will find an entry in a nested value option or configurable. It will search through the list and return a matching entry.
optionFree
AutoOpts sometimes allocates memory and puts pointers to it in the option state structures. This routine deallocates all such memory.
optionGetValue
This routine will find an entry in a nested value option or configurable. If "valueName" is NULL, then the first entry is returned. Otherwise, the first entry...
optionLoadLine
This is a client program callable routine for setting options from, for example, the contents of a file that they read in. Only one option may appear in the...
optionMemberList
This converts the OPT_VALUE_name mask value to a allocated string. It is the caller's responsibility to free the string.
optionNextValue
This routine will return the next entry after the entry passed in. At the end of the list, NULL will be returned. If the entry is not found on the list, NULL...
optionOnlyUsage
This routine will print only the usage for each option. This function may be used when the emitted usage must incorporate information not available to AutoOpts.
optionPrintVersion
This routine will print the version to stdout.
optionPrintVersionAndReturn
This routine will print the version to stdout and return instead of exiting. Please see the source for the print_ver funtion for details on selecting how...
optionProcess
This is the main entry point for processing options. It is intended that this procedure be called once at the beginning of the execution of a program. Depending...
optionRestore
Copy back the option state from saved memory. The allocated memory is left intact, so this routine can be called repeatedly without having to call...
optionSaveFile
This routine will save the state of option processing to a file. The name of that file can be specified with the argument to the --save-opts option, or by...
optionSaveState
This routine will allocate enough memory to save the current option processing state. If this routine has been called before, that memory will be reused. You...
optionUnloadNested
A nested value needs to be deallocated. The pointer passed in should have been gotten from a call to configFileLoad() (See @pxref{libopts-configFileLoad}).
optionVersion
Returns the full version string compiled into the library. The returned string cannot be modified.
strequate
Each character in the input string get mapped to the first character in the string. This function name is mapped to option_strequate so as to not conflict with...
streqvcmp
Using a character mapping, two strings are compared for "equivalence". Each input character is mapped to a comparison character and the mapped-to characters are...
streqvmap
Set the character mapping. If the count (ct) is set to zero, then the map is cleared by setting all entries in the map to their index value. Otherwise, the...
strneqvcmp
Using a character mapping, two strings are compared for "equivalence". Each input character is mapped to a comparison character and the mapped-to characters are...
strtransform
Each character in the input string is mapped and the mapped-to character is put into the output. This function name is mapped to option_strtransform so as to...