manpagez: man pages & more
info gpgrt
Home | html | info | man

File: gpgrt.info,  Node: Header,  Next: Building sources,  Up: Preparation

2.1 Header
==========

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

     #include 

   Note well that the header file is platform specific and may only be
used on the platform for which it has been build.

   The name space of Libgpg-error is 'gpg_*' and 'gpgrt*' for function
and type names and 'GPG_*' and 'GPGRT_*' 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.

Certain parts of gpg-error.h may be included by defining these macros:

'GPG_ERR_ENABLE_GETTEXT_MACROS'
     Define to provide macros to map the internal gettext API to
     standard names.  This has only an effect on Windows platforms.

'GPGRT_ENABLE_ES_MACROS'
     Define to provide "es_" macros for the estream functions.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.