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
|
/* $OpenBSD: libsa.h,v 1.2 2001/07/04 08:31:38 niklas Exp $ */
/*
* libsa prototypes
*/
#include "libbug.h"
/* bugdev.c */
int dsk_open __P((struct open_file *, ...));
int dsk_close __P((struct open_file *));
int dsk_ioctl __P((struct open_file *, u_long, void *));
int dsk_strategy __P((void *, int, daddr_t, size_t, void *, size_t *));
int net_open __P((struct open_file *, ...));
int net_close __P((struct open_file *));
int net_ioctl __P((struct open_file *, u_long, void *));
int net_strategy __P((void *, int, daddr_t, size_t, void *, size_t *));
int tape_open __P((struct open_file *, ...));
int tape_close __P((struct open_file *));
int tape_ioctl __P((struct open_file *, u_long, void *));
int tape_strategy __P((void *, int, daddr_t, size_t, void *, size_t *));
/* exec_mvme.c */
void exec_mvme __P((char *, int));
/* parse_args.c */
int parse_args __P((char **, int *));
#define BUGDEV_DISK 0
#define BUGDEV_NET 1
#define BUGDEV_TAPE 2
extern int bootdev_type;
|