summaryrefslogtreecommitdiffstats
path: root/common/common-defs.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-09-22 13:39:45 +0200
committerWerner Koch <wk@gnupg.org>2006-09-22 13:39:45 +0200
commitb0a06d18a4a4e5c3a17a5b3d187d808aabd837f0 (patch)
tree1bdc17b3307a2d9ef7f61c6131a089809faafec8 /common/common-defs.h
parentVarious updates (diff)
downloadgnupg2-b0a06d18a4a4e5c3a17a5b3d187d808aabd837f0.tar.xz
gnupg2-b0a06d18a4a4e5c3a17a5b3d187d808aabd837f0.zip
Clarified cURL and OpenLDAP license issues.
Made readline support work.
Diffstat (limited to 'common/common-defs.h')
-rw-r--r--common/common-defs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/common/common-defs.h b/common/common-defs.h
index 0a6403a2c..96d0a1f32 100644
--- a/common/common-defs.h
+++ b/common/common-defs.h
@@ -23,9 +23,12 @@
#define GNUPG_COMMON_COMMON_DEFS_H
/*-- ttyio.c --*/
-void tty_private_set_rl_hooks (void (*set_completer) (rl_completion_func_t*),
+void tty_private_set_rl_hooks (void (*init_stream) (FILE *),
+ void (*set_completer) (rl_completion_func_t*),
void (*inhibit_completion) (int),
- void (*cleanup_after_signal) (void) );
+ void (*cleanup_after_signal) (void),
+ char *(*readline_fun) (const char*),
+ void (*add_history_fun) (const char*));