Catch up with FBSD80's removal of thread argument to VFS calls
[openafs.git] / src / afs / FBSD / osi_prototypes.h
index f4aad3c..f2efcb7 100644 (file)
@@ -9,7 +9,7 @@
 /*
  * osi_prototypes.h
  *
- * Exported macos support routines.
+ * Exported support routines.
  */
 #ifndef _OSI_PROTO_H_
 #define _OSI_PROTO_H_
@@ -19,5 +19,19 @@ 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);
+#elif defined(AFS_FBSD50_ENV)
+extern int afs_statfs(struct mount *mp, struct statfs *abp, struct thread *th);
+#else
+extern int afs_statfs(struct mount *mp, struct statfs *abp, struct proc *p);
+#endif
+
 #endif /* _OSI_PROTO_H_ */