Chapter 3. Preparation

To use `Libgsasl', you have to perform some changes to your sources and the build system. The necessary changes are small and explained in the following sections. At the end of this chapter, it is described how the library is initialized, and how the requirements of the library are verified.

A faster way to find out how to adapt your application for use with `Libgsasl' may be to look at the examples at the end of this manual (Chapter 12).

3.1. Header

All interfaces (data types and functions) of the library are defined in the header file `gsasl.h'. You must include this in all programs using the library, either directly or through some other header file, like this:

#include <gsasl.h>

The name space of `Libgsasl' is gsasl_* for function names, Gsasl* for data types and GSASL_* for other symbols. In addition the same name prefixes with one prepended underscore are reserved for internal use and should never be used by an application.