/core/10.5/fusefs/fuse_vfsops.h
http://macfuse.googlecode.com/ · C Header · 57 lines · 34 code · 17 blank · 6 comment · 0 complexity · 2ec068c6273787d92f8a6b2565ee52af MD5 · raw file
- /*
- * Copyright (C) 2006-2008 Google. All Rights Reserved.
- * Amit Singh <singh@>
- */
- #ifndef _FUSE_VFSOPS_H_
- #define _FUSE_VFSOPS_H_
- #include <sys/kernel_types.h>
- #include <sys/mount.h>
- #include <sys/stat.h>
- #include <sys/types.h>
- #include <sys/vnode.h>
- #include <fuse_param.h>
- struct fuse_data;
- struct fuse_ticket;
- extern struct vnodeopv_entry_desc fuse_vnode_operation_entries[];
- #if M_MACFUSE_ENABLE_SPECFS
- extern struct vnodeopv_entry_desc fuse_spec_operation_entries[];
- #endif
- #if M_MACFUSE_ENABLE_FIFOFS
- extern struct vnodeopv_entry_desc fuse_fifo_operation_entries[];
- #endif
- /* VFS operations */
- static errno_t
- fuse_vfsop_mount(mount_t mp, vnode_t devvp, user_addr_t data,
- vfs_context_t context);
- static errno_t
- fuse_vfsop_unmount(mount_t mp, int mntflags, vfs_context_t context);
- static errno_t
- fuse_vfsop_root(mount_t mp, vnode_t *vpp, vfs_context_t context);
- static errno_t
- fuse_vfsop_getattr(mount_t mp, struct vfs_attr *attr, vfs_context_t context);
- static errno_t
- fuse_vfsop_sync(mount_t mp, int waitfor, vfs_context_t context);
- static errno_t
- fuse_vfsop_setattr(mount_t mp, struct vfs_attr *fsap,
- __unused vfs_context_t context);
- /* Other VFS operations */
- extern int
- fuse_setextendedsecurity(mount_t mp, int state);
- #endif /* _FUSE_VFSOPS_H_ */