aboutsummaryrefslogtreecommitdiffstats
path: root/src/history.h
blob: 6c1bdbad0ea9b1316a3ebc7774de59cc3d0f7f9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * history.h:
 *
 * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
 * All rights reserved.
 *
 */

/*
 * $Id$
 */

/*
 * $Log$
 * Revision 1.1  2008/02/08 15:06:42  james
 * *** empty log message ***
 *
 */

#ifndef __HISTORY_H__
#define __HISTORY_H__

typedef struct {
int valid;
time_t t;
CRT_CA line[CRT_COLS];
} History_ent;

typedef struct {
History_ent *lines;
int nlines;
int wptr;
} History;

#endif /* __HISTORY_H__ */