unsigned int depth
Current depth within history buffer.
int readline_history(const char *prompt, const char *prefill, struct readline_history *history, unsigned long timeout, char **line)
Read line from console (with history)
struct readline_history_entry entries[READLINE_HISTORY_MAX_DEPTH+1]
History entries.
char * temp
Temporary copy of string.
unsigned int next
Position of next entry within buffer.
A readline history buffer.
char * string
Persistent copy of string.
A readline history entry.