IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 21, 2011, 6:45:51 PM (15 years ago)
Author:
eugene
Message:

merge from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110505/Ohana/src/opihi/include/dvoshell.h

    r31160 r31657  
    22# include "basic.h"
    33# include "astro.h"
     4# include "dvo.h"
    45
    56# ifndef DVOSHELL_H
    67# define DVOSHELL_H
    78
     9#ifdef NOT_MOVED_TO_LIBDVO
    810typedef enum {
    911  DB_STACK_NONE  = 0,
     
    232234};
    233235
    234 
    235236enum {DVO_TABLE_AVERAGE, DVO_TABLE_MEASURE, DVO_TABLE_IMAGE};
    236237enum {DVO_DB_CMDLINE_ERROR, DVO_DB_CMDLINE_IS_END, DVO_DB_CMDLINE_IS_WHERE, DVO_DB_CMDLINE_IS_MATCH};
     
    268269  opihi_int Int;
    269270} dbValue;
     271
     272#endif // notdef MOVED_TO_LIBDVO
    270273
    271274typedef struct {
     
    313316void          FreeDVO               PROTO((void));
    314317int           InitPhotcodes         PROTO((void));
     318#ifdef NOT_MOVED_TO_DVO
    315319Image        *LoadImages            PROTO((off_t *Nimage));
    316320void          FreeImages            PROTO((Image *images));
    317321Image        *MatchImage            PROTO((unsigned int time, short int source, unsigned int imageID));
     322#endif
    318323Coords       *MatchMosaic           PROTO((unsigned int time, short int source));
    319324int           Quality               PROTO((Measure *measure, int IsDophot));
     
    347352CMPstars     *cmpReadText           PROTO((FILE *f, off_t *nstars));
    348353int           RD_to_XYpic           PROTO((double *x, double *y, double r, double d, Coords *coords, double Rmin, double Rmax, double Rmid, int *leftside));
    349 
     354int wordhash (char *word);
     355
     356#ifdef NOT_MOVED_TO_LIBDVO
    350357// dvo DB field functions
    351358dbField     *dbCmdlineFields        PROTO((int argc, char **argv, int table, int *last, int *nfields));
     
    361368dbStack     *dbBinary               PROTO((dbStack *V1, dbStack *V2, char *op, dbValue *fields));
    362369dbStack     *dbUnary                PROTO((dbStack *V1, char *op, dbValue *fields));
     370#endif
    363371
    364372int          GetMagMode             PROTO((char *string));
     
    368376int          ParseImageField        PROTO((dbField *field, char *fieldName));
    369377
    370 dbValue      dbExtractAverages      PROTO((Average *average, SecFilt *secfilt, Measure *measure, dbField *field));
    371378dbValue      dbExtractMeasures      PROTO((Average *average, SecFilt *secfilt, Measure *measure, dbField *field));
    372379dbValue      dbExtractImages        PROTO((Image *image, off_t Nimage, off_t N, dbField *field));
     380#ifdef NOT_MOVED_TO_LIBDVO
     381dbValue      dbExtractAverages      PROTO((Average *average, SecFilt *secfilt, Measure *measure, dbField *field));
    373382
    374383void         dbInitField            PROTO((dbField *field));
    375384void         dbFreeFields           PROTO((dbField *fields, int Nfields));
    376385int          dbAstroRegionLimits    PROTO((dbStack **stack, int *nstack, SkyRegionSelection *selection, int table));
    377 char        *strfloat               PROTO((float value));
    378 
    379386int get_skyregion (double *Rs, double *Re, double *Ds, double *De);
    380387int set_skyregion (double Rs, double Re, double Ds, double De);
    381388void FreeImageSelection (void);
     389char        *strfloat               PROTO((float value));
     390
    382391
    383392void FreeSkyRegionSelection (SkyRegionSelection *selection);
    384 int wordhash (char *word);
     393
    385394
    386395int dbExtractMeasuresInitTransform (CoordTransformSystem target);
     
    395404int dbExtractImagesInit (void);
    396405int dbExtractImagesReset (void);
     406#endif // NOT_MOVED_TO_LIBDVO
    397407
    398408# endif
Note: See TracChangeset for help on using the changeset viewer.