/* Generated automatically */
#ifndef have_Src_hist_globals
#define have_Src_hist_globals
extern mod_import_variable int(*hgetc)_((void));
extern void(*hungetc)_((int));
extern void(*hwaddc)_((int));
extern void(*hwbegin)_((int));
extern void(*hwend)_((void));
extern void(*addtoline)_((int));
extern mod_import_variable int stophist;
extern mod_import_variable int expanding;
extern mod_import_variable int excs;
extern mod_import_variable int exlast;
extern mod_import_variable zlong curhist;
extern struct histent curline;
extern zlong histlinect;
extern HashTable histtab;
extern mod_import_variable Histent hist_ring;
extern zlong histsiz;
extern zlong savehistsiz;
extern int histdone;
extern int histactive;
extern int hist_ignore_all_dups;
extern mod_import_variable int hist_skip_flags;
extern short*chwords;
extern int chwordlen;
extern int chwordpos;
extern char*hsubl;
extern char*hsubr;
extern mod_import_variable char*hptr;
extern mod_import_variable char*chline;
extern int qbang;
extern int hlinesz;
extern void iaddtoline _((int c));
extern void herrflush _((void));
extern mod_import_function void strinbeg _((int dohist));
extern mod_import_function void strinend _((void));
extern mod_import_function void hbegin _((int dohist));
extern void histreduceblanks _((void));
extern void histremovedups _((void));
extern mod_import_function zlong addhistnum _((zlong hl,int n,int xflags));
extern mod_import_function Histent movehistent _((Histent he,int n,int xflags));
extern mod_import_function Histent up_histent _((Histent he));
extern mod_import_function Histent down_histent _((Histent he));
extern mod_import_function Histent gethistent _((zlong ev,int nearmatch));
extern Histent prepnexthistent _((void));
extern mod_import_function int hend _((Eprog prog));
extern int hwgetword;
extern void ihwbegin _((int offset));
extern void ihwend _((void));
extern void histbackword _((void));
extern void hwrep _((char*rep));
extern mod_import_function char*hgetline _((void));
extern zlong hcomsearch _((char*str));
extern int remtpath _((char**junkptr));
extern int remtext _((char**junkptr));
extern int rembutext _((char**junkptr));
extern mod_import_function int remlpaths _((char**junkptr));
extern int makeuppercase _((char**junkptr));
extern int makelowercase _((char**junkptr));
extern int makecapitals _((char**junkptr));
extern void subst _((char**strptr,char*in,char*out,int gbal));
extern mod_import_function void checkcurline _((Histent he));
extern mod_import_function Histent quietgethist _((int ev));
extern void upcase _((char**x));
extern void downcase _((char**x));
extern int quote _((char**tr));
extern void inithist _((void));
extern void resizehistents _((void));
extern void readhistfile _((char*fn,int err,int readflags));
extern void savehistfile _((char*fn,int err,int writeflags));
extern int lockhistfile _((char*fn,int keep_trying));
extern void unlockhistfile _((char*fn));
extern int histfileIsLocked _((void));
extern mod_import_function LinkList bufferwords _((LinkList list,char*buf,int*index));
extern int pushhiststack _((char*hf,zlong hs,zlong shs,int level));
extern int pophiststack _((void));
extern int saveandpophiststack _((int pop_through,int writeflags));
#endif /* !have_Src_hist_globals */