knight/shared/KeHashTable.h
changeset 2541 0352326a1f3f
parent 2226 d10b38524be3
child 3980 dc7dfcd855dc
     1.1 --- a/knight/shared/KeHashTable.h	Wed Jan 28 02:14:41 2009 -0600
     1.2 +++ b/knight/shared/KeHashTable.h	Thu Jan 29 12:50:32 2009 -0500
     1.3 @@ -117,12 +117,22 @@
     1.4  	extern void KE_ClearHashTable(KeHashTable *table);
     1.5  
     1.6  	/**
     1.7 -	 * @brief Generic function for hasing strings.
     1.8 +	 * @brief Generic function for hashing strings.
     1.9  	 *
    1.10  	 * @param str				Key string.
    1.11  	 * @return					Hash value.
    1.12  	 */
    1.13  	extern uint32_t KE_HashString(const void *str);
    1.14 +
    1.15 +    /**
    1.16 +     * @brief Generic case-sensitive comparison of strings.
    1.17 +     *
    1.18 +     * @param str1              First string.
    1.19 +     * @param str2              Second string.
    1.20 +     * @return                  True if equal, false otherwise.
    1.21 +     */
    1.22 +    extern bool KE_AreStringsEqual(const void* str1, const void* str2);
    1.23  }
    1.24  
    1.25  #endif //_INCLUDE_KNIGHT_KE_HASHTABLE_H_
    1.26 +