summaryrefslogtreecommitdiff
path: root/src/user/highway/vars.h
blob: fc4d197fd796a33a0de6f588213860053f451500 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef VARS_H
#define VARS_H

#include <stdint.h>

struct no_null_sn {
  const char *data;
  uint32_t length;
};

void set_var(struct no_null_sn name, struct no_null_sn value);
const struct no_null_sn *get_var(struct no_null_sn name) __attribute__ ((pure));
void del_var(struct no_null_sn name);

void dump_vars();

#endif