4 * Copyright (c) Tuomo Valkonen 2004.
6 * You may distribute and modify this library under the terms of either
7 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
10 #ifndef LIBTU_STRINGSTORE_H
11 #define LIBTU_STRINGSTORE_H
13 typedef void* StringId;
15 #define STRINGID_NONE ((StringId)0)
17 extern const char *stringstore_get(StringId id);
18 extern StringId stringstore_find(const char *str);
19 extern StringId stringstore_alloc(const char *str);
20 extern void stringstore_free(StringId id);
22 #endif /* LIBTU_STRINGSTORE_H */