X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=libtu%2Fstringstore.h;fp=libtu%2Fstringstore.h;h=5510ef41de0429e121f57d215f93995e76c501d1;hb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;hp=752e57335b46316d17e82e682c6ab0f4873f2ddd;hpb=8366314611bf30a0f31d25bf5f5023186fa87692;p=ion3.git diff --git a/libtu/stringstore.h b/libtu/stringstore.h index 752e573..5510ef4 100644 --- a/libtu/stringstore.h +++ b/libtu/stringstore.h @@ -1,7 +1,7 @@ /* * libtu/stringstore.h * - * Copyright (c) Tuomo Valkonen 2004. + * Copyright (c) Tuomo Valkonen 2004-2007. * * You may distribute and modify this library under the terms of either * the Clarified Artistic License or the GNU LGPL, version 2.1 or later. @@ -17,6 +17,9 @@ typedef void* StringId; extern const char *stringstore_get(StringId id); extern StringId stringstore_find(const char *str); extern StringId stringstore_alloc(const char *str); +extern StringId stringstore_find_n(const char *str, uint l); +extern StringId stringstore_alloc_n(const char *str, uint l); extern void stringstore_free(StringId id); +extern void stringstore_ref(StringId id); #endif /* LIBTU_STRINGSTORE_H */