aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/bootlib/bootlib.h
blob: b1bbbc7a754606689cd0ddc9eb9e69a1d45dfa8e (plain) (blame)
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
#include <stdio.h>
#include <ctype.h>
#define	import_spp
#define	NOKNET
#define	import_knames
#include <iraf.h>

#define	SZ_FBUF		512		/* File i/o buffer size		*/

#ifdef VMS
#define	rindex	strrchr 
struct	timeval {
	long	tv_sec;
	long	tv_usec;
};
#else
#include <sys/time.h>
#endif


# ifdef FINIT
int	bdebug = 0;			/* print debug stuff		*/
int	osfiletype;			/* type of single output file	*/
XCHAR	text[SZ_FBUF];			/* output text line if textfile	*/
XCHAR	*txop;				/* next char in output buf	*/
# else
extern	int bdebug;
extern	int osfiletype;
extern	XCHAR text[];
extern	XCHAR *txop;
# endif

char	*vfn2osfn();
char	*osfn2vfn();
char	*os_strpak();
XCHAR	*os_strupk();