2 * sylpheed -- a gtk+ based, lightweight, and fast e-mail client
3 * copyright (c) 1999-2001 hiroyuki yamamoto
5 * this program is free software; you can redistribute it and/or modify
6 * it under the terms of the gnu general public license as published by
7 * the free software foundation; either version 2 of the license, or
8 * (at your option) any later version.
10 * this program is distributed in the hope that it will be useful,
11 * but without any warranty; without even the implied warranty of
12 * merchantability or fitness for a particular purpose. see the
13 * gnu general public license for more details.
15 * you should have received a copy of the gnu general public license
16 * along with this program; if not, write to the free software
17 * foundation, inc., 59 temple place - suite 330, boston, ma 02111-1307, usa.
20 #ifndef STRINGTABLE_H__
21 #define STRINGTABLE_H__
26 GHashTable *hash_table;
29 StringTable *string_table_new (void);
30 void string_table_free (StringTable *table);
32 gchar *string_table_lookup_string (StringTable *table, gchar *str);
33 gchar *string_table_insert_string (StringTable *table, gchar *str);
34 void string_table_free_string (StringTable *table, gchar *str);
36 void string_table_get_stats (StringTable *table);
38 #endif /* STRINGTABLE_H__ */