Changeset 1073 for trunk/psLib/src/sysUtils/psHash.h
- Timestamp:
- Jun 23, 2004, 1:00:17 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psHash.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psHash.h
r1013 r1073 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-06- 12 05:50:01$12 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-06-23 23:00:15 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 45 45 ); 46 46 47 /// Free hash buckets from table.48 void psHashFree(psHash *table, ///< hash table to be freed49 void (*itemFree)(void *item) ///< how to free hashed data; or NULL50 );51 52 47 /// Insert entry into table. 53 48 void *psHashInsert(psHash *table, ///< table to insert in 54 49 const char *key, ///< key to use 55 void *data, ///< data to insert 56 void (*itemFree)(void *item) ///< how to free hashed data; or NULL 50 void *data ///< data to insert 57 51 ); 58 52 59 53 /// Lookup key in table. 60 void *psHashLookup(psHash *table, ///< table to lookup key in61 const char *key ///< key to lookup54 void *psHashLookup(psHash *table, ///< table to lookup key in 55 const char *key ///< key to lookup 62 56 ); 63 57 64 58 /// Remove key from table. 65 void *psHashRemove(psHash *table, ///< table to lookup key in 66 const char *key, ///< key to lookup 67 void (*itemFree)(void *item) ///< how to free hashed data; or NULL 59 void *psHashRemove(psHash *table, ///< table to lookup key in 60 const char *key ///< key to lookup 68 61 ); 69 62
Note:
See TracChangeset
for help on using the changeset viewer.
