Fix build for FreeBSD 10.0
[openafs.git] / src / afs / FBSD / osi_prototypes.h
index b6bac79..c3c3b60 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2000, International Business Machines Corporation and others.
  * All Rights Reserved.
- * 
+ *
  * This software has been released under the terms of the IBM Public
  * License.  For details, see the LICENSE file in the top-level source
  * directory or online at http://www.openafs.org/dl/license10.html
@@ -9,12 +9,29 @@
 /*
  * osi_prototypes.h
  *
- * Exported macos support routines.
+ * Exported support routines.
  */
 #ifndef _OSI_PROTO_H_
 #define _OSI_PROTO_H_
 
+/* osi_file.c */
+extern afs_rwlock_t afs_xosi;
+
 /* osi_misc.c */
 extern int osi_lookupname(char *aname, enum uio_seg seg, int followlink,
-                         struct vnode **dirvpp, struct vnode **vpp);
+                         struct vnode **vpp);
+extern void *osi_fbsd_alloc(size_t size, int dropglobal);
+extern void osi_fbsd_free(void *p);
+
+/* osi_vfsops.c */
+int afs_init(struct vfsconf *vfc);
+int afs_uninit(struct vfsconf *vfc);
+#if defined(AFS_FBSD80_ENV)
+extern int afs_statfs(struct mount *mp, struct statfs *abp);
+#else
+extern int afs_statfs(struct mount *mp, struct statfs *abp, struct thread *td);
+#endif
+
+extern int osi_fbsd_checkinuse(struct vcache *avc);
+
 #endif /* _OSI_PROTO_H_ */