mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-22 11:04:51 -04:00
24 lines
878 B
Plaintext
24 lines
878 B
Plaintext
$NetBSD: patch-aa,v 1.1 2006/06/20 03:37:04 minskim Exp $
|
|
|
|
--- src/history.h.orig 1999-03-06 14:43:24.000000000 -0800
|
|
+++ src/history.h
|
|
@@ -12,6 +12,18 @@
|
|
|
|
# ifndef NO_HISTORY
|
|
|
|
+typedef struct History { /* circular list of Alines, and logfile */
|
|
+ struct Aline **alines;
|
|
+ int size; /* actual number of lines currently saved */
|
|
+ int maxsize; /* maximum number of lines that can be saved */
|
|
+ int first; /* position of first line in circular array */
|
|
+ int last; /* position of last line in circular array */
|
|
+ int index; /* current recall position */
|
|
+ int total; /* total number of lines ever saved */
|
|
+ TFILE *logfile;
|
|
+ CONST char *logname;
|
|
+} History;
|
|
+
|
|
extern void NDECL(init_histories);
|
|
extern struct History *FDECL(init_history,(struct History *hist, int maxsize));
|
|
extern void FDECL(free_history,(struct History *hist));
|