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 | * osi_prototypes.h | |
11 | * | |
12 | * Exported support routines. | |
13 | */ | |
14 | #ifndef _OSI_PROTO_H_ | |
15 | #define _OSI_PROTO_H_ | |
16 | ||
17 | /* osi_misc.c */ | |
18 | extern int osi_lookupname(char *aname, enum uio_seg seg, int followlink, | |
19 | struct vnode **vpp); | |
20 | extern void *osi_fbsd_alloc(size_t size, int dropglobal); | |
21 | extern void osi_fbsd_free(void *p); | |
22 | ||
23 | /* osi_vfsops.c */ | |
24 | int afs_init(struct vfsconf *vfc); | |
25 | int afs_uninit(struct vfsconf *vfc); | |
26 | #if defined(AFS_FBSD80_ENV) | |
27 | extern int afs_statfs(struct mount *mp, struct statfs *abp); | |
28 | #else | |
29 | extern int afs_statfs(struct mount *mp, struct statfs *abp, struct thread *td); | |
30 | #endif | |
31 | ||
32 | extern int osi_fbsd_checkinuse(struct vcache *avc); | |
33 | ||
34 | #endif /* _OSI_PROTO_H_ */ |