view src/ploki/mars.h @ 5556:f2e89077ff1d

<oerjan> learn Turkey was the center of an empire that gobbled up much of Eastern Europe and the Middle East, something which brought them into conflict with Ostrich. In the 19th century the overstuffed empire started declining, and after the Great War it was cut up like so much Shish Kebab.
author HackBot
date Fri, 12 Jun 2015 06:39:15 +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_ */