|
Lines 31-36
extern void NDECL(free_histories);
|
Link Here
|
|---|
|
#define record_global(aline) recordline(globalhist, (aline)) | #define record_global(aline) recordline(globalhist, (aline)) |
#define record_local(aline) recordline(localhist, (aline)) | #define record_local(aline) recordline(localhist, (aline)) |
| |
|
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 struct History globalhist[], localhist[]; | extern struct History globalhist[], localhist[]; |
extern int log_count, norecord, nolog; | extern int log_count, norecord, nolog; |
| |