Files
bitchx/include/history.h
2013-01-01 03:00:55 -08:00

27 lines
606 B
C

/*
* history.h: header for history.c
*
* Copyright 1990 Michael Sandrof
* Copyright 1997 EPIC Software Labs
* See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT
*
* @(#)$Id: history.h 3 2008-02-25 09:49:14Z keaston $
*/
#ifndef __history_h__
#define __history_h__
BUILT_IN_COMMAND(history);
void set_history_size (Window *, char *, int);
void add_to_history (char *);
char *get_from_history (int);
void get_history (int);
char *do_history (char *, char *);
void shove_to_history (char, char *);
/* used by get_history */
#define NEXT 0
#define PREV 1
#endif /* _HISTORY_H_ */