From 43ab905823df0ae44607cda41da9c105e009c1e5 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 21 Sep 2006 13:30:45 +0000 Subject: Various updates --- common/util.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'common/util.h') 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 --*/ -- cgit v1.2.3