stringstore.h

Tue, 01 Mar 2005 22:57:57 +0100

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 01 Mar 2005 22:57:57 +0100
changeset 95
6737fe676e48
parent 74
60cb620a0341
child 104
abbac137bdac
permissions
-rw-r--r--

Use install-sh.

/*
 * libtu/stringstore.h
 *
 * Copyright (c) Tuomo Valkonen 2004. 
 *
 * 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.
 */

#ifndef LIBTU_STRINGSTORE_H
#define LIBTU_STRINGSTORE_H

typedef void* StringId;

#define STRINGID_NONE ((StringId)0)

extern const char *stringstore_get(StringId id);
extern StringId stringstore_find(const char *str);
extern StringId stringstore_alloc(const char *str);
extern void stringstore_free(StringId id);

#endif /* LIBTU_STRINGSTORE_H */

mercurial