diff options
Diffstat (limited to 'g10/status.h')
-rw-r--r-- | g10/status.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/g10/status.h b/g10/status.h index d6ed773a0..f49e593a4 100644 --- a/g10/status.h +++ b/g10/status.h @@ -42,12 +42,26 @@ #define STATUS_TRUST_FULLY 14 #define STATUS_TRUST_ULTIMATE 15 +#define STATUS_SHM_INFO 16 +#define STATUS_SHM_GET 17 +#define STATUS_SHM_GET_BOOL 18 +#define STATUS_SHM_GET_HIDDEN 19 /*-- status.c --*/ -void set_status_fd( int fd ); -void write_status( int no ); -void write_status_text( int no, const char *text); +void set_status_fd ( int fd ); +void write_status ( int no ); +void write_status_text ( int no, const char *text ); + +#ifdef USE_SHM_COPROCESSING + void init_shm_coprocessing ( ulong requested_shm_size, int lock_mem ); +#endif /*USE_SHM_COPROCESSING*/ + +int cpr_enabled(void); +char *cpr_get( const char *keyword, const char *prompt ); +char *cpr_get_hidden( const char *keyword, const char *prompt ); +void cpr_kill_prompt(void); +int cpr_get_answer_is_yes( const char *keyword, const char *prompt ); #endif /*G10_STATUS_H*/ |