Remove DUX/OSF code
[openafs.git] / src / sys / sys_prototypes.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef _SYS_PROTOTYPES_H
11 #define _SYS_PROTOTYPES_H
12
13 /* glue.c */
14 #ifdef AFS_LINUX20_ENV
15 extern int proc_afs_syscall(long, long, long, long, long, int *);
16 #endif
17 #ifdef AFS_DARWIN80_ENV
18 extern int ioctl_afs_syscall(long, long, long, long, long, long, long, int *);
19 #endif
20 #ifdef AFS_SUN511_ENV
21 extern int ioctl_sun_afs_syscall(long, uintptr_t, uintptr_t, uintptr_t,
22                                  uintptr_t, uintptr_t, uintptr_t, int*);
23 #endif
24
25 /* pioctl.c */
26 extern int lpioctl(char *, int, void *, int);
27
28 /* rmtsysc.c */
29 struct ViceIoctl;
30 extern int pioctl(char *path, afs_int32 cmd, struct ViceIoctl *data,
31                   afs_int32 follow);
32 extern int setpag(void);
33
34 /* rmtsysnet.c */
35 extern void inparam_conversion(afs_int32, char *, afs_int32);
36 extern void outparam_conversion(afs_int32, char *, afs_int32);
37
38 /* rmtsyss.c */
39 extern void rmt_Quit(char *msg, ...)
40     AFS_ATTRIBUTE_FORMAT(__printf__, 1, 2)
41     AFS_NORETURN;
42
43 extern void rmtsysd(void);
44
45 /* setpag.c */
46 extern int lsetpag(void);
47
48 #endif