2010-08-18 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Wed, 18 Aug 2010 14:14:27 +0000 (14:14 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 18 Aug 2010 14:14:27 +0000 (14:14 +0000)
commit15a3f59481e6b134e80cbb9e88fffa0c9f67c8b4
treec21242c4088d8cbcfa5024df49ed95be7c2bf0e5
parentbfd550e0d93df26412f88af84d0986d7e009fcd8
2010-08-18  Marcus Brinkmann  <marcus@g10code.de>

        * gpgme.def: Add gpgme_err_code_from_syserror and gpgme_err_set_errno.
        * libgpgme.vers: Likewise.
        * gpgme.h.in (gpgme_error_from_errno): Fix return type to
        gpgme_error_t.
(gpgme_err_code_from_syserror, gpgme_err_set_errno): New prototype.
(gpgme_error_from_syserror): New inline function (why are
        gpgme_err_make_from_errno and gpgme_error_from_errno not inline
        functions?).
        * error.c (gpgme_error_from_errno): Fix return type to gpgme_error_t.
        (gpgme_err_set_errno, gpgme_err_code_from_syserror): New functions.
NEWS
src/ChangeLog
src/error.c
src/gpgme.def
src/gpgme.h.in
src/libgpgme.vers