Changes in uspace/srv/vfs/vfs.h [8d2dd7f2:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.h
r8d2dd7f2 rb7fd2a0 176 176 extern fs_handle_t fs_name_to_handle(unsigned int instance, const char *, bool); 177 177 extern vfs_info_t *fs_handle_to_info(fs_handle_t); 178 extern int vfs_get_fstypes(vfs_fstypes_t *);179 180 extern int vfs_lookup_internal(vfs_node_t *, char *, int, vfs_lookup_res_t *);181 extern int vfs_link_internal(vfs_node_t *, char *, vfs_triplet_t *);178 extern errno_t vfs_get_fstypes(vfs_fstypes_t *); 179 180 extern errno_t vfs_lookup_internal(vfs_node_t *, char *, int, vfs_lookup_res_t *); 181 extern errno_t vfs_link_internal(vfs_node_t *, char *, vfs_triplet_t *); 182 182 183 183 extern bool vfs_nodes_init(void); … … 194 194 195 195 extern void vfs_op_pass_handle(task_id_t, task_id_t, int); 196 extern int vfs_wait_handle_internal(bool);196 extern errno_t vfs_wait_handle_internal(bool, int *); 197 197 198 198 extern vfs_file_t *vfs_file_get(int); 199 199 extern void vfs_file_put(vfs_file_t *); 200 extern int vfs_fd_assign(vfs_file_t *, int);201 extern int vfs_fd_alloc(vfs_file_t **file, bool desc);202 extern int vfs_fd_free(int);200 extern errno_t vfs_fd_assign(vfs_file_t *, int); 201 extern errno_t vfs_fd_alloc(vfs_file_t **file, bool desc, int *); 202 extern errno_t vfs_fd_free(int); 203 203 204 204 extern void vfs_node_addref(vfs_node_t *); 205 205 extern void vfs_node_delref(vfs_node_t *); 206 extern int vfs_open_node_remote(vfs_node_t *);207 208 extern int vfs_op_clone(int oldfd, int newfd, bool desc);209 extern int vfs_op_fsprobe(const char *, service_id_t, vfs_fs_probe_info_t *);210 extern int vfs_op_mount(int mpfd, unsigned servid, unsigned flags, unsigned instance, const char *opts, const char *fsname, int *outfd);211 extern int vfs_op_mtab_get(void);212 extern int vfs_op_open(int fd, int flags);213 extern int vfs_op_put(int fd);214 extern int vfs_op_read(int fd, aoff64_t, size_t *out_bytes);215 extern int vfs_op_rename(int basefd, char *old, char *new);216 extern int vfs_op_resize(int fd, int64_t size);217 extern int vfs_op_stat(int fd);218 extern int vfs_op_statfs(int fd);219 extern int vfs_op_sync(int fd);220 extern int vfs_op_unlink(int parentfd, int expectfd, char *path);221 extern int vfs_op_unmount(int mpfd);222 extern int vfs_op_wait_handle(bool high_fd);223 extern int vfs_op_walk(int parentfd, int flags, char *path, int *out_fd);224 extern int vfs_op_write(int fd, aoff64_t, size_t *out_bytes);206 extern errno_t vfs_open_node_remote(vfs_node_t *); 207 208 extern errno_t vfs_op_clone(int oldfd, int newfd, bool desc, int *); 209 extern errno_t vfs_op_fsprobe(const char *, service_id_t, vfs_fs_probe_info_t *); 210 extern errno_t vfs_op_mount(int mpfd, unsigned servid, unsigned flags, unsigned instance, const char *opts, const char *fsname, int *outfd); 211 extern errno_t vfs_op_mtab_get(void); 212 extern errno_t vfs_op_open(int fd, int flags); 213 extern errno_t vfs_op_put(int fd); 214 extern errno_t vfs_op_read(int fd, aoff64_t, size_t *out_bytes); 215 extern errno_t vfs_op_rename(int basefd, char *old, char *new); 216 extern errno_t vfs_op_resize(int fd, int64_t size); 217 extern errno_t vfs_op_stat(int fd); 218 extern errno_t vfs_op_statfs(int fd); 219 extern errno_t vfs_op_sync(int fd); 220 extern errno_t vfs_op_unlink(int parentfd, int expectfd, char *path); 221 extern errno_t vfs_op_unmount(int mpfd); 222 extern errno_t vfs_op_wait_handle(bool high_fd, int *out_fd); 223 extern errno_t vfs_op_walk(int parentfd, int flags, char *path, int *out_fd); 224 extern errno_t vfs_op_write(int fd, aoff64_t, size_t *out_bytes); 225 225 226 226 extern void vfs_register(ipc_callid_t, ipc_call_t *); … … 233 233 } rdwr_io_chunk_t; 234 234 235 extern int vfs_rdwr_internal(int, aoff64_t, bool, rdwr_io_chunk_t *);235 extern errno_t vfs_rdwr_internal(int, aoff64_t, bool, rdwr_io_chunk_t *); 236 236 237 237 extern void vfs_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg);
Note:
See TracChangeset
for help on using the changeset viewer.