gffdSetOption, gffdGetOption - set and query various options
#include <gffd/gffd.h>
int gffdSetOption(gffd_context_t ctx, int option, int value);
int gffdGetOption(gffd_context_t ctx, int option);
Options are a mechanism to modify the behaviour of a matching context. Each option has a non-negative value, typically an enumerated set of values. gffdSetOption() is used to set the value of an option, and gffdGetOption() is used to query the value of an option.
On success, gffdSetOption() returns zero, and gffdGetOption() returns the non-negative option value. On failure, both functions will return a negative error value, such as GFFD_E_BAD_OPT when the option is unknown, or GFFD_E_INVALID when the value is out of bounds for the specified option.
There are currently no options.