history
["Tiny Readline Library"]

This class handles the maintenance of a historical list of command lines. More...

Data Structures

struct  _tinyrl_history_iterator

Typedefs

typedef _tinyrl_history_entry tinyrl_history_entry_t
typedef _tinyrl_history tinyrl_history_t
typedef _tinyrl_history_iterator tinyrl_history_iterator_t

Enumerations

enum  tinyrl_history_expand_t { tinyrl_history_NO_EXPANSION, tinyrl_history_EXPANDED }

Functions

const char * tinyrl_history_entry__get_line (const tinyrl_history_entry_t *instance)
unsigned tinyrl_history_entry__get_index (const tinyrl_history_entry_t *instance)
tinyrl_history_t * tinyrl_history_new (unsigned stifle)
void tinyrl_history_delete (tinyrl_history_t *instance)
void tinyrl_history_add (tinyrl_history_t *instance, const char *line)
tinyrl_history_entry_t * tinyrl_history_getfirst (const tinyrl_history_t *instance, tinyrl_history_iterator_t *iter)
tinyrl_history_entry_t * tinyrl_history_getlast (const tinyrl_history_t *instance, tinyrl_history_iterator_t *iter)
tinyrl_history_entry_t * tinyrl_history_getnext (tinyrl_history_iterator_t *iter)
tinyrl_history_entry_t * tinyrl_history_getprevious (tinyrl_history_iterator_t *iter)
tinyrl_history_entry_t * tinyrl_history_remove (tinyrl_history_t *instance, unsigned offset)
void tinyrl_history_clear (tinyrl_history_t *instance)
void tinyrl_history_stifle (tinyrl_history_t *instance, unsigned stifle)
unsigned tinyrl_history_unstifle (tinyrl_history_t *instance)
bool_t tinyrl_history_is_stifled (const tinyrl_history_t *instance)
tinyrl_history_entry_t ** tinyrl_history_list (const tinyrl_history_t *instance)
tinyrl_history_entry_t * tinyrl_history_get (const tinyrl_history_t *instance, unsigned offset)
tinyrl_history_expand_t tinyrl_history_expand (const tinyrl_history_t *instance, const char *string, char **output)

Detailed Description

This class handles the maintenance of a historical list of command lines.


Typedef Documentation

typedef struct _tinyrl_history_iterator tinyrl_history_iterator_t

This type is used for the iteration of history entries


Generated on Tue Apr 29 13:41:09 2008 for CLISH by  doxygen 1.5.1