Create history session

This commit is contained in:
James Booth
2012-04-30 02:36:45 +01:00
parent b6c5fef45e
commit f21cb52ab0
3 changed files with 137 additions and 39 deletions

View File

@@ -4,8 +4,8 @@
typedef struct p_history_t *PHistory;
PHistory p_history_new(unsigned int size);
char * p_history_previous(PHistory history);
char * p_history_next(PHistory history);
char * p_history_previous(PHistory history, char *item);
char * p_history_next(PHistory history, char *item);
void p_history_append(PHistory history, char *item);
#endif