Next: , Up: Preparation

2.1 Header

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

     #include <gpgme.h>

The name space of GPGME is gpgme_* for function names and data types and GPGME_* for other symbols. Symbols internal to GPGME take the form _gpgme_* and _GPGME_*.

Because GPGME makes use of the GPG Error library, using GPGME will also use the GPG_ERR_* name space directly, and the gpg_err* and gpg_str* name space indirectly.