IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2004, 2:09:55 PM (22 years ago)
Author:
gusciora
Message:

Renamed psLog messages, commented the psHash code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psHash.h

    r919 r964  
    1 /** @file  psHash.c
     1/** @file  psHash.h
    22 *
    33 *  @brief Contains support for basic hashing functions.
     
    1010 *  @author George Gusciora, MHPCC
    1111 *   
    12  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-06-08 19:08:40 $
     12 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2004-06-10 00:09:55 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2626
    2727
    28 /** DO WE NEED TO DEFINE HashTable? */
    29 //typedef struct HashTable psHash; ///< Opaque type for a hash table
    30 // An entire hash table
    31 
    3228// A bucket that holds an item of data
    3329typedef struct psHashBucket
    3430{
    35     char *key;                          // key for this item of data
    36     void *data;                         // the data itself
    37     struct psHashBucket *next;          // list of other possible keys
     31    char *key;                          ///< key for this item of data
     32    void *data;                         ///< the data itself
     33    struct psHashBucket *next;          ///< list of other possible keys
    3834}
    3935psHashBucket;
    4036
     37//typedef struct HashTable psHash; ///< Opaque type for a hash table
    4138typedef struct psHash
    4239{
    43     int nbucket;
    44     psHashBucket **buckets;
     40    int nbucket;                        //< Number of buckets in hash table.
     41    psHashBucket **buckets;             //< The bucket data.
    4542}
    4643psHash;
     
    7875
    7976/// List all keys in table.
    80 psList *psHashKeyList(psHash *table);
     77psList *psHashKeyList(psHash *table  ///< table to list keys from.
     78                     );
    8179
    8280/* \} */ // End of DataGroup Functions
Note: See TracChangeset for help on using the changeset viewer.