IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 8, 2004, 12:05:14 PM (22 years ago)
Author:
desonia
Message:

changed psHashInsert to psHashAdd and made it return a bool value indicating
success or not.

File:
1 edited

Legend:

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

    r1073 r1202  
    1010 *  @author George Gusciora, MHPCC
    1111 *   
    12  *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-06-23 23:00:15 $
     12 *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2004-07-08 22:05:14 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2121 *  \{
    2222 */
     23#include<stdbool.h>
     24
    2325#include "psList.h"
    2426
     
    4648
    4749/// Insert entry into table.
    48 void *psHashInsert(psHash *table,               ///< table to insert in
    49                    const char *key,             ///< key to use
    50                    void *data                   ///< data to insert
    51                   );
     50bool psHashAdd(psHash *table,               ///< table to insert in
     51               const char *key,             ///< key to use
     52               void *data                   ///< data to insert
     53              );
    5254
    5355/// Lookup key in table.
Note: See TracChangeset for help on using the changeset viewer.