comparison src/ploki/mars.h @ 4223:ac0403686959

<oerjan> rm -rf src/ploki; mv ploki src
author HackBot
date Fri, 20 Dec 2013 22:18:50 +0000
parents
children
comparison
equal deleted inserted replaced
4222:b0f3e267bb1e 4223:ac0403686959
1 #ifndef MARS_H_
2 #define MARS_H_
3
4 #include "Str.h"
5 #include "op.h"
6
7 #include <stddef.h>
8
9 struct mars {
10 size_t size, length;
11 struct mars **table;
12 struct op *data;
13 };
14
15 void ma_init(struct mars *);
16 void ma_end(struct mars *);
17 int ma_enter(struct mars *, const String *, struct op *);
18 int ma_exists(const struct mars *, const String *);
19 struct op *ma_find(const struct mars *, String *);
20
21 #endif /* MARS_H_ */