stringstore.h

Sun, 20 Jun 2004 13:46:00 +0200

author
tuomov
date
Sun, 20 Jun 2004 13:46:00 +0200
changeset 76
58280b944cda
parent 74
60cb620a0341
child 104
abbac137bdac
permissions
-rw-r--r--

trunk: changeset 1585
Oops.

/*
 * 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