view src/ploki/mars.h @ 8427:1fc808cd5b1f

<b_jonas> learn can\'t is the most frequent word whose pronunciation varies between /\xc9\x91\xcb\x90/ and /\xc3\xa6/ depending on dialect. The list is: advance after answer ask aunt brass can\'t cast castle chance class command dance demand draft enhance example fast father glass graph grass half last laugh mask master nasty pass past path plant rather sample shan\'t staff task vast
author HackBot
date Thu, 09 Jun 2016 21:28:47 +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_ */