| Line 5... |
Line 5... |
*
|
*
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
*
|
*
|
* This file part of: AstrOmatic software
|
* This file part of: AstrOmatic software
|
*
|
*
|
* Copyright: (C) 1993,1998-2010 IAP/CNRS/UPMC
|
* Copyright: (C) 1993-2010 Emmanuel Bertin -- IAP/CNRS/UPMC
|
* (C) 1994,1997 ESO
|
|
* (C) 1995,1996 Sterrewacht Leiden
|
|
*
|
|
* Author: Emmanuel Bertin (IAP)
|
|
*
|
*
|
* License: GNU General Public License
|
* License: GNU General Public License
|
*
|
*
|
* AstrOmatic software is free software: you can redistribute it and/or
|
* AstrOmatic software is free software: you can redistribute it and/or
|
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU General Public License as
|
| Line 25... |
Line 21... |
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
* along with AstrOmatic software.
|
* along with AstrOmatic software.
|
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
*
|
*
|
* Last modified: 09/10/2010
|
* Last modified: 10/10/2010
|
*
|
*
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
|
|
|
/*--------------------------------- constants -------------------------------*/
|
/*--------------------------------- constants -------------------------------*/
|
|
|
| Line 43... |
Line 39... |
char name[32];
|
char name[32];
|
enum {P_FLOAT, P_INT, P_STRING, P_BOOL, P_KEY, P_INTLIST, P_FLOATLIST,
|
enum {P_FLOAT, P_INT, P_STRING, P_BOOL, P_KEY, P_INTLIST, P_FLOATLIST,
|
P_BOOLLIST, P_KEYLIST, P_STRINGLIST} type;
|
P_BOOLLIST, P_KEYLIST, P_STRINGLIST} type;
|
void *ptr; /* Pointer to the keyword value */
|
void *ptr; /* Pointer to the keyword value */
|
int imin, imax; /* Range for int's */
|
int imin, imax; /* Range for int's */
|
double dmin, dmax; /* Range for doubles */
|
double dmin, dmax; /* Range for floats */
|
char keylist[32][32]; /* List of keywords */
|
char keylist[32][32]; /* List of keywords */
|
int nlistmin; /* Minimum number of list members */
|
int nlistmin; /* Minimum number of list members */
|
int nlistmax; /* Maximum number of list members */
|
int nlistmax; /* Maximum number of list members */
|
int *nlistptr; /* Ptr to store the nb of read params*/
|
int *nlistptr; /* Ptr to store the nb of read params*/
|
int flag;
|
int flag;
|