2 * ===============================================================
3 * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved.
4 * ===============================================================
6 * This file is not open source and may not be copied without explicit
7 * written permission of AlliedModders LLC. This file may not be redistributed
8 * in whole or significant part.
9 * For information, see LICENSE.txt or http://www.sourcemod.net/license.php
14 #ifndef _INCLUDE_SOURCEMOD_SIMPLE_TRIE_H_
15 #define _INCLUDE_SOURCEMOD_SIMPLE_TRIE_H_
19 Trie *sm_trie_create();
20 void sm_trie_destroy(Trie *trie);
21 bool sm_trie_insert(Trie *trie, const char *key, void *value);
22 bool sm_trie_retrieve(Trie *trie, const char *key, void **value);
23 bool sm_trie_delete(Trie *trie, const char *key);
24 void sm_trie_clear(Trie *trie);
26 #endif //_INCLUDE_SOURCEMOD_SIMPLE_TRIE_H_