X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/af4e866dbb1455a50d51b3d5f46832f1a36e2080..cfcd5d6d433b13319cdc1bf8c91d2e61c43aef2c:/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 */