Commit | Line | Data |
---|---|---|
805e021f CE |
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 | #ifdef AFS_DUX40_ENV | |
33 | extern int afs_setpag(void); | |
34 | #else | |
35 | extern int setpag(void); | |
36 | #endif | |
37 | ||
38 | /* rmtsysnet.c */ | |
39 | extern void inparam_conversion(afs_int32, char *, afs_int32); | |
40 | extern void outparam_conversion(afs_int32, char *, afs_int32); | |
41 | ||
42 | /* rmtsyss.c */ | |
43 | extern void rmt_Quit(char *msg, ...) | |
44 | AFS_ATTRIBUTE_FORMAT(__printf__, 1, 2) | |
45 | AFS_NORETURN; | |
46 | ||
47 | extern void rmtsysd(void); | |
48 | ||
49 | /* setpag.c */ | |
50 | extern int lsetpag(void); | |
51 | ||
52 | #endif |