diff options
author | Werner Koch <[email protected]> | 2015-09-28 07:59:53 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-09-28 07:59:53 +0000 |
commit | d3e9514ff82ff767fc78ce485aef71ba56f3c0d5 (patch) | |
tree | 64be63b01bcd4cba146e11636c0486508dc774db | |
parent | estream: Add gpgrt_set_nonblock and gpgrt_poll. (diff) | |
download | libgpg-error-d3e9514ff82ff767fc78ce485aef71ba56f3c0d5.tar.gz libgpg-error-d3e9514ff82ff767fc78ce485aef71ba56f3c0d5.zip |
Add GPG_ERR_FALSE and GPG_ERR_TRUE error codes.
Signed-off-by: Werner Koch <[email protected]>
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | doc/errorref.txt | 6 | ||||
-rw-r--r-- | src/err-codes.h.in | 3 |
3 files changed, 10 insertions, 1 deletions
@@ -14,6 +14,8 @@ Noteworthy changes in version 1.21 (unreleased) [C17/A17/R0] es_set_nonblock NEW macro. es_get_nonblock NEW macro. es_poll NEW macro. + GPG_ERR_TRUE NEW. + GPG_ERR_FALSE NEW. Noteworthy changes in version 1.20 (2015-08-26) [C16/A16/R0] diff --git a/doc/errorref.txt b/doc/errorref.txt index a369fbf..268454f 100644 --- a/doc/errorref.txt +++ b/doc/errorref.txt @@ -768,8 +768,14 @@ GPG_ERR_INV_LOCK_OBJ Invalid lock object internal problem in libgpg-error or more likely a programming error. +GPG_ERR_TRUE True + Used to retrun the boolena value True. Note that GPG_ERR_NO_ERROR + (with the value 0) is also often used to indicate the value true. +GPG_ERR_FALSE False + + Used to return the boolean value False. GPG_ERR_LDAP_GENERAL LDAP General error diff --git a/src/err-codes.h.in b/src/err-codes.h.in index a8846e4..e05d41f 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -283,7 +283,8 @@ 253 GPG_ERR_KEY_ON_CARD Not possible with a card based key 254 GPG_ERR_INV_LOCK_OBJ Invalid lock object -# 255 and 256 are RFU. +255 GPG_ERR_TRUE True +256 GPG_ERR_FALSE False # Error codes pertaining to the Assuan IPC interface 257 GPG_ERR_ASS_GENERAL General IPC error |