IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2007, 4:41:15 PM (19 years ago)
Author:
Paul Price
Message:

Adding facility for specifying trace destinations. Log and trace can now be directed to files on the command-line.

File:
1 edited

Legend:

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

    r15217 r15385  
    55 *  @author Eugene Magnier, IfA
    66 *
    7  *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2007-10-04 20:15:48 $
     7 *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2007-10-26 02:41:15 $
    99 *  Copyright 2005-2006 Institute for Astronomy, University of Hawaii
    1010 */
     
    3636/// This structure stores the configuration information: the site, camera and recipe configuration, the
    3737/// command-line arguments, the pmFPAfiles used, and the database handle.
    38 typedef struct
    39 {
     38typedef struct {
    4039    psMetadata *site;                   ///< Site configuration
    4140    psMetadata *camera;                 ///< Camera specification
     
    5150    pmRecipeSource recipesRead;         ///< Which recipe sources have been read
    5251    psMetadata *recipeSymbols;          ///< Where each recipe came from
    53 
    54     // dropping the argc, argv info from pmConfig
    55     # if (0)
    56     int *argc;                          ///< Number of command-line arguments
    57     char **argv;                        ///< Command-line arguments (raw version)
    58     # endif
    59 }
    60 pmConfig;
     52    int traceFD;                        ///< File descriptor for trace messages
     53    int logFD;                          ///< File descriptor for log messages
     54} pmConfig;
    6155
    6256/// Allocator for pmConfig
Note: See TracChangeset for help on using the changeset viewer.