File: ufile.h

package info (click to toggle)
joe 3.5-1.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,088 kB
  • ctags: 2,405
  • sloc: ansic: 33,186; sh: 3,413; makefile: 130
file content (49 lines) | stat: -rw-r--r-- 1,433 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 * 	User file operations
 *	Copyright
 *	(C) 1992 Joseph H. Allen
 *
 *	This file is part of JOE (Joe's Own Editor)
 */
#ifndef _JOE_UFILE_H
#define _JOE_UFILE_H 1

extern int exask; /* Ask for file name during ^K X */

void genexmsg PARAMS((BW *bw, int saved, unsigned char *name));

int ublksave PARAMS((BW *bw));
int ushell PARAMS((BW *bw));
int usys PARAMS((BW *bw));
int usave PARAMS((BW *bw));
int usavenow PARAMS((BW *bw));
int uedit PARAMS((BW *bw));
int uswitch PARAMS((BW *bw));
int uscratch PARAMS((BW *bw));
int uinsf PARAMS((BW *bw));
int uexsve PARAMS((BW *bw));
int unbuf PARAMS((BW *bw));
int upbuf PARAMS((BW *bw));
int uask PARAMS((BW *bw));
int ubufed PARAMS((BW *bw));
int ulose PARAMS((BW *bw));
int okrepl PARAMS((BW *bw));
int doswitch PARAMS((BW *bw, unsigned char *s, void *obj, int *notify));
int uquerysave PARAMS((BW *bw));
int ukilljoe PARAMS((BW *bw));
int get_buffer_in_window PARAMS((BW *bw, B *b));

extern B *filehist; /* History of file names */

extern int nobackups; /* Set to disable backup files */
extern unsigned char *backpath; /* Path to backup files if not current directory */
extern int orphan; /* Set to keep orphaned buffers (buffers with no windows)  */

extern unsigned char *yes_key;
extern unsigned char *no_key;
#define YES_CODE -10
#define NO_CODE -20
int yncheck PARAMS((unsigned char *string, int c));
int ynchecks PARAMS((unsigned char *string, unsigned char *s));

#endif