include/readline/history.h File Reference

#include <time.h>
#include <readline/able_history.h>

Include dependency graph for history.h:

Go to the source code of this file.

Data Structures

struct  _hist_state
 GNU readline history state (for compatability). More...

Defines

#define _ABLE_CLIB_HISTORY_H   1

Typedefs

typedef struct line_hist_s HIST_ENTRY
 GNU readline history entry (for compatibility).
typedef struct _hist_state HISTORY_STATE
 GNU readline history state (for compatability).

Functions

void using_history (void)
HISTORY_STATEhistory_get_history_state (void)
void history_set_history_state (HISTORY_STATE *state)
void add_history (const char *string)
void add_history_time (const char *string)
HIST_ENTRYremove_history (int which)
histdata_t free_history_entry (HIST_ENTRY *histent)
HIST_ENTRYreplace_history_entry (int which, const char *line, histdata_t data)
void clear_history (void)
void stifle_history (int max)
int unstifle_history (void)
int history_is_stifled (void)
HIST_ENTRY ** history_list (void)
int where_history (void)
HIST_ENTRYcurrent_history (void)
HIST_ENTRYhistory_get (int offset)
time_t history_get_time (HIST_ENTRY *)
int history_total_bytes (void)
int history_set_pos (int pos)
HIST_ENTRYprevious_history (void)
HIST_ENTRYnext_history (void)
int history_search (const char *string, int direction)
int history_search_prefix (const char *string, int direction)
int history_search_pos (const char *string, int direction, int pos)
int read_history (const char *filename)
int read_history_range (const char *filename, int from, int to)
int write_history (const char *filename)
int append_history (int nelements, const char *filename)
int history_truncate_file (const char *filename, int nlines)
int history_expand (char *string, char **output)
char * get_history_event (const char *string, int *cindex, int qchar)
char ** history_tokenize (const char *string)
char * history_arg_extract (int first, int last, const char *string)

Variables

int history_base
int history_length
int history_max_entries
int history_write_timestamps
char history_expansion_char
char history_subst_char
char history_comment_char
char * history_word_delimiters
char * history_no_expand_chars
char * history_search_delimiter_chars
int history_quotes_inhibit_expansion


Define Documentation

#define _ABLE_CLIB_HISTORY_H   1


Typedef Documentation

typedef struct line_hist_s HIST_ENTRY

GNU readline history entry (for compatibility).

typedef struct _hist_state HISTORY_STATE

GNU readline history state (for compatability).


Function Documentation

void add_history ( const char *  string  ) 

void add_history_time ( const char *  string  ) 

int append_history ( int  nelements,
const char *  filename 
)

void clear_history ( void   ) 

HIST_ENTRY* current_history ( void   ) 

histdata_t free_history_entry ( HIST_ENTRY histent  ) 

char* get_history_event ( const char *  string,
int *  cindex,
int  qchar 
)

char* history_arg_extract ( int  first,
int  last,
const char *  string 
)

int history_expand ( char *  string,
char **  output 
)

HIST_ENTRY* history_get ( int  offset  ) 

HISTORY_STATE* history_get_history_state ( void   ) 

time_t history_get_time ( HIST_ENTRY  ) 

int history_is_stifled ( void   ) 

HIST_ENTRY** history_list ( void   ) 

int history_search ( const char *  string,
int  direction 
)

int history_search_pos ( const char *  string,
int  direction,
int  pos 
)

int history_search_prefix ( const char *  string,
int  direction 
)

void history_set_history_state ( HISTORY_STATE state  ) 

int history_set_pos ( int  pos  ) 

char** history_tokenize ( const char *  string  ) 

int history_total_bytes ( void   ) 

int history_truncate_file ( const char *  filename,
int  nlines 
)

HIST_ENTRY* next_history ( void   ) 

HIST_ENTRY* previous_history ( void   ) 

int read_history ( const char *  filename  ) 

int read_history_range ( const char *  filename,
int  from,
int  to 
)

HIST_ENTRY* remove_history ( int  which  ) 

HIST_ENTRY* replace_history_entry ( int  which,
const char *  line,
histdata_t  data 
)

void stifle_history ( int  max  ) 

int unstifle_history ( void   ) 

void using_history ( void   ) 

int where_history ( void   ) 

int write_history ( const char *  filename  ) 


Variable Documentation


Generated on Tue Jan 20 14:28:57 2009 for ABLE LIBC by  doxygen 1.5.6