optlist_d.optlist

Undocumented in source.

Members

Functions

FindFileName
char* FindFileName(char* fullPath)

This is function accepts a pointer to the name of a file along with path information and returns a pointer to the first character that is not part of the path.

FreeOptList
void FreeOptList(.option_t* list)

This function will free all the elements in an option_t type linked list starting from the node passed as a parameter.

GetOptList
.option_t* GetOptList(int argc, char** argv, char* options)

This function is similar to the POSIX function getopt. All options and their corresponding arguments are returned in a linked list. This function should only be called once per an option list and it does not modify argv or argc.

Manifest constants

OL_NOINDEX
enum OL_NOINDEX;

this option has no arguement

Structs

option_t
struct option_t

The structure for storing one of the command line options.

Meta