diff options
author | Werner Koch <wk@gnupg.org> | 2002-01-10 20:46:20 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-01-10 20:46:20 +0100 |
commit | 8bad9e344b6a084b506ba6d2117cc433a8383734 (patch) | |
tree | e23fb2bd882894cd6c1cef684baafedf05f0e931 /common/util.h | |
parent | * assuan-handler.c (assuan_set_okay_line): New. (diff) | |
download | gnupg2-8bad9e344b6a084b506ba6d2117cc433a8383734.tar.xz gnupg2-8bad9e344b6a084b506ba6d2117cc433a8383734.zip |
*** empty log message ***
Diffstat (limited to '')
-rw-r--r-- | common/util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h index 35529253a..fa22b1571 100644 --- a/common/util.h +++ b/common/util.h @@ -53,9 +53,11 @@ int map_ksba_err (int err); int map_gcry_err (int err); int map_kbx_err (int err); int map_assuan_err (int err); +int map_to_assuan_status (int rc); /* some macros to replace ctype ones and avoid locale problems */ +#define spacep(p) (*(p) == ' ' || *(p) == '\t') #define digitp(p) (*(p) >= '0' && *(p) <= '9') #define hexdigitp(a) (digitp (a) \ || (*(a) >= 'A' && *(a) <= 'F') \ @@ -73,3 +75,9 @@ int map_assuan_err (int err); #endif /*GNUPG_COMMON_UTIL_H*/ + + + + + + |