IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 9, 2004, 5:19:15 PM (22 years ago)
Author:
Paul Price
Message:

Doxygenation of Lupton stuff partially complete. Still need to hack some more to conform everything to coding standards.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psHash.h

    r181 r196  
    22#define PS_HASH_H
    33
    4 typedef struct HashTable psHash;
     4typedef struct HashTable psHash;        //!< Opaque type for a hash table
    55
    6 psHash *psHashAlloc(int nbucket);       // initial number of buckets
    7 void psHashFree(psHash *table,          // hash table to be freed
    8                 void (*itemFree)(void *item)); // how to free hashed data;
    9                                         // or NULL
     6psHash *psHashAlloc(int nbucket         //!< initial number of buckets
     7    );
     8void psHashFree(psHash *table,          //!< hash table to be freed
     9                void (*itemFree)(void *item) //!< how to free hashed data; or NULL
     10    );
    1011
    11 void *psHashInsert(psHash *table,       // table to insert in
    12                    const char *key,     // key to use
    13                    void *data,          // data to insert
    14                    void (*itemFree)(void *item)); // how to free hashed data;
    15                                         // or NULL
    16 void *psHashLookup(psHash *table,       // table to lookup key in
    17                    const char *key);    // key to lookup
     12void *psHashInsert(psHash *table,       //!< table to insert in
     13                   const char *key,     //!< key to use
     14                   void *data,          //!< data to insert
     15                   void (*itemFree)(void *item) //!< how to free hashed data; or NULL
     16    );
     17void *psHashLookup(psHash *table,       //!< table to lookup key in
     18                   const char *key      //!< key to lookup
     19    );
    1820
    19 void *psHashRemove(psHash *table,       // table to lookup key in
    20                    const char *key);    // key to lookup
     21void *psHashRemove(psHash *table,       //!< table to lookup key in
     22                   const char *key      //!< key to lookup
     23    );
     24
     25
    2126#endif
Note: See TracChangeset for help on using the changeset viewer.