diff options
Diffstat (limited to 'src/gpg-error.h.in')
-rw-r--r-- | src/gpg-error.h.in | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in index f86201c..7068add 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 g10 Code GmbH + Copyright (C) 2003, 2004, 2010 g10 Code GmbH This file is part of libgpg-error. @@ -14,9 +14,9 @@ Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with libgpg-error; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + License along with this program; if not, see <http://www.gnu.org/licenses/>. + */ + #ifndef GPG_ERROR_H #define GPG_ERROR_H 1 @@ -231,7 +231,11 @@ int gpg_err_code_to_errno (gpg_err_code_t code); gpg_err_code_t gpg_err_code_from_syserror (void); +/* Set the ERRNO variable. This function is the preferred way to set + ERRNO due to peculiarities on WindowsCE. */ +void gpg_err_set_errno (int err); +@include extra-h.in /* Self-documenting convenience functions. */ |