Rev 2770 | Rev 2792 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2770 | Rev 2791 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | #include <stdint.h> |
40 | #include <stdint.h> |
41 | #include <ipc/ipc.h> |
41 | #include <ipc/ipc.h> |
42 | #include <async.h> |
42 | #include <async.h> |
43 | 43 | ||
44 | typedef struct { |
44 | typedef struct { |
45 | bool (* match)(void *, void *, const char *); |
45 | void * (* match)(void *, const char *); |
46 | void * (* node_get)(fs_handle_t, dev_handle_t, fs_index_t); |
46 | void * (* node_get)(fs_handle_t, dev_handle_t, fs_index_t); |
47 | void * (* create)(int); |
47 | void * (* create)(int); |
48 | void (* destroy)(void *); |
48 | void (* destroy)(void *); |
49 | bool (* link)(void *, void *, const char *); |
49 | bool (* link)(void *, void *, const char *); |
50 | int (* unlink)(void *, void *); |
50 | int (* unlink)(void *, void *); |
51 | fs_index_t (* index_get)(void *); |
51 | fs_index_t (* index_get)(void *); |
52 | size_t (* size_get)(void *); |
52 | size_t (* size_get)(void *); |
53 | unsigned (* lnkcnt_get)(void *); |
53 | unsigned (* lnkcnt_get)(void *); |
54 | void *(* child_get)(void *); |
54 | bool (* has_children)(void *); |
55 | void *(* sibling_get)(void *); |
- | |
56 | void *(* root_get)(void); |
55 | void *(* root_get)(void); |
57 | char (* plb_get_char)(unsigned pos); |
56 | char (* plb_get_char)(unsigned pos); |
58 | bool (* is_directory)(void *); |
57 | bool (* is_directory)(void *); |
59 | bool (* is_file)(void *); |
58 | bool (* is_file)(void *); |
60 | } libfs_ops_t; |
59 | } libfs_ops_t; |