Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
BitchX
GitHub Repository: BitchX/BitchX1.3
Path: blob/master/include/history.h
1069 views
1
/*
2
* history.h: header for history.c
3
*
4
* Copyright 1990 Michael Sandrof
5
* Copyright 1997 EPIC Software Labs
6
* See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT
7
*
8
* @(#)$Id: history.h 3 2008-02-25 09:49:14Z keaston $
9
*/
10
11
#ifndef __history_h__
12
#define __history_h__
13
14
BUILT_IN_COMMAND(history);
15
void set_history_size (Window *, char *, int);
16
void add_to_history (char *);
17
char *get_from_history (int);
18
void get_history (int);
19
char *do_history (char *, char *);
20
void shove_to_history (char, char *);
21
22
/* used by get_history */
23
#define NEXT 0
24
#define PREV 1
25
26
#endif /* _HISTORY_H_ */
27
28