Changes in uspace/srv/vfs/vfs.h [b7fd2a0:8d2dd7f2] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.h

    rb7fd2a0 r8d2dd7f2  
    176176extern fs_handle_t fs_name_to_handle(unsigned int instance, const char *, bool);
    177177extern vfs_info_t *fs_handle_to_info(fs_handle_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 *);
     178extern int vfs_get_fstypes(vfs_fstypes_t *);
     179
     180extern int vfs_lookup_internal(vfs_node_t *, char *, int, vfs_lookup_res_t *);
     181extern int vfs_link_internal(vfs_node_t *, char *, vfs_triplet_t *);
    182182
    183183extern bool vfs_nodes_init(void);
     
    194194
    195195extern void vfs_op_pass_handle(task_id_t, task_id_t, int);
    196 extern errno_t vfs_wait_handle_internal(bool, int *);
     196extern int vfs_wait_handle_internal(bool);
    197197
    198198extern vfs_file_t *vfs_file_get(int);
    199199extern void vfs_file_put(vfs_file_t *);
    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);
     200extern int vfs_fd_assign(vfs_file_t *, int);
     201extern int vfs_fd_alloc(vfs_file_t **file, bool desc);
     202extern int vfs_fd_free(int);
    203203
    204204extern void vfs_node_addref(vfs_node_t *);
    205205extern void vfs_node_delref(vfs_node_t *);
    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);
     206extern int vfs_open_node_remote(vfs_node_t *);
     207
     208extern int vfs_op_clone(int oldfd, int newfd, bool desc);
     209extern int vfs_op_fsprobe(const char *, service_id_t, vfs_fs_probe_info_t *);
     210extern int vfs_op_mount(int mpfd, unsigned servid, unsigned flags, unsigned instance, const char *opts, const char *fsname, int *outfd);
     211extern int vfs_op_mtab_get(void);
     212extern int vfs_op_open(int fd, int flags);
     213extern int vfs_op_put(int fd);
     214extern int vfs_op_read(int fd, aoff64_t, size_t *out_bytes);
     215extern int vfs_op_rename(int basefd, char *old, char *new);
     216extern int vfs_op_resize(int fd, int64_t size);
     217extern int vfs_op_stat(int fd);
     218extern int vfs_op_statfs(int fd);
     219extern int vfs_op_sync(int fd);
     220extern int vfs_op_unlink(int parentfd, int expectfd, char *path);
     221extern int vfs_op_unmount(int mpfd);
     222extern int vfs_op_wait_handle(bool high_fd);
     223extern int vfs_op_walk(int parentfd, int flags, char *path, int *out_fd);
     224extern int vfs_op_write(int fd, aoff64_t, size_t *out_bytes);
    225225
    226226extern void vfs_register(ipc_callid_t, ipc_call_t *);
     
    233233} rdwr_io_chunk_t;
    234234
    235 extern errno_t vfs_rdwr_internal(int, aoff64_t, bool, rdwr_io_chunk_t *);
     235extern int vfs_rdwr_internal(int, aoff64_t, bool, rdwr_io_chunk_t *);
    236236
    237237extern void vfs_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg);
Note: See TracChangeset for help on using the changeset viewer.