Started work on bash style history

This commit is contained in:
James Booth
2012-04-30 01:09:42 +01:00
parent c511d7c99f
commit b6c5fef45e
7 changed files with 161 additions and 3 deletions

11
prof_history.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef PROF_HISTORY_H
#define PROF_HISTORY_H
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);
void p_history_append(PHistory history, char *item);
#endif