diff options
Diffstat (limited to '')
-rw-r--r-- | src/gpg-error.h.in | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in index 303fac0..a2fb044 100644 --- a/src/gpg-error.h.in +++ b/src/gpg-error.h.in @@ -1,5 +1,5 @@ -/* gpg-error.h - Public interface to libgpg-error. - Copyright (C) 2003, 2004, 2010, 2013 g10 Code GmbH +/* gpg-error.h - Public interface to libgpg-error. -*- c -*- + Copyright (C) 2003, 2004, 2010, 2013, 2014 g10 Code GmbH This file is part of libgpg-error. @@ -15,6 +15,8 @@ You should have received a copy of the GNU Lesser General Public License along with this program; if not, see <http://www.gnu.org/licenses/>. + + @configure_input@ */ @@ -77,7 +79,7 @@ extern "C" { entries. */ typedef enum { -@include err-sources.h.in +@include:err-sources@ /* This is one more than the largest allowed entry. */ GPG_ERR_SOURCE_DIM = 128 @@ -90,11 +92,11 @@ typedef enum entries. */ typedef enum { -@include err-codes.h.in +@include:err-codes@ /* The following error codes are used to map system errors. */ #define GPG_ERR_SYSTEM_ERROR (1 << 15) -@include errnos.in +@include:errnos@ /* This is one more than the largest allowed entry. */ GPG_ERR_CODE_DIM = 65536 @@ -248,7 +250,13 @@ void gpg_err_set_errno (int err); /* Return or check the version. */ const char *gpg_error_check_version (const char *req_version); -@include extra-h.in +/* The version string of this header. */ +#define GPG_ERROR_VERSION @version@ + +/* The version number of this header. */ +#define GPG_ERROR_VERSION_NUMBER @version-number@ + +@include:os-add@ /* Self-documenting convenience functions. */ |