Rev 2655 | Rev 2693 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2655 | Rev 2658 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | #include <ipc/ipc.h> |
36 | #include <ipc/ipc.h> |
37 | #include <libfs.h> |
37 | #include <libfs.h> |
38 | #include <atomic.h> |
38 | #include <atomic.h> |
39 | #include <sys/types.h> |
39 | #include <sys/types.h> |
40 | #include <bool.h> |
40 | #include <bool.h> |
- | 41 | #include <libadt/hash_table.h> |
|
41 | 42 | ||
42 | #define dprintf(...) printf(__VA_ARGS__) |
43 | #define dprintf(...) printf(__VA_ARGS__) |
43 | 44 | ||
44 | typedef struct tmpfs_dentry { |
45 | typedef struct tmpfs_dentry { |
45 | unsigned index; /**< TMPFS node index. */ |
46 | unsigned long index; /**< TMPFS node index. */ |
- | 47 | link_t dh_link; /**< Dentries hash table link. */ |
|
46 | struct tmpfs_dentry *parent; |
48 | struct tmpfs_dentry *parent; |
47 | struct tmpfs_dentry *sibling; |
49 | struct tmpfs_dentry *sibling; |
48 | struct tmpfs_dentry *child; |
50 | struct tmpfs_dentry *child; |
49 | char *name; |
51 | char *name; |
50 | enum { |
52 | enum { |
Line 57... | Line 59... | ||
57 | } tmpfs_dentry_t; |
59 | } tmpfs_dentry_t; |
58 | 60 | ||
59 | extern fs_reg_t tmpfs_reg; |
61 | extern fs_reg_t tmpfs_reg; |
60 | 62 | ||
61 | extern void tmpfs_lookup(ipc_callid_t, ipc_call_t *); |
63 | extern void tmpfs_lookup(ipc_callid_t, ipc_call_t *); |
- | 64 | extern void tmpfs_read(ipc_callid_t, ipc_call_t *); |
|
62 | 65 | ||
63 | #endif |
66 | #endif |
64 | 67 | ||
65 | /** |
68 | /** |
66 | * @} |
69 | * @} |