shithub: gpufs

ref: 676c163887770438587b64aae2679a93ba836de2
dir: /names.h/

View raw version
typedef struct Name Name;
struct Name {
	uint id;
	char *name;
	Name *next;
};

typedef struct String String;
struct String {
	uint id;
	char *str;
	String *next;
};

void nameadd(uint id, char *name);
char *namelookup(uint id);

void stringadd(uint id, char *str);
char *strlookup(uint id);