git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix dependency check logic cause config always disabled
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
fs
/
ramfs.h
1
#ifndef __LUNAIX_RAMFS_H
2
#define __LUNAIX_RAMFS_H
3
4
#include <lunaix/types.h>
5
6
#define RAMF_FILE 0
7
#define RAMF_DIR 1
8
#define RAMF_SYMLINK 2
9
10
struct ram_inode
11
{
12
u32_t flags;
13
size_t size;
14
char* symlink;
15
};
16
17
#define RAM_INODE(data) ((struct ram_inode*)(data))
18
19
#endif /* __LUNAIX_RAMFS_H */