HGFS: move all VMware-specific code into libhgfs
This commit is contained in:
@@ -26,22 +26,13 @@ struct hgfs_attr {
|
||||
#define HGFS_ATTR_MTIME 0x08 /* get/set file modification time */
|
||||
#define HGFS_ATTR_CTIME 0x10 /* get/set file change time */
|
||||
#define HGFS_ATTR_MODE 0x20 /* get/set file mode */
|
||||
#define HGFS_ATTR_ATIME_SET 0x40 /* set specific file access time */
|
||||
#define HGFS_ATTR_MTIME_SET 0x80 /* set specific file modify time */
|
||||
#define HGFS_ATTR_ALL \
|
||||
(HGFS_ATTR_SIZE | HGFS_ATTR_CRTIME | HGFS_ATTR_ATIME | \
|
||||
HGFS_ATTR_MTIME | HGFS_ATTR_CTIME | HGFS_ATTR_MODE | \
|
||||
HGFS_ATTR_ATIME_SET | HGFS_ATTR_MTIME_SET)
|
||||
|
||||
int hgfs_init(void);
|
||||
void hgfs_cleanup(void);
|
||||
|
||||
int hgfs_enabled(void);
|
||||
|
||||
int hgfs_open(char *path, int flags, int mode, hgfs_file_t *handle);
|
||||
int hgfs_read(hgfs_file_t handle, char *buf, size_t size, u64_t offset);
|
||||
int hgfs_write(hgfs_file_t handle, const char *buf, size_t len, u64_t
|
||||
offset, int append);
|
||||
int hgfs_write(hgfs_file_t handle, char *buf, size_t len, u64_t offset);
|
||||
int hgfs_close(hgfs_file_t handle);
|
||||
|
||||
size_t hgfs_readbuf(char **ptr);
|
||||
|
||||
Reference in New Issue
Block a user