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 macos support routines. | |
13 | */ | |
14 | #ifndef _OSI_PROTO_H_ | |
15 | #define _OSI_PROTO_H_ | |
16 | ||
17 | /* osi_misc.c */ | |
18 | extern void darwin_notify_perms(struct unixuser *auser, int event); | |
19 | extern int osi_lookupname(char *aname, enum uio_seg seg, int followlink, | |
20 | struct vnode **vpp); | |
21 | extern int osi_lookupname_user(user_addr_t aname, enum uio_seg seg, | |
22 | int followlink, struct vnode **vpp); | |
23 | extern int afs_suser(void *credp); | |
24 | extern void get_vfs_context(void); | |
25 | extern void put_vfs_context(void); | |
26 | ||
27 | /* osi_sleep.c */ | |
28 | extern void afs_osi_fullSigMask(void); | |
29 | extern void afs_osi_fullSigRestore(void); | |
30 | ||
31 | /* osi_vm.c */ | |
32 | extern void osi_VM_NukePages(struct vnode *vp, off_t offset, off_t size); | |
33 | extern int osi_VM_Setup(struct vcache *avc, int force); | |
34 | ||
35 | /* osi_vnodeops.c */ | |
36 | extern int afs_darwin_getnewvnode(struct vcache *avc); | |
37 | extern int afs_darwin_finalizevnode(struct vcache *avc, struct vnode *parent, | |
38 | struct componentname *cnp, int isroot, | |
39 | int locked); | |
40 | #endif /* _OSI_PROTO_H_ */ |