aboutsummaryrefslogtreecommitdiffstats
path: root/g10/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/status.c')
-rw-r--r--g10/status.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/g10/status.c b/g10/status.c
index 8979be979..18a2ed2f5 100644
--- a/g10/status.c
+++ b/g10/status.c
@@ -507,6 +507,23 @@ cpr_enabled()
}
char *
+cpr_get_no_help( const char *keyword, const char *prompt )
+{
+ char *p;
+
+ if( opt.command_fd != -1 )
+ return do_get_from_fd ( keyword, 0, 0 );
+ #ifdef USE_SHM_COPROCESSING
+ if( opt.shm_coprocess )
+ return do_shm_get( keyword, 0, 0 );
+ #endif
+ for(;;) {
+ p = tty_get( prompt );
+ return p;
+ }
+}
+
+char *
cpr_get( const char *keyword, const char *prompt )
{
char *p;
@@ -528,6 +545,7 @@ cpr_get( const char *keyword, const char *prompt )
}
}
+
char *
cpr_get_utf8( const char *keyword, const char *prompt )
{