Rev 2693 | Rev 2704 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2693 | Rev 2700 | ||
---|---|---|---|
Line 136... | Line 136... | ||
136 | 136 | ||
137 | typedef struct { |
137 | typedef struct { |
138 | VFS_TRIPLET; |
138 | VFS_TRIPLET; |
139 | } vfs_triplet_t; |
139 | } vfs_triplet_t; |
140 | 140 | ||
- | 141 | #define L_FILE 1 |
|
- | 142 | #define L_DIRECTORY 2 |
|
- | 143 | ||
141 | typedef struct { |
144 | typedef struct { |
142 | vfs_triplet_t triplet; |
145 | vfs_triplet_t triplet; |
143 | size_t size; |
146 | size_t size; |
144 | } vfs_lookup_res_t; |
147 | } vfs_lookup_res_t; |
145 | 148 | ||
Line 201... | Line 204... | ||
201 | extern int vfs_grab_phone(int); |
204 | extern int vfs_grab_phone(int); |
202 | extern void vfs_release_phone(int); |
205 | extern void vfs_release_phone(int); |
203 | 206 | ||
204 | extern int fs_name_to_handle(char *, bool); |
207 | extern int fs_name_to_handle(char *, bool); |
205 | 208 | ||
206 | extern int vfs_lookup_internal(char *, size_t, vfs_lookup_res_t *, |
209 | extern int vfs_lookup_internal(char *, size_t, int, vfs_lookup_res_t *, |
207 | vfs_pair_t *); |
210 | vfs_pair_t *); |
208 | 211 | ||
209 | extern bool vfs_nodes_init(void); |
212 | extern bool vfs_nodes_init(void); |
210 | extern vfs_node_t *vfs_node_get(vfs_lookup_res_t *); |
213 | extern vfs_node_t *vfs_node_get(vfs_lookup_res_t *); |
211 | extern void vfs_node_put(vfs_node_t *); |
214 | extern void vfs_node_put(vfs_node_t *); |