Changeset 0d35511 in mainline for uspace/srv/vfs/vfs.h
- Timestamp:
- 2017-03-08T18:27:40Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4809715
- Parents:
- 5126f80
- git-author:
- Jiri Zarevucky <zarevucky.jiri@…> (2017-03-08 18:27:40)
- git-committer:
- Jakub Jermar <jakub@…> (2017-03-08 18:27:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.h
r5126f80 r0d35511 144 144 145 145 /** Current absolute position in the file. */ 146 aoff64_t pos;146 int64_t pos; 147 147 } vfs_file_t; 148 148 … … 175 175 extern void vfs_exchange_release(async_exch_t *); 176 176 177 extern fs_handle_t fs_name_to_handle(unsigned int instance, c har *, bool);177 extern fs_handle_t fs_name_to_handle(unsigned int instance, const char *, bool); 178 178 extern vfs_info_t *fs_handle_to_info(fs_handle_t); 179 179 … … 209 209 extern int vfs_open_node_remote(vfs_node_t *); 210 210 211 extern int vfs_op_clone(int oldfd, bool desc); 212 extern int vfs_op_close(int fd); 213 extern int vfs_op_dup(int oldfd, int newfd); 214 extern int vfs_op_fstat_forward(int fd); 215 extern int vfs_op_mount(int mpfd, unsigned servid, unsigned flags, unsigned instance, const char *opts, const char *fsname, int *outfd); 216 extern int vfs_op_mtab_get(void); 217 extern int vfs_op_open2(int fd, int flags); 218 extern int vfs_op_read(int fd, size_t *out_bytes); 219 extern int vfs_op_rename(int basefd, char *old, char *new); 220 extern int vfs_op_seek(int fd, int64_t offset, int whence, int64_t *out_offset); 221 extern int vfs_op_statfs(int fd); 222 extern int vfs_op_sync(int fd); 223 extern int vfs_op_truncate(int fd, int64_t size); 224 extern int vfs_op_unlink2(int parentfd, int expectfd, int wflag, char *path); 225 extern int vfs_op_unmount(int mpfd); 226 extern int vfs_op_wait_handle(bool high_fd); 227 extern int vfs_op_walk(int parentfd, int flags, char *path, int *out_fd); 228 extern int vfs_op_write(int fd, size_t *out_bytes); 229 211 230 extern void vfs_register(ipc_callid_t, ipc_call_t *); 212 extern void vfs_mount_srv(ipc_callid_t, ipc_call_t *);213 extern void vfs_unmount_srv(ipc_callid_t, ipc_call_t *);214 extern void vfs_sync(ipc_callid_t, ipc_call_t *);215 extern void vfs_dup(ipc_callid_t, ipc_call_t *);216 extern void vfs_close(ipc_callid_t, ipc_call_t *);217 extern void vfs_read(ipc_callid_t, ipc_call_t *);218 extern void vfs_write(ipc_callid_t, ipc_call_t *);219 extern void vfs_seek(ipc_callid_t, ipc_call_t *);220 extern void vfs_truncate(ipc_callid_t, ipc_call_t *);221 extern void vfs_fstat(ipc_callid_t, ipc_call_t *);222 extern void vfs_rename(ipc_callid_t, ipc_call_t *);223 extern void vfs_wait_handle(ipc_callid_t, ipc_call_t *);224 extern void vfs_get_mtab(ipc_callid_t, ipc_call_t *);225 extern void vfs_statfs(ipc_callid_t, ipc_call_t *);226 231 227 232 extern void vfs_page_in(ipc_callid_t, ipc_call_t *); … … 234 239 extern int vfs_rdwr_internal(int, bool, rdwr_io_chunk_t *); 235 240 236 extern void vfs_walk(ipc_callid_t, ipc_call_t *); 237 extern void vfs_open2(ipc_callid_t, ipc_call_t *); 238 extern void vfs_unlink2(ipc_callid_t, ipc_call_t *); 239 extern void vfs_op_clone(ipc_callid_t, ipc_call_t *); 241 extern void vfs_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg); 240 242 241 243 #endif
Note:
See TracChangeset
for help on using the changeset viewer.