NAME
gffdNewContext, gffdFreeContext - context management
SYNOPSIS
#include <gffd/gffd.h>
gffd_context_t gffdNewContext(void);
int gffdFreeContext(gffd_context_t ctx);
DESCRIPTION
gffdNewContext() creates a new context which is required for
performing matches. There can be multiple contexts in use at any one
time, even by different threads.
gffdFreeContext() frees a previously allocated matching
context, and any resources associated with it.
RETURN VALUES
gffdNewContext() returns the new context on success, otherwise NULL
if an error occurs (typically: not enough memory).
gffdFreeContext() returns zero on success, otherwise a negative error
code.