File: extend.h

package info (click to toggle)
jove 4.16-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,804 kB
  • ctags: 2,864
  • sloc: ansic: 27,140; makefile: 399
file content (45 lines) | stat: -rw-r--r-- 1,625 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
/************************************************************************
 * This program is Copyright (C) 1986-1996 by Jonathan Payne.  JOVE is  *
 * provided to you without charge, and with no warranty.  You may give  *
 * away copies of JOVE, including sources, provided that this notice is *
 * included in all the files.                                           *
 ************************************************************************/

/* values for the `flags' argument to complete (may be combined) */
#define CASEIND		001	/* map all to lower case */
#define ALLOW_OLD	002	/* accept member */
#define ALLOW_INDEX	004	/* accept index number as answer (on CR) */
#define ALLOW_NEW	010	/* accept non-member (on CR) */
#define ALLOW_EMPTY	020	/* accept empty answer (on CR) */

extern int	InJoverc;	/* depth in sourcing */

extern bool	joverc proto((char *file));

#ifdef USE_PROTOTYPES
struct variable;	/* forward declaration preventing prototype scoping */
#endif /* USE_PROTOTYPES */

extern void
	DoAutoExec proto((char *new, char *old)),
	vpr_aux proto((const struct variable *, char *, size_t)),
	vset_aux proto((const struct variable *, char *));

extern ZXchar
	addgetc proto((void));

extern int
	ask_int proto((char *def, char *prompt, int base)),
	complete proto((char **possible, const char *def, const char *prompt, int flags));

extern bool	chr_to_int proto((char *cp, int base, bool allints, int *result));

/* Commands: */
extern void
	BufPos proto((void)),
	CAutoExec proto((void)),
	Extend proto((void)),
	MAutoExec proto((void)),
	PrVar proto((void)),
	SetVar proto((void)),
	Source proto((void));