aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-09-21 13:30:45 +0000
committerWerner Koch <[email protected]>2006-09-21 13:30:45 +0000
commit43ab905823df0ae44607cda41da9c105e009c1e5 (patch)
tree155ab1ee960c61dbaa5c4db6747358fa0117bf14 /common/util.h
parentCleanups. (diff)
downloadgnupg-43ab905823df0ae44607cda41da9c105e009c1e5.tar.gz
gnupg-43ab905823df0ae44607cda41da9c105e009c1e5.zip
Various updates
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h
index da1e098cb..86c963cda 100644
--- a/common/util.h
+++ b/common/util.h
@@ -45,6 +45,13 @@
#include "../jnlib/dotlock.h"
#include "../jnlib/utf8conv.h"
+/* We need this type even if we are not using libreadline and or we
+ did not include libreadline in the current file. */
+#ifndef GNUPG_LIBREADLINE_H_INCLUDED
+typedef char **rl_completion_func_t (const char *, int, int);
+#endif /*!GNUPG_LIBREADLINE_H_INCLUDED*/
+
+
/* Handy malloc macros - please use only them. */
#define xtrymalloc(a) gcry_malloc ((a))
#define xtrymalloc_secure(a) gcry_malloc_secure ((a))
@@ -153,6 +160,8 @@ char *bin2hexcolon (const void *buffer, size_t length, char *stringbuf);
/*-- homedir.c --*/
const char *default_homedir (void);
+/*-- gpgrlhelp.c --*/
+void gnupg_rl_initialize (void);
/*-- miscellaneous.c --*/