NAME

gffdInit, gffdExit - initialisation and termination

SYNOPSIS

#include <gffd/gffd.h>

int gffdInit(void);
int gffdExit(void);

DESCRIPTION

gffdInit() initialises the library. This function must be called before using any other LibGFFD function, otherwise the results are undefined.

gffdExit() terminates the library, freeing any resources used by LibGFFD (in particular, memory). It should be called when the application has finished using the library.

RETURN VALUES

On success, gffdInit() and gffdExit() return zero, otherwise they return a negative error code, such as GFFD_E_ERROR.