Changeset 0b9ac3c in mainline for uspace/srv/vfs/vfs.h
- Timestamp:
- 2010-02-23T19:03:28Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c62d2e1
- Parents:
- 1ccafee (diff), 5e50394 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.h
r1ccafee r0b9ac3c 42 42 #include <ipc/vfs.h> 43 43 44 // FIXME: according to CONFIG_DEBUG 45 // #define dprintf(...) printf(__VA_ARGS__) 46 47 #define dprintf(...) 44 #ifndef dprintf 45 #define dprintf(...) 46 #endif 48 47 49 48 /** … … 93 92 vfs_triplet_t triplet; 94 93 vfs_node_type_t type; 95 size_t size;96 unsigned lnkcnt;94 aoff64_t size; 95 unsigned int lnkcnt; 97 96 } vfs_lookup_res_t; 98 97 … … 117 116 vfs_node_type_t type; /**< Partial info about the node type. */ 118 117 119 size_t size; /**< Cached size if the node is a file. */118 aoff64_t size; /**< Cached size if the node is a file. */ 120 119 121 120 /** … … 141 140 bool append; 142 141 143 /** Current position in the file. */144 off_t pos;142 /** Current absolute position in the file. */ 143 aoff64_t pos; 145 144 } vfs_file_t; 146 145 … … 177 176 vfs_pair_t *, ...); 178 177 extern int vfs_open_node_internal(vfs_lookup_res_t *); 178 extern int vfs_close_internal(vfs_file_t *); 179 179 180 180 extern bool vfs_nodes_init(void); … … 188 188 189 189 extern bool vfs_files_init(void); 190 extern void vfs_files_done(void); 190 191 extern vfs_file_t *vfs_file_get(int); 191 192 extern int vfs_fd_assign(vfs_file_t *file, int fd); … … 212 213 extern void vfs_truncate(ipc_callid_t, ipc_call_t *); 213 214 extern void vfs_fstat(ipc_callid_t, ipc_call_t *); 214 extern void vfs_fstat(ipc_callid_t, ipc_call_t *);215 215 extern void vfs_stat(ipc_callid_t, ipc_call_t *); 216 216 extern void vfs_mkdir(ipc_callid_t, ipc_call_t *);
Note:
See TracChangeset
for help on using the changeset viewer.