3f3c46d727400ac01e84e20477d1d220b263df5f
[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
21 /* pioctl.c */
22 extern int lpioctl(char *, int, void *, int);
23
24 /* rmtsysc.c */
25 struct ViceIoctl;
26 extern int pioctl(char *path, afs_int32 cmd, struct ViceIoctl *data, 
27                   afs_int32 follow);
28 #ifdef AFS_DUX40_ENV
29 extern int afs_setpag(void);
30 #else
31 extern int setpag(void);
32 #endif
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
41 /* setpag.c */
42 extern int lsetpag(void);
43
44 #endif