X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/96ffb2fe97c3e77879e7a4f6f7457397a18bf233..30d31cc8bb416f67183a218f1511ef517eb9ae3b:/src/linenoise.h diff --git a/src/linenoise.h b/src/linenoise.h index ff45e2c4..0d76aea9 100644 --- a/src/linenoise.h +++ b/src/linenoise.h @@ -35,7 +35,9 @@ #define __LINENOISE_H char *linenoise(const char *prompt); -int linenoiseHistoryAdd(char *line); +int linenoiseHistoryAdd(const char *line); int linenoiseHistorySetMaxLen(int len); +int linenoiseHistorySave(char *filename); +int linenoiseHistoryLoad(char *filename); #endif /* __LINENOISE_H */