aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/errors.h1
-rw-r--r--include/util.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/errors.h b/include/errors.h
index 56dd14ada..32d1ea55e 100644
--- a/include/errors.h
+++ b/include/errors.h
@@ -69,6 +69,7 @@
#define G10ERR_INVALID_URI 47 /* e.g. unsupported scheme */
#define G10ERR_NETWORK 48 /* general network error */
#define G10ERR_UNKNOWN_HOST 49
+#define G10ERR_SELFTEST_FAILED 50
#ifndef HAVE_STRERROR
diff --git a/include/util.h b/include/util.h
index 892d508cc..8b8df37e8 100644
--- a/include/util.h
+++ b/include/util.h
@@ -161,6 +161,7 @@ STRLIST strlist_last( STRLIST node );
const char *memistr( const char *buf, size_t buflen, const char *sub );
char *mem2str( char *, const void *, size_t);
char *trim_spaces( char *string );
+unsigned trim_trailing_ws( byte *line, unsigned len );
int string_count_chr( const char *string, int c );
int set_native_charset( const char *newset );
char *native_to_utf8( const char *string );