core/sm_trie.h
author David Anderson <dvander@alliedmods.net>
Fri Jun 08 03:50:23 2007 +0000 (2007-06-08)
changeset 925 2cd3d817b5ab
parent 653 ef60870067ff
child 1057 de136462a416
permissions -rw-r--r--
added sm_unban
     1 /**
     2  * vim: set ts=4 :
     3  * ===============================================================
     4  * SourceMod (C)2004-2007 AlliedModders LLC.  All rights reserved.
     5  * ===============================================================
     6  *
     7  * This file is not open source and may not be copied without explicit
     8  * written permission of AlliedModders LLC.  This file may not be redistributed 
     9  * in whole or significant part.
    10  * For information, see LICENSE.txt or http://www.sourcemod.net/license.php
    11  *
    12  * Version: $Id$
    13  */
    14 
    15 #ifndef _INCLUDE_SOURCEMOD_SIMPLE_TRIE_H_
    16 #define _INCLUDE_SOURCEMOD_SIMPLE_TRIE_H_
    17 
    18 struct Trie;
    19 
    20 Trie *sm_trie_create();
    21 void sm_trie_destroy(Trie *trie);
    22 bool sm_trie_insert(Trie *trie, const char *key, void *value);
    23 bool sm_trie_retrieve(Trie *trie, const char *key, void **value);
    24 bool sm_trie_delete(Trie *trie, const char *key);
    25 void sm_trie_clear(Trie *trie);
    26 
    27 #endif //_INCLUDE_SOURCEMOD_SIMPLE_TRIE_H_