|
|
1.1 root 1: /***************************************************************************
2: * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne. JOVE *
3: * is provided to you without charge, and with no warranty. You may give *
4: * away copies of JOVE, including sources, provided that this notice is *
5: * included in all the files. *
6: ***************************************************************************/
7:
8: extern char *HomeDir;
9:
10: extern size_t HomeLen;
11:
12: extern int DOLsave; /* Do Lsave flag. If lines aren't being saved
13: when you think they should have been, this
14: flag is probably not being set, or is being
15: cleared before lsave() was called. */
16:
17: extern daddr DFree; /* pointer to end of tmp file */
18:
19: extern int Jr_Len; /* length of Just Read Line */
20:
21: extern char
22: *lbptr proto((struct line *line)),
23: *pr_name proto((char *fname,int okay_home)),
24: *pwd proto((void)),
25: *sprint proto((char *, ...));
26:
27: extern struct _file
28: *open_file proto((char *fname,char *buf,int how,int complainifbad,int loudness));
29:
30: extern void
31: setCWD proto((char *d)),
32: getCWD proto((void)),
33: PathParse proto((char *name,char *intobuf)),
34: SyncTmp proto((void)),
35: close_file proto((struct _file *fp)),
36: d_cache_init proto((void)),
37: file_write proto((char *fname,int app)),
38: filemunge proto((char *newname)),
39: getline proto((daddr addr,char *buf)),
40: lsave proto((void)),
41: putreg proto((struct _file *fp,struct line *line1,int char1,struct line *line2,int char2,int makesure)),
42: read_file proto((char *file,int is_insert)),
43: tmpclose proto((void)),
44: tmpinit proto((void)),
45:
46: WriteFile proto((void));
47:
48: extern int
49: chkCWD proto((char *dn));
50:
51: extern daddr
52: f_getputl proto((struct line *line,struct _file *fp)),
53: putline proto((char *buf));
54:
55: #if !(defined(MSDOS) || defined(MAC))
56: extern void
57: chk_mtime proto((Buffer *thisbuf, char *fname, char *how));
58: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.