Changes in uspace/lib/c/include/vfs/vfs.h [b7fd2a0:f77c1c9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/vfs/vfs.h
rb7fd2a0 rf77c1c9 82 82 } vfs_fstypes_t; 83 83 84 extern errno_t vfs_fhandle(FILE *, int *);84 extern int vfs_fhandle(FILE *, int *); 85 85 86 86 extern char *vfs_absolutize(const char *, size_t *); 87 extern errno_t vfs_clone(int, int, bool, int *);88 extern errno_t vfs_cwd_get(char *path, size_t);89 extern errno_t vfs_cwd_set(const char *path);87 extern int vfs_clone(int, int, bool, int *); 88 extern int vfs_cwd_get(char *path, size_t); 89 extern int vfs_cwd_set(const char *path); 90 90 extern async_exch_t *vfs_exchange_begin(void); 91 91 extern void vfs_exchange_end(async_exch_t *); 92 extern errno_t vfs_fsprobe(const char *, service_id_t, vfs_fs_probe_info_t *);93 extern errno_t vfs_fstypes(vfs_fstypes_t *);92 extern int vfs_fsprobe(const char *, service_id_t, vfs_fs_probe_info_t *); 93 extern int vfs_fstypes(vfs_fstypes_t *); 94 94 extern void vfs_fstypes_free(vfs_fstypes_t *); 95 extern errno_t vfs_link(int, const char *, vfs_file_kind_t, int *);96 extern errno_t vfs_link_path(const char *, vfs_file_kind_t, int *);97 extern errno_t vfs_lookup(const char *, int, int *);98 extern errno_t vfs_lookup_open(const char *, int, int, int *);99 extern errno_t vfs_mount_path(const char *, const char *, const char *,95 extern int vfs_link(int, const char *, vfs_file_kind_t, int *); 96 extern int vfs_link_path(const char *, vfs_file_kind_t, int *); 97 extern int vfs_lookup(const char *, int, int *); 98 extern int vfs_lookup_open(const char *, int, int, int *); 99 extern int vfs_mount_path(const char *, const char *, const char *, 100 100 const char *, unsigned int, unsigned int); 101 extern errno_t vfs_mount(int, const char *, service_id_t, const char *, unsigned,101 extern int vfs_mount(int, const char *, service_id_t, const char *, unsigned, 102 102 unsigned, int *); 103 extern errno_t vfs_open(int, int);104 extern errno_t vfs_pass_handle(async_exch_t *, int, async_exch_t *);105 extern errno_t vfs_put(int);106 extern errno_t vfs_read(int, aoff64_t *, void *, size_t, size_t *);107 extern errno_t vfs_read_short(int, aoff64_t, void *, size_t, ssize_t *);108 extern errno_t vfs_receive_handle(bool, int *);109 extern errno_t vfs_rename_path(const char *, const char *);110 extern errno_t vfs_resize(int, aoff64_t);103 extern int vfs_open(int, int); 104 extern int vfs_pass_handle(async_exch_t *, int, async_exch_t *); 105 extern int vfs_put(int); 106 extern int vfs_read(int, aoff64_t *, void *, size_t, size_t *); 107 extern int vfs_read_short(int, aoff64_t, void *, size_t, ssize_t *); 108 extern int vfs_receive_handle(bool, int *); 109 extern int vfs_rename_path(const char *, const char *); 110 extern int vfs_resize(int, aoff64_t); 111 111 extern int vfs_root(void); 112 extern errno_t vfs_root_set(int);113 extern errno_t vfs_stat(int, struct stat *);114 extern errno_t vfs_stat_path(const char *, struct stat *);115 extern errno_t vfs_statfs(int, struct statfs *);116 extern errno_t vfs_statfs_path(const char *, struct statfs *);117 extern errno_t vfs_sync(int);118 extern errno_t vfs_unlink(int, const char *, int);119 extern errno_t vfs_unlink_path(const char *);120 extern errno_t vfs_unmount(int);121 extern errno_t vfs_unmount_path(const char *);122 extern errno_t vfs_walk(int, const char *, int, int *);123 extern errno_t vfs_write(int, aoff64_t *, const void *, size_t, size_t *);124 extern errno_t vfs_write_short(int, aoff64_t, const void *, size_t, ssize_t *);112 extern int vfs_root_set(int); 113 extern int vfs_stat(int, struct stat *); 114 extern int vfs_stat_path(const char *, struct stat *); 115 extern int vfs_statfs(int, struct statfs *); 116 extern int vfs_statfs_path(const char *, struct statfs *); 117 extern int vfs_sync(int); 118 extern int vfs_unlink(int, const char *, int); 119 extern int vfs_unlink_path(const char *); 120 extern int vfs_unmount(int); 121 extern int vfs_unmount_path(const char *); 122 extern int vfs_walk(int, const char *, int, int *); 123 extern int vfs_write(int, aoff64_t *, const void *, size_t, size_t *); 124 extern int vfs_write_short(int, aoff64_t, const void *, size_t, ssize_t *); 125 125 126 126 #endif
Note:
See TracChangeset
for help on using the changeset viewer.