summaryrefslogtreecommitdiff
path: root/src/user/highway/vars.h
blob: eca58d4880a6630e06ba279a760c52e1f6d69e95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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();
void new_color();

#endif