|
1 /* Generated automatically */ |
|
2 #ifndef have_Src_hist_globals |
|
3 #define have_Src_hist_globals |
|
4 |
|
5 extern mod_import_variable int(*hgetc)_((void)); |
|
6 extern void(*hungetc)_((int)); |
|
7 extern void(*hwaddc)_((int)); |
|
8 extern void(*hwbegin)_((int)); |
|
9 extern void(*hwend)_((void)); |
|
10 extern void(*addtoline)_((int)); |
|
11 extern mod_import_variable int stophist; |
|
12 extern mod_import_variable int expanding; |
|
13 extern mod_import_variable int excs; |
|
14 extern mod_import_variable int exlast; |
|
15 extern mod_import_variable zlong curhist; |
|
16 extern struct histent curline; |
|
17 extern zlong histlinect; |
|
18 extern HashTable histtab; |
|
19 extern mod_import_variable Histent hist_ring; |
|
20 extern zlong histsiz; |
|
21 extern zlong savehistsiz; |
|
22 extern int histdone; |
|
23 extern int histactive; |
|
24 extern int hist_ignore_all_dups; |
|
25 extern mod_import_variable int hist_skip_flags; |
|
26 extern short*chwords; |
|
27 extern int chwordlen; |
|
28 extern int chwordpos; |
|
29 extern char*hsubl; |
|
30 extern char*hsubr; |
|
31 extern mod_import_variable char*hptr; |
|
32 extern mod_import_variable char*chline; |
|
33 extern int qbang; |
|
34 extern int hlinesz; |
|
35 extern void iaddtoline _((int c)); |
|
36 extern void herrflush _((void)); |
|
37 extern mod_import_function void strinbeg _((int dohist)); |
|
38 extern mod_import_function void strinend _((void)); |
|
39 extern mod_import_function void hbegin _((int dohist)); |
|
40 extern void histreduceblanks _((void)); |
|
41 extern void histremovedups _((void)); |
|
42 extern mod_import_function zlong addhistnum _((zlong hl,int n,int xflags)); |
|
43 extern mod_import_function Histent movehistent _((Histent he,int n,int xflags)); |
|
44 extern mod_import_function Histent up_histent _((Histent he)); |
|
45 extern mod_import_function Histent down_histent _((Histent he)); |
|
46 extern mod_import_function Histent gethistent _((zlong ev,int nearmatch)); |
|
47 extern Histent prepnexthistent _((void)); |
|
48 extern mod_import_function int hend _((Eprog prog)); |
|
49 extern int hwgetword; |
|
50 extern void ihwbegin _((int offset)); |
|
51 extern void ihwend _((void)); |
|
52 extern void histbackword _((void)); |
|
53 extern void hwrep _((char*rep)); |
|
54 extern mod_import_function char*hgetline _((void)); |
|
55 extern zlong hcomsearch _((char*str)); |
|
56 extern int remtpath _((char**junkptr)); |
|
57 extern int remtext _((char**junkptr)); |
|
58 extern int rembutext _((char**junkptr)); |
|
59 extern mod_import_function int remlpaths _((char**junkptr)); |
|
60 extern int makeuppercase _((char**junkptr)); |
|
61 extern int makelowercase _((char**junkptr)); |
|
62 extern int makecapitals _((char**junkptr)); |
|
63 extern void subst _((char**strptr,char*in,char*out,int gbal)); |
|
64 extern mod_import_function void checkcurline _((Histent he)); |
|
65 extern mod_import_function Histent quietgethist _((int ev)); |
|
66 extern void upcase _((char**x)); |
|
67 extern void downcase _((char**x)); |
|
68 extern int quote _((char**tr)); |
|
69 extern void inithist _((void)); |
|
70 extern void resizehistents _((void)); |
|
71 extern void readhistfile _((char*fn,int err,int readflags)); |
|
72 extern void savehistfile _((char*fn,int err,int writeflags)); |
|
73 extern int lockhistfile _((char*fn,int keep_trying)); |
|
74 extern void unlockhistfile _((char*fn)); |
|
75 extern int histfileIsLocked _((void)); |
|
76 extern mod_import_function LinkList bufferwords _((LinkList list,char*buf,int*index)); |
|
77 extern int pushhiststack _((char*hf,zlong hs,zlong shs,int level)); |
|
78 extern int pophiststack _((void)); |
|
79 extern int saveandpophiststack _((int pop_through,int writeflags)); |
|
80 |
|
81 #endif /* !have_Src_hist_globals */ |