IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4205


Ignore:
Timestamp:
Jun 9, 2005, 3:41:35 PM (21 years ago)
Author:
desonia
Message:

modified psLibInit to match SDRS.

Location:
trunk/psLib
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psConfigure.c

    r4137 r4205  
    1313 *  @author Robert DeSonia, MHPCC
    1414 *
    15  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2005-06-07 22:53:40 $
     15 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2005-06-10 01:41:35 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3333}
    3434
    35 void psLibInit(bool predictable, const char* timeConfig)
     35void psLibInit(const char* timeConfig)
    3636{
    3737    // XXX: Still needs error codes to be set
  • trunk/psLib/src/sys/psConfigure.h

    r4162 r4205  
    1313 *  @author Robert DeSonia, MHPCC
    1414 *
    15  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2005-06-08 23:40:45 $
     15 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2005-06-10 01:41:35 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4242 *  current, a non-NULL psErr is returned with code PS_ERR_NONE.
    4343 *
    44  *  @return void: void.
    4544 */
    4645void psLibInit(
    47     bool predictable,
    4846    const char* timeConfig           ///< Filename of config file for psTime.
    4947);
  • trunk/psLib/src/sysUtils/psConfigure.c

    r4137 r4205  
    1313 *  @author Robert DeSonia, MHPCC
    1414 *
    15  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2005-06-07 22:53:40 $
     15 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2005-06-10 01:41:35 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3333}
    3434
    35 void psLibInit(bool predictable, const char* timeConfig)
     35void psLibInit(const char* timeConfig)
    3636{
    3737    // XXX: Still needs error codes to be set
  • trunk/psLib/src/sysUtils/psConfigure.h

    r4162 r4205  
    1313 *  @author Robert DeSonia, MHPCC
    1414 *
    15  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2005-06-08 23:40:45 $
     15 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2005-06-10 01:41:35 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4242 *  current, a non-NULL psErr is returned with code PS_ERR_NONE.
    4343 *
    44  *  @return void: void.
    4544 */
    4645void psLibInit(
    47     bool predictable,
    4846    const char* timeConfig           ///< Filename of config file for psTime.
    4947);
  • trunk/psLib/test/astronomy/tst_psTime_01.c

    r4059 r4205  
    2323 *  @author  Eric Van Alst, MHPCC
    2424 *
    25  *  @version $Revision: 1.26 $  $Name: not supported by cvs2svn $
    26  *  @date  $Date: 2005-05-31 21:56:31 $
     25 *  @version $Revision: 1.27 $  $Name: not supported by cvs2svn $
     26 *  @date  $Date: 2005-06-10 01:41:35 $
    2727 *
    2828 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    161161
    162162    // Initialize library internal structures
    163     psLibInit(true,"psTime.config");
     163    psLibInit("psTime.config");
    164164
    165165    if( !runTestSuite(stderr,"psTime",tests,argc,argv)) {
     
    11381138//    char *testString = "2004-07-21T18:22:24.272Z";
    11391139//
    1140 //    psLibInit(true,"psTime.config");
     1140//    psLibInit("psTime.config");
    11411141//
    11421142// Test time was taken at July 21, 2004 at 18:22:24.272044
  • trunk/psLib/test/astronomy/tst_psTime_02.c

    r4058 r4205  
    1212 *  @author  Eric Van Alst, MHPCC
    1313 *
    14  *  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
    15  *  @date  $Date: 2005-05-31 21:57:22 $
     14 *  @version $Revision: 1.13 $  $Name: not supported by cvs2svn $
     15 *  @date  $Date: 2005-06-10 01:41:35 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6767
    6868    // Initialize library internal structures
    69     psLibInit(true,"psTime.config");
     69    psLibInit("psTime.config");
    7070
    7171    if( !runTestSuite(stderr,"psTime",tests,argc,argv)) {
  • trunk/psLib/test/astronomy/tst_psTime_03.c

    r4059 r4205  
    1111 *  @author  Eric Van Alst, MHPCC
    1212 *
    13  *  @version $Revision: 1.17 $  $Name: not supported by cvs2svn $
    14  *  @date  $Date: 2005-05-31 22:01:27 $
     13 *  @version $Revision: 1.18 $  $Name: not supported by cvs2svn $
     14 *  @date  $Date: 2005-06-10 01:41:35 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    188188
    189189    // Initialize library internal structures
    190     psLibInit(true,"psTime.config");
     190    psLibInit("psTime.config");
    191191
    192192    if( !runTestSuite(stderr,"psTime",tests,argc,argv)) {
  • trunk/psLib/test/astronomy/tst_psTime_04.c

    r4059 r4205  
    1515 *  @author  Eric Van Alst, MHPCC
    1616 *
    17  *  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
    18  *  @date  $Date: 2005-05-31 22:02:25 $
     17 *  @version $Revision: 1.13 $  $Name: not supported by cvs2svn $
     18 *  @date  $Date: 2005-06-10 01:41:35 $
    1919 *
    2020 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5555{
    5656    // Test A - Initialize time
    57     psLibInit(true, "psTime.config");
     57    psLibInit("psTime.config");
    5858    psLibFinalize();
    5959
     
    6464{
    6565    // Test B - Attempt to open non-existant time config file
    66     psLibInit(true, "zzz");
     66    psLibInit("zzz");
    6767
    6868    return 0;
     
    7272{
    7373    // Test C - Attempt to open non-existant time data files
    74     psLibInit(true, "test.psTime.config1");
     74    psLibInit("test.psTime.config1");
    7575    psLibFinalize();
    7676
     
    8181{
    8282    // Test D - Attempt to read incorrect number of files
    83     psLibInit(true, "test.psTime.config2");
     83    psLibInit("test.psTime.config2");
    8484    psLibFinalize();
    8585
     
    9090{
    9191    // Test E - Attempt to read incorrect number of from values
    92     psLibInit(true, "test.psTime.config3");
     92    psLibInit("test.psTime.config3");
    9393    psLibFinalize();
    9494
     
    9999{
    100100    // Test F - Attempt to read data file with typo in number
    101     psLibInit(true, "test.psTime.config4");
     101    psLibInit("test.psTime.config4");
    102102    psLibFinalize();
    103103
Note: See TracChangeset for help on using the changeset viewer.