core/sm_trie.h
author David Anderson <dvander@alliedmods.net>
Wed Jan 17 06:49:59 2007 +0000 (2007-01-17)
changeset 308 f0e65f92cb34
parent 211 4c77142eaf36
child 335 02cc96355b09
permissions -rw-r--r--
Redesigned how server commands work. The "plugins" command will be back soon.
     1 #ifndef _INCLUDE_SOURCEMOD_SIMPLE_TRIE_H_
     2 #define _INCLUDE_SOURCEMOD_SIMPLE_TRIE_H_
     3 
     4 struct Trie;
     5 
     6 Trie *sm_trie_create();
     7 void sm_trie_destroy(Trie *trie);
     8 bool sm_trie_insert(Trie *trie, const char *key, void *value);
     9 bool sm_trie_retrieve(Trie *trie, const char *key, void **value);
    10 bool sm_trie_delete(Trie *trie, const char *key);
    11 
    12 #endif //_INCLUDE_SOURCEMOD_SIMPLE_TRIE_H_