view src/ploki/venus.h @ 10120:631b602f7856

<fizzie> ` (echo \'#!/bin/bash\'; echo \'icao="$(airport "$*" | sed -e "s/.*, //;s/)//" | head -n 1)"\'; echo \'echo lambdabot: @metar "${icao:-$1}"\') > bin/metar
author HackBot
date Wed, 11 Jan 2017 12:54:08 +0000
parents ac0403686959
children
line wrap: on
line source

#ifndef VENUS_H_
#define VENUS_H_

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

struct venus {
	Hash table;
};

void ve_init(struct venus *);
void ve_end(struct venus *);
void ve_enter(struct venus *, const String *, struct op *);
struct op *ve_findnext(struct venus *, const String *, size_t);
struct op *ve_findprev(struct venus *, const String *, size_t);
const String *ve_label(struct venus *, const struct op *);

#endif /* VENUS_H_ */