Files
bitchx/include/history.h
Kevin Easton 3f87eb31b1 Standardise header include guards
Tokens that begin with two underscores __* or an underscore and an uppercase letter _X* are reserved,
so we should avoid those for our own include guards.  The standard I'm settling on for foo.h is FOO_H_.
2017-05-10 23:30:11 +10:00

26 lines
555 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$
*/
#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_ */