summaryrefslogtreecommitdiff
path: root/source/prompt.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/prompt.h')
-rw-r--r--source/prompt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/prompt.h b/source/prompt.h
index beca25f..886a52a 100644
--- a/source/prompt.h
+++ b/source/prompt.h
@@ -38,7 +38,7 @@ typedef struct commandPrompt_s {
int widthInChars;
qboolean tooMany;
- void (*Printf)( const char *fmt, ... );
+ void (* q_printf( 1, 2 ) printf)( const char *fmt, ... );
} commandPrompt_t;
@@ -48,3 +48,5 @@ char *Prompt_Action( commandPrompt_t *prompt );
void Prompt_HistoryUp( commandPrompt_t *prompt );
void Prompt_HistoryDown( commandPrompt_t *prompt );
void Prompt_Clear( commandPrompt_t *prompt );
+void Prompt_SaveHistory( commandPrompt_t *prompt, const char *filename );
+void Prompt_LoadHistory( commandPrompt_t *prompt, const char *filename );