view src/ploki/mars.h @ 6600:6574ac73ed8a

<izabera> ` base64 -d <<< H4sIAAhyqVYCAy2NQQ6CMBRE9z3F+MNCE2zEHQvWXsCdYtLKJxKx39ASMA13F9DVzLzMZGxhJYSWYYptJCd4ScdILPk0u86axqPWeT7RymaRGpa5ox2GgsQhPBiDaVtSY7Gls3kyxDEqGVyKt/EeTYDppHcVgU6CIOvGh+XIuAq2/8DLi9dr2qlaOjRoHGKea32YVCWK7w8BJdFcmvI2IRlS/MKkVRLHy2Z2f7TPyqWgad45/gLSidNX4AAAAA== | zcat > 99
author HackBot
date Thu, 28 Jan 2016 01:46:05 +0000
parents ac0403686959
children
line wrap: on
line source

#ifndef MARS_H_
#define MARS_H_

#include "Str.h"
#include "op.h"

#include <stddef.h>

struct mars {
	size_t size, length;
	struct mars **table;
	struct op *data;
};

void ma_init(struct mars *);
void ma_end(struct mars *);
int ma_enter(struct mars *, const String *, struct op *);
int ma_exists(const struct mars *, const String *);
struct op *ma_find(const struct mars *, String *);

#endif /* MARS_H_ */