summaryrefslogtreecommitdiff
path: root/source/base/base_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/base/base_parse.h')
-rwxr-xr-xsource/base/base_parse.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/source/base/base_parse.h b/source/base/base_parse.h
new file mode 100755
index 0000000..d66fd04
--- /dev/null
+++ b/source/base/base_parse.h
@@ -0,0 +1,28 @@
1#ifndef BASE_PARSE_H
2#define BASE_PARSE_H
3
4#define COMPARE_STRING(c1, c2) compare_string((char *)c1, (char *)c2)
5
6typedef struct proc_entry proc_entry;
7typedef struct proc_file proc_file;
8
9struct proc_file
10{
11 i32 count;
12 proc_entry *entries;
13};
14
15struct proc_entry
16{
17 char value[16];
18 char key[16];
19};
20
21typedef struct
22{
23 i8 *start;
24 i8 *end;
25 umm len;
26} Line;
27
28#endif