Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / afs / UKERNEL / osi_prototypes.h
CommitLineData
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 UKERNEL support routines.
13 */
14#ifndef _OSI_PROTO_H_
15#define _OSI_PROTO_H_
16/* osi_vfsops.c */
17extern int afs_statvfs(struct vfs *afsp, struct statvfs *abp);
18extern int afs_mount(struct vfs *afsp, char *path, void *data);
19extern int afs_unmount(struct vfs *afsp);
20extern int afs_root(OSI_VFS_DECL(afsp), struct vnode **avpp);
21extern int afs_sync(struct vfs *afsp);
22extern int afs_statfs(struct vfs *afsp, struct statfs *abp);
23extern int afs_mountroot(void);
24extern int afs_swapvp(void);
25
26/* osi_vnodeops.c */
27extern int afs_vrdwr(struct usr_vnode *avc, struct usr_uio *uio, int rw,
28 int io, struct usr_ucred *cred);
29extern int afs_inactive(struct vcache *avc, afs_ucred_t *acred);
30
31#endif