IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 18, 2007, 4:10:12 PM (19 years ago)
Author:
rhl
Message:

pmConfig no longer owns arg[cv];

File:
1 edited

Legend:

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

    r12906 r12916  
    55 *  @author Eugene Magnier, IfA
    66 *
    7  *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2007-04-18 22:42:33 $
     7 *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2007-04-19 02:10:12 $
    99 *  Copyright 2005-2006 Institute for Astronomy, University of Hawaii
    1010 */
     
    6161
    6262/// Allocator for pmConfig
    63 pmConfig *pmConfigAlloc(int *argc,      /// Number of command-line arguments
    64                         char **argv     /// Command-line arguments
    65                        );
     63pmConfig *pmConfigAlloc();
    6664
    6765/// Set static configuration information
     
    8482pmConfig *pmConfigRead(int *argc,       ///< Number of command-line arguments
    8583                       char **argv, ///< Array of command-line arguments
    86                        char *defaultRecipe ///< name of top-level recipe for this program
     84                       const char *defaultRecipe ///< name of top-level recipe for this program
    8785                      );
    8886
     
    143141/// Given the 'file' and 'list' arguments (e.g., "-file" and "-list"), find the arguments associated with
    144142/// these words and interpret them as lists of files.  Return an array of the resulting filenames.
    145 psArray *pmConfigFileSets(pmConfig *config, ///< Configuration, containing command-line arguments
     143psArray *pmConfigFileSets(int *argc,    ///< Number of arguments (I/O)
     144                          char **argv,  ///< Array of arguments
    146145                          const char *file, ///< CL argument specifying a filename
    147146                          const char *list ///< CL argument specifying a text file with a list of filenames
     
    153152/// stuffs the array of filenames into the metadata under "name".
    154153bool pmConfigFileSetsMD(psMetadata *metadata, ///< Metadata into which to stuff the array
    155                         pmConfig *config, ///< Configuration (which command-line arguments)
     154                        int *argc,    ///< Number of arguments (I/O)
     155                        char **argv,  ///< Array of arguments
    156156                        const char *name, ///< Name for array in the metadata
    157157                        const char *file, ///< CL argument specifying a filename
Note: See TracChangeset for help on using the changeset viewer.