Changeset 291 for trunk/archive/pslib/include/psHash.h
- Timestamp:
- Mar 23, 2004, 4:48:25 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psHash.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psHash.h
r257 r291 16 16 17 17 /// Allocate hash buckets in table. 18 psHash *psHashAlloc(int nbucket )///< initial number of buckets19 ;18 psHash *psHashAlloc(int nbucket ///< initial number of buckets 19 ); 20 20 21 21 /// Free hash buckets from table. 22 22 void psHashFree(psHash *table, ///< hash table to be freed 23 void (*itemFree)(void *item) )///< how to free hashed data; or NULL24 ;23 void (*itemFree)(void *item) ///< how to free hashed data; or NULL 24 ); 25 25 26 26 /// Insert entry into table. … … 28 28 const char *key, ///< key to use 29 29 void *data, ///< data to insert 30 void (*itemFree)(void *item) )///< how to free hashed data; or NULL31 ;30 void (*itemFree)(void *item) ///< how to free hashed data; or NULL 31 ); 32 32 33 33 /// Lookup key in table. 34 34 void *psHashLookup(psHash *table, ///< table to lookup key in 35 const char *key )///< key to lookup36 ;35 const char *key ///< key to lookup 36 ); 37 37 38 38 /// Remove key from table. 39 39 void *psHashRemove(psHash *table, ///< table to lookup key in 40 const char *key )///< key to lookup41 ;40 const char *key ///< key to lookup 41 ); 42 42 43 43 /* \} */ // End of DataGroup Functions
Note:
See TracChangeset
for help on using the changeset viewer.
