Tue, 17 Oct 2006 00:32:05 +0200
Path fix
| 73 | 1 | /* |
| 2 | * libtu/stringstore.h | |
| 3 | * | |
| 4 | * Copyright (c) Tuomo Valkonen 2004. | |
| 5 | * | |
| 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. | |
| 8 | */ | |
| 9 | ||
| 10 | #ifndef LIBTU_STRINGSTORE_H | |
| 11 | #define LIBTU_STRINGSTORE_H | |
| 12 | ||
| 13 | typedef void* StringId; | |
| 14 | ||
| 15 | #define STRINGID_NONE ((StringId)0) | |
| 16 | ||
| 74 | 17 | extern const char *stringstore_get(StringId id); |
| 73 | 18 | extern StringId stringstore_find(const char *str); |
| 19 | extern StringId stringstore_alloc(const char *str); | |
| 20 | extern void stringstore_free(StringId id); | |
| 21 | ||
| 22 | #endif /* LIBTU_STRINGSTORE_H */ |