#include <histedit.h>EditLine *
el_init(const char *prog, FILE *fin, FILE *fout, FILE *ferr);
void
el_end(EditLine *e);
void
el_reset(EditLine *e);
const char *
el_gets(EditLine *e, int *count);
const wchar_t *
el_wgets(EditLine *e, int *count);
int
el_getc(EditLine *e, char *ch);
int
el_wgetc(EditLine *e, wchar_t *ch);
void
el_push(EditLine *e, const char *str);
void
el_wpush(EditLine *e, const wchar_t *str);
int
el_parse(EditLine *e, int argc, const char *argv[]);
int
el_wparse(EditLine *e, int argc, const wchar_t *argv[]);
int
el_set(EditLine *e, int op, ...);
int
el_wset(EditLine *e, int op, ...);
int
el_get(EditLine *e, int op, ...);
int
el_wget(EditLine *e, int op, ...);
int
el_source(EditLine *e, const char *file);
void
el_resize(EditLine *e);
const LineInfo *
el_line(EditLine *e);
int
el_insertstr(EditLine *e, const char *str);
int
el_winsertstr(EditLine *e, const wchar_t *str);
void
el_deletestr(EditLine *e, int count);
void
el_wdeletestr(EditLine *e, int count);
History *
history_init();
HistoryW *
history_winit();
void
history_end(History *h);
void
history_wend(HistoryW *h);
int
history(History *h, HistEvent *ev, int op, ...);
int
history_w(HistoryW *h, HistEventW *ev, int op, ...);
Tokenizer *
tok_init(const char *IFS);
TokenizerW *
tok_winit(const wchar_t *IFS);
void
tok_end(Tokenizer *t);
void
tok_wend(TokenizerW *t);
void
tok_reset(Tokenizer *t);
void
tok_wreset(TokenizerW *t);
int
tok_line(Tokenizer *t, const LineInfo *li, int *argc, const char **argv[], int *cursorc, int *cursoro);
int
tok_wline(TokenizerW *t, const LineInfoW *li, int *argc, const wchar_t **argv[], int *cursorc, int *cursoro);
int
tok_str(Tokenizer *t, const char *str, int *argc, const char **argv[]);
int
tok_wstr(TokenizerW *t, const wchar_t *str, int *argc, const wchar_t **argv[]);