IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 5, 2008, 3:13:14 PM (18 years ago)
Author:
Paul Price
Message:

Adding function pmConfigUserSite to get values from the user/site configurations. Using this for database details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfig.h

    r18908 r18926  
    55 *  @author Eugene Magnier, IfA
    66 *
    7  *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2008-08-05 03:45:56 $
     7 *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2008-08-06 01:13:14 $
    99 *  Copyright 2005-2006 Institute for Astronomy, University of Hawaii
    1010 */
     
    129129                                );
    130130
     131/// Derive a value from the user or site configuration
     132///
     133/// The value in the user configuration takes precedence.  Returns NULL if the value isn't present in either,
     134/// or has the wrong type.
     135psMetadataItem *pmConfigUserSite(const pmConfig *config, // Configuration
     136                                 const char *name, // Name of value
     137                                 psDataType type // Expected type
     138    );
     139
     140
    131141/// Setup the database
    132142///
Note: See TracChangeset for help on using the changeset viewer.