Rev 4482 | Rev 4492 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4482 | Rev 4491 | ||
|---|---|---|---|
| Line 42... | Line 42... | ||
| 42 | 42 | ||
| 43 | typedef struct { |
43 | typedef struct { |
| 44 | fs_handle_t fs_handle; |
44 | fs_handle_t fs_handle; |
| 45 | dev_handle_t dev_handle; |
45 | dev_handle_t dev_handle; |
| 46 | fs_index_t index; |
46 | fs_index_t index; |
| 47 | } fs_node_t; |
47 | } inode_t; |
| 48 | 48 | ||
| 49 | extern char *absolutize(const char *, size_t *); |
49 | extern char *absolutize(const char *, size_t *); |
| 50 | 50 | ||
| 51 | extern int mount(const char *, const char *, const char *, const char *, |
51 | extern int mount(const char *, const char *, const char *, const char *, |
| 52 | unsigned int flags); |
52 | unsigned int flags); |
| 53 | 53 | ||
| 54 | extern int open_node(fs_node_t *node, int oflag); |
54 | extern int open_node(inode_t *node, int oflag); |
| 55 | extern int fd_phone(int); |
55 | extern int fd_phone(int); |
| 56 | extern void fd_node(int, fs_node_t *); |
56 | extern void fd_node(int, inode_t *); |
| 57 | 57 | ||
| 58 | extern FILE *fopen_node(fs_node_t *node, const char *); |
58 | extern FILE *fopen_node(inode_t *node, const char *); |
| 59 | extern int fphone(FILE *); |
59 | extern int fphone(FILE *); |
| 60 | extern void fnode(FILE *stream, fs_node_t *node); |
60 | extern void fnode(FILE *stream, inode_t *node); |
| 61 | 61 | ||
| 62 | #endif |
62 | #endif |
| 63 | 63 | ||
| 64 | /** @} |
64 | /** @} |
| 65 | */ |
65 | */ |