Nut/OS  4.10.3
API Reference
history.c File Reference
#include <gorp/edline.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for history.c:

Go to the source code of this file.


EDITHISTORYEditHistoryCreate (int siz)
 Create an editor history table.
void EditHistoryDestroy (EDITHISTORY *hist)
 Create an editor history table.
void EditHistorySet (EDITHISTORY *hist, int idx, char *buf)
 Replace the specified history table entry.
int EditHistoryGet (EDITHISTORY *hist, int idx, char *buf, int siz)
 Retrieve the specified history table entry.
void EditHistoryInsert (EDITHISTORY *hist, int idx, char *buf)
 Insert a new history table entry at the specified position.