Rev 2763 | Rev 2791 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2763 | Rev 2770 | ||
|---|---|---|---|
| Line 41... | Line 41... | ||
| 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 | bool (* match)(void *, void *, const char *); |
| 46 | void * (* node_get)(int, int, unsigned long); |
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 | unsigned long (* index_get)(void *); |
51 | fs_index_t (* index_get)(void *); |
| 52 | unsigned long (* 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 | void *(* child_get)(void *); |
| 55 | void *(* sibling_get)(void *); |
55 | void *(* sibling_get)(void *); |
| 56 | void *(* root_get)(void); |
56 | void *(* root_get)(void); |
| 57 | char (* plb_get_char)(unsigned pos); |
57 | char (* plb_get_char)(unsigned pos); |
| Line 72... | Line 72... | ||
| 72 | 72 | ||
| 73 | extern void node_add_mp(int, unsigned long); |
73 | extern void node_add_mp(int, unsigned long); |
| 74 | extern void node_del_mp(int, unsigned long); |
74 | extern void node_del_mp(int, unsigned long); |
| 75 | extern bool node_is_mp(int, unsigned long); |
75 | extern bool node_is_mp(int, unsigned long); |
| 76 | 76 | ||
| 77 | extern void libfs_lookup(libfs_ops_t *, int, ipc_callid_t, ipc_call_t *); |
77 | extern void libfs_lookup(libfs_ops_t *, fs_handle_t, ipc_callid_t, ipc_call_t *); |
| 78 | 78 | ||
| 79 | #endif |
79 | #endif |
| 80 | 80 | ||
| 81 | /** @} |
81 | /** @} |
| 82 | */ |
82 | */ |