Changeset 31657 for branches/eam_branches/ipp-20110505/Ohana/src/opihi
- Timestamp:
- Jun 21, 2011, 6:45:51 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110505/Ohana/src/opihi
- Files:
-
- 19 deleted
- 33 edited
-
cmd.astro/Makefile (modified) (2 diffs)
-
cmd.astro/coord_systems.c (deleted)
-
cmd.basic/Makefile (modified) (1 diff)
-
cmd.data/Makefile (modified) (1 diff)
-
cmd.data/cursor.c (modified) (1 diff)
-
cmd.data/ps.c (modified) (1 diff)
-
dvo/ImageOps.c (deleted)
-
dvo/ImageSelection.c (deleted)
-
dvo/LoadImages.c (deleted)
-
dvo/Makefile (modified) (1 diff)
-
dvo/badimages.c (modified) (2 diffs)
-
dvo/dbBooleanCond.c (deleted)
-
dvo/dbCheckStack.c (deleted)
-
dvo/dbCmdlineFields.c (deleted)
-
dvo/dbExtractAverages.c (deleted)
-
dvo/dbExtractImages.c (deleted)
-
dvo/dbExtractMeasures.c (deleted)
-
dvo/dbFields.c (deleted)
-
dvo/dbRPN.c (deleted)
-
dvo/dbStackMath.c (deleted)
-
dvo/dbStackOps.c (deleted)
-
dvo/dmt.c (modified) (1 diff)
-
dvo/extract.c (modified) (1 diff)
-
dvo/gimages.c (modified) (2 diffs)
-
dvo/images.c (modified) (2 diffs)
-
dvo/imdata.c (modified) (2 diffs)
-
dvo/imdense.c (modified) (2 diffs)
-
dvo/imextract.c (modified) (2 diffs)
-
dvo/imlist.c (modified) (2 diffs)
-
dvo/imphot.c (modified) (2 diffs)
-
dvo/imstats.c (modified) (2 diffs)
-
dvo/lcat.c (modified) (1 diff)
-
dvo/match_image.c (deleted)
-
dvo/photometry.c (modified) (2 diffs)
-
dvo/region_list.c (modified) (6 diffs)
-
dvo/skycoverage.c (modified) (2 diffs)
-
dvo/skyregion.c (modified) (4 diffs)
-
dvo/subpix.c (modified) (2 diffs)
-
include/astro.h (modified) (1 diff)
-
include/convert.h (deleted)
-
include/data.h (modified) (1 diff)
-
include/display.h (modified) (1 diff)
-
include/dvomath.h (modified) (4 diffs)
-
include/dvoshell.h (modified) (8 diffs)
-
include/shell.h (modified) (3 diffs)
-
lib.data/Makefile (modified) (2 diffs)
-
lib.data/convert.c (deleted)
-
lib.data/open_kapa.c (modified) (1 diff)
-
lib.shell/Makefile (modified) (3 diffs)
-
lib.shell/dvomath.c (modified) (1 diff)
-
lib.shell/errors.c (deleted)
-
lib.shell/isolate_elements.c (deleted)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110505/Ohana/src/opihi/cmd.astro/Makefile
r30972 r31657 25 25 $(SRC)/cplot.$(ARCH).o \ 26 26 $(SRC)/csystem.$(ARCH).o \ 27 $(SRC)/coord_systems.$(ARCH).o \28 27 $(SRC)/ctimes.$(ARCH).o \ 29 28 $(SRC)/cval.$(ARCH).o \ … … 77 76 $(INC)/shell.h \ 78 77 $(INC)/dvomath.h \ 79 $(INC)/convert.h \80 78 $(INC)/display.h 81 79 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/cmd.basic/Makefile
r27255 r31657 66 66 $(INC)/shell.h \ 67 67 $(INC)/dvomath.h \ 68 $(INC)/convert.h \69 68 $(INC)/display.h 70 69 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/cmd.data/Makefile
r31450 r31657 155 155 $(INC)/shell.h \ 156 156 $(INC)/dvomath.h \ 157 $(INC)/convert.h \158 157 $(INC)/display.h 159 158 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/cmd.data/cursor.c
r13479 r31657 20 20 remove_argument (N, &argc, argv); 21 21 } 22 if (!GetGraph Data (NULL, &kapa, name)) return (FALSE);22 if (!GetGraphdata (NULL, &kapa, name)) return (FALSE); 23 23 FREE (name); 24 24 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/cmd.data/ps.c
r14590 r31657 56 56 57 57 // get the connection to kapa, false if none available 58 if (!GetGraph Data (NULL, &kapa, name)) return (FALSE);58 if (!GetGraphdata (NULL, &kapa, name)) return (FALSE); 59 59 FREE (name); 60 60 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/Makefile
r31450 r31657 20 20 funcs = \ 21 21 $(SRC)/init.$(ARCH).o \ 22 $(SRC)/ImageOps.$(ARCH).o \23 $(SRC)/ImageSelection.$(ARCH).o \24 $(SRC)/LoadImages.$(ARCH).o \25 22 $(SRC)/cmpReadFile.$(ARCH).o \ 26 23 $(SRC)/compare.$(ARCH).o \ 27 $(SRC)/match_image.$(ARCH).o \28 24 $(SRC)/dvomisc.$(ARCH).o \ 29 25 $(SRC)/region_list.$(ARCH).o \ 30 26 $(SRC)/find_matches.$(ARCH).o \ 31 27 $(SRC)/photometry.$(ARCH).o \ 32 $(SRC)/dbBooleanCond.$(ARCH).o \33 $(SRC)/dbCheckStack.$(ARCH).o \34 $(SRC)/dbCmdlineFields.$(ARCH).o \35 $(SRC)/dbExtractAverages.$(ARCH).o \36 $(SRC)/dbExtractMeasures.$(ARCH).o \37 $(SRC)/dbExtractImages.$(ARCH).o \38 $(SRC)/dbFields.$(ARCH).o \39 $(SRC)/dbRPN.$(ARCH).o \40 $(SRC)/dbStackMath.$(ARCH).o \41 $(SRC)/dbStackOps.$(ARCH).o \42 28 $(SRC)/dvo.$(ARCH).o 43 29 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/badimages.c
r29540 r31657 20 20 } 21 21 22 image = LoadImages (&Nimage);22 image = LoadImagesDVO (&Nimage); 23 23 24 24 Cross = FALSE; … … 70 70 } 71 71 72 FreeImages (image);72 FreeImagesDVO(image); 73 73 return (TRUE); 74 74 } -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/dmt.c
r27435 r31657 45 45 } 46 46 47 if (!GetGraph Data (&graphsky, &kapa, NULL)) return (FALSE);47 if (!GetGraphdata (&graphsky, &kapa, NULL)) return (FALSE); 48 48 if (!GetGraph (&graphmode, NULL, NULL)) return (FALSE); 49 49 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/extract.c
r17201 r31657 31 31 RegionFile *regions; 32 32 33 if (!GetGraph Data (&graphmode, NULL, NULL)) return (FALSE);33 if (!GetGraphdata (&graphmode, NULL, NULL)) return (FALSE); 34 34 if (!InitPhotcodes ()) return (FALSE); 35 35 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/gimages.c
r30612 r31657 83 83 if (!ohana_str_to_radec (&Ra, &Dec, argv[1], argv[2])) return (FALSE); 84 84 85 if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);85 if ((image = LoadImagesDVO (&Nimage)) == NULL) return (FALSE); 86 86 image_subset (image, Nimage, &subset, &Nsubset, selection, tzero, trange, TimeSelect); 87 87 BuildChipMatch (image, Nimage); … … 245 245 set_int_variable ("IMAGEphotcode:n", Nfound); 246 246 247 FreeImages (image);247 FreeImagesDVO (image); 248 248 free (subset); 249 249 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/images.c
r30612 r31657 130 130 131 131 /* it is not an error for the database not to have any images */ 132 if ((image = LoadImages (&Nimage)) == NULL) return (TRUE);132 if ((image = LoadImagesDVO (&Nimage)) == NULL) return (TRUE); 133 133 BuildChipMatch (image, Nimage); 134 134 … … 355 355 free (Xvec.elements.Flt); 356 356 free (Yvec.elements.Flt); 357 FreeImages (image);357 FreeImagesDVO (image); 358 358 FREE (foundMosaic); 359 359 return (TRUE); -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/imdata.c
r29540 r31657 86 86 if ((vec = SelectVector (argv[1], ANYVECTOR, TRUE)) == NULL) return (FALSE); 87 87 88 if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);88 if ((image = LoadImagesDVO (&Nimage)) == NULL) return (FALSE); 89 89 image_subset (image, Nimage, &subset, &Nsubset, selection, tzero, trange, TimeSelect); 90 90 BuildChipMatch (image, Nimage); … … 222 222 vec[0].Nelements = N; 223 223 REALLOCATE (vec[0].elements.Flt, opihi_flt, MAX(1,N)); 224 FreeImages (image);224 FreeImagesDVO(image); 225 225 return (TRUE); 226 226 } -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/imdense.c
r28958 r31657 21 21 } 22 22 23 if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);23 if ((image = LoadImagesDVO (&Nimage)) == NULL) return (FALSE); 24 24 BuildChipMatch (image, Nimage); 25 25 … … 70 70 free (Xvec.elements.Flt); 71 71 free (Yvec.elements.Flt); 72 FreeImages (image);72 FreeImagesDVO (image); 73 73 return (TRUE); 74 74 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/imextract.c
r31160 r31657 90 90 } 91 91 92 if ((image = LoadImages (&Nimage)) == NULL) goto escape;92 if ((image = LoadImagesDVO (&Nimage)) == NULL) goto escape; 93 93 BuildChipMatch (image, Nimage); 94 94 dbExtractImagesInit (); … … 141 141 142 142 // free (subset); 143 FreeImages (image);143 FreeImagesDVO (image); 144 144 145 145 if (vec) free (vec); -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/imlist.c
r29938 r31657 81 81 } 82 82 83 if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);83 if ((image = LoadImagesDVO (&Nimage)) == NULL) return (FALSE); 84 84 image_subset (image, Nimage, &subset, &Nsubset, selection, tzero, trange, TimeSelect); 85 85 BuildChipMatch (image, Nimage); … … 108 108 } 109 109 110 FreeImages (image);110 FreeImagesDVO(image); 111 111 free (subset); 112 112 return (TRUE); -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/imphot.c
r30612 r31657 50 50 gprint (GP_ERR, "searching in range %ds - %ds (%f seconds)\n", (int)tzero, (int)(tzero + trange), trange); 51 51 52 if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);52 if ((image = LoadImagesDVO (&Nimage)) == NULL) return (FALSE); 53 53 image_subset (image, Nimage, &subset, &Nsubset, selection, tzero, trange, TRUE); 54 54 … … 98 98 } 99 99 100 FreeImages (image);100 FreeImagesDVO(image); 101 101 free (subset); 102 102 return (TRUE); -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/imstats.c
r29540 r31657 30 30 } 31 31 32 if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);32 if ((image = LoadImagesDVO (&Nimage)) == NULL) return (FALSE); 33 33 BuildChipMatch (image, Nimage); 34 34 … … 58 58 free (Xvec.elements.Flt); 59 59 free (Yvec.elements.Flt); 60 FreeImages (image);60 FreeImagesDVO (image); 61 61 return (TRUE); 62 62 } -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/lcat.c
r14401 r31657 11 11 SkyList *skylist; 12 12 13 if (!GetGraph Data (&graphmode, NULL, NULL)) return (FALSE);13 if (!GetGraphdata (&graphmode, NULL, NULL)) return (FALSE); 14 14 15 15 ShowAll = FALSE; -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/photometry.c
r30612 r31657 1178 1178 ra = average[0].R - measure[0].dR / 3600.0; 1179 1179 dec = average[0].D - measure[0].dD / 3600.0; 1180 image = MatchImage (measure[0].t, measure[0].photcode, measure[0].imageID);1180 image = MatchImageDVO (measure[0].t, measure[0].photcode, measure[0].imageID); 1181 1181 if (image == NULL) break; 1182 1182 RD_to_XY (&x, &y, ra, dec, &image[0].coords); … … 1191 1191 ra = average[0].R - measure[0].dR / 3600.0; 1192 1192 dec = average[0].D - measure[0].dD / 3600.0; 1193 image = MatchImage (measure[0].t, measure[0].photcode, measure[0].imageID);1193 image = MatchImageDVO (measure[0].t, measure[0].photcode, measure[0].imageID); 1194 1194 if (image == NULL) break; 1195 1195 RD_to_XY (&x, &y, ra, dec, &image[0].coords); -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/region_list.c
r25757 r31657 5 5 information carried back up */ 6 6 7 static char *CATDIR = NULL;8 7 static SkyTable *sky = NULL; 9 8 10 9 int SetCATDIR (char *path, int verbose) { 11 10 11 char *CATDIR = NULL; 12 12 char *newpath; 13 13 char catdir_config[256]; … … 24 24 } 25 25 26 if (CATDIR != NULL) free (CATDIR); 27 CATDIR = strcreate (newpath); 26 CATDIR = newpath; 27 // save the new value in libdvo 28 dvo_set_catdir(CATDIR); 28 29 29 30 if (VarConfig ("GSCFILE", "%s", gscfile) == NULL) gscfile[0] = 0; … … 51 52 52 53 char *GetCATDIR () { 54 char *CATDIR = dvo_get_catdir(); 55 53 56 if (CATDIR == NULL) { 54 SetCATDIR (NULL, FALSE); 57 if (SetCATDIR (NULL, FALSE)) { 58 CATDIR = dvo_get_catdir(); 59 } 55 60 } 56 61 return (CATDIR); … … 136 141 if (selection->name != NULL) { 137 142 char filename[256]; 143 char *CATDIR = dvo_get_catdir(); 138 144 139 145 ALLOCATE (skylist, SkyList, 1); … … 158 164 Graphdata graphsky; 159 165 160 if (!GetGraph Data (&graphsky, NULL, NULL)) {166 if (!GetGraphdata (&graphsky, NULL, NULL)) { 161 167 gprint (GP_ERR, "region display not available\n"); 162 168 return (NULL); … … 201 207 ALLOCATE (skylist[0].filename, char *, NREGIONS); 202 208 skylist[0].ownElements = TRUE; // free these elements when freeing the list 209 210 char *CATDIR = dvo_get_catdir(); 203 211 204 212 while (fscanf (f, "%s", filename) != EOF) { -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/skycoverage.c
r31160 r31657 186 186 PutCoords (&coords, &buf[0].header); 187 187 188 image = LoadImages (&Nimage);188 image = LoadImagesDVO(&Nimage); 189 189 if (image == NULL) { 190 190 return (FALSE); … … 266 266 } 267 267 } 268 FreeImages (image);268 FreeImagesDVO(image); 269 269 return (TRUE); 270 270 } -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/skyregion.c
r27610 r31657 1 1 # include "dvoshell.h" 2 2 3 #ifdef NO_MOVED_TO_DVO 3 4 static double RAs = 0.0; 4 5 static double RAe = 0.0; 5 6 static double DECs = 0.0; 6 7 static double DECe = 0.0; 8 #endif 7 9 8 10 // define the sky region for which extractions are limited … … 10 12 11 13 if (argc == 1) { 14 double RAs, RAe, DECs, DECe; 15 get_skyregion(&RAs, &RAe, &DECs, &DECe); 16 12 17 gprint (GP_ERR, "current skyregion: %f - %f : %f - %f\n", RAs, RAe, DECs, DECe); 13 18 gprint (GP_ERR, "USAGE: skyregion (min RA) (max RA) (min DEC) (max DEC)\n"); … … 24 29 return (TRUE); 25 30 } 26 31 #ifdef NOT_MOVED_TO_LIBDVO 27 32 int get_skyregion (double *Rs, double *Re, double *Ds, double *De) { 28 33 … … 44 49 return TRUE; 45 50 } 51 #endif 46 52 47 53 /* find region which overlaps c at given depth (-1 : populated ) */ -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/dvo/subpix.c
r29540 r31657 114 114 115 115 /* load all images, extract those touching Ra, Dec */ 116 if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);116 if ((image = LoadImagesDVO (&Nimage)) == NULL) return (FALSE); 117 117 BuildChipMatch (image, Nimage); 118 118 … … 150 150 SkyListFree (skylist); 151 151 152 FreeImages (image);152 FreeImagesDVO(image); 153 153 return (TRUE); 154 154 } -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/include/astro.h
r21153 r31657 27 27 } CoordTransform; 28 28 29 #ifndef MOVED_TO_LIBDVO 29 30 typedef enum {COORD_NONE, COORD_CELESTIAL, COORD_GALACTIC, COORD_ECLIPTIC} CoordTransformSystem; 31 #endif 30 32 31 33 CoordTransform *InitTransform (CoordTransformSystem input, CoordTransformSystem output); -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/include/data.h
r29540 r31657 4 4 # include "convert.h" 5 5 # include "display.h" 6 # include "get_graphdata.h" 6 7 7 8 # ifndef DATA_H -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/include/display.h
r27435 r31657 11 11 int PlotVectorPairErrors PROTO((int kapa, Vector *xVec, Vector *yVec, Vector *dyValues, Graphdata *graphmode)); 12 12 int PlotVectorTriplet PROTO((int kapa, Vector *xVec, Vector *yVec, Vector *zValues, Graphdata *graphmode)); 13 int GetGraphData PROTO((Graphdata *data, int *kapa, char *name));13 // int GetGraphData PROTO((Graphdata *data, int *kapa, char *name)); 14 14 int GetGraph PROTO((Graphdata *data, int *kapa, char *name)); 15 15 int SetGraph PROTO((Graphdata *data)); -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/include/dvomath.h
r20936 r31657 7 7 8 8 # define NCHARS 256 9 # define opihi_flt double10 # define opihi_int int9 // # define opihi_flt double 10 // # define opihi_int int 11 11 // NOTE: if opihi_int is changed to unsigned, all subtraction and negation operations 12 12 // need to result in a float value (or 3 - 5 will yield the unexpected value 2^32 - 2) … … 26 26 enum {ANYVECTOR, NEWVECTOR, OLDVECTOR}; 27 27 enum {ANYBUFFER, NEWBUFFER, OLDBUFFER}; 28 #ifdef NOT_MOVED_TO_LIBDVO 28 29 enum {OPIHI_FLT, OPIHI_INT}; 30 #endif 29 31 30 32 typedef struct { /* representation of a variable (0-D) */ … … 64 66 /* math functions */ 65 67 char *dvomath PROTO((int argc, char **argv, int *size, int maxsize)); 66 char **isolate_elements PROTO((int argc, char **argv, int *nstack)); 68 // MOVED to libohana 69 // char **isolate_elements PROTO((int argc, char **argv, int *nstack)); 67 70 StackVar *convert_to_RPN PROTO((int argc, char **argv, int *nstack)); 68 71 int check_stack PROTO((StackVar *stack, int Nstack, int validsize)); … … 144 147 /* why are these in here? */ 145 148 int gfits_copy_matrix_info (Matrix *matrix1, Matrix *matrix2); 149 #ifndef MOVED_TO_LIBDVO 146 150 int GetTimeFormat PROTO((time_t *TimeReference, int *TimeFormat)); 151 #endif 147 152 148 153 # endif -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/include/dvoshell.h
r31160 r31657 2 2 # include "basic.h" 3 3 # include "astro.h" 4 # include "dvo.h" 4 5 5 6 # ifndef DVOSHELL_H 6 7 # define DVOSHELL_H 7 8 9 #ifdef NOT_MOVED_TO_LIBDVO 8 10 typedef enum { 9 11 DB_STACK_NONE = 0, … … 232 234 }; 233 235 234 235 236 enum {DVO_TABLE_AVERAGE, DVO_TABLE_MEASURE, DVO_TABLE_IMAGE}; 236 237 enum {DVO_DB_CMDLINE_ERROR, DVO_DB_CMDLINE_IS_END, DVO_DB_CMDLINE_IS_WHERE, DVO_DB_CMDLINE_IS_MATCH}; … … 268 269 opihi_int Int; 269 270 } dbValue; 271 272 #endif // notdef MOVED_TO_LIBDVO 270 273 271 274 typedef struct { … … 313 316 void FreeDVO PROTO((void)); 314 317 int InitPhotcodes PROTO((void)); 318 #ifdef NOT_MOVED_TO_DVO 315 319 Image *LoadImages PROTO((off_t *Nimage)); 316 320 void FreeImages PROTO((Image *images)); 317 321 Image *MatchImage PROTO((unsigned int time, short int source, unsigned int imageID)); 322 #endif 318 323 Coords *MatchMosaic PROTO((unsigned int time, short int source)); 319 324 int Quality PROTO((Measure *measure, int IsDophot)); … … 347 352 CMPstars *cmpReadText PROTO((FILE *f, off_t *nstars)); 348 353 int RD_to_XYpic PROTO((double *x, double *y, double r, double d, Coords *coords, double Rmin, double Rmax, double Rmid, int *leftside)); 349 354 int wordhash (char *word); 355 356 #ifdef NOT_MOVED_TO_LIBDVO 350 357 // dvo DB field functions 351 358 dbField *dbCmdlineFields PROTO((int argc, char **argv, int table, int *last, int *nfields)); … … 361 368 dbStack *dbBinary PROTO((dbStack *V1, dbStack *V2, char *op, dbValue *fields)); 362 369 dbStack *dbUnary PROTO((dbStack *V1, char *op, dbValue *fields)); 370 #endif 363 371 364 372 int GetMagMode PROTO((char *string)); … … 368 376 int ParseImageField PROTO((dbField *field, char *fieldName)); 369 377 370 dbValue dbExtractAverages PROTO((Average *average, SecFilt *secfilt, Measure *measure, dbField *field));371 378 dbValue dbExtractMeasures PROTO((Average *average, SecFilt *secfilt, Measure *measure, dbField *field)); 372 379 dbValue dbExtractImages PROTO((Image *image, off_t Nimage, off_t N, dbField *field)); 380 #ifdef NOT_MOVED_TO_LIBDVO 381 dbValue dbExtractAverages PROTO((Average *average, SecFilt *secfilt, Measure *measure, dbField *field)); 373 382 374 383 void dbInitField PROTO((dbField *field)); 375 384 void dbFreeFields PROTO((dbField *fields, int Nfields)); 376 385 int dbAstroRegionLimits PROTO((dbStack **stack, int *nstack, SkyRegionSelection *selection, int table)); 377 char *strfloat PROTO((float value));378 379 386 int get_skyregion (double *Rs, double *Re, double *Ds, double *De); 380 387 int set_skyregion (double Rs, double Re, double Ds, double De); 381 388 void FreeImageSelection (void); 389 char *strfloat PROTO((float value)); 390 382 391 383 392 void FreeSkyRegionSelection (SkyRegionSelection *selection); 384 int wordhash (char *word); 393 385 394 386 395 int dbExtractMeasuresInitTransform (CoordTransformSystem target); … … 395 404 int dbExtractImagesInit (void); 396 405 int dbExtractImagesReset (void); 406 #endif // NOT_MOVED_TO_LIBDVO 397 407 398 408 # endif -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/include/shell.h
r31590 r31657 12 12 # define MACRO_NAME(s) MACRO_STRING(s) 13 13 14 typedef enum {GP_FILE, GP_BUFF} gpMode; 15 #ifdef NOT_MOVED_TO_LIBOHANA 14 16 /* enums used by gprint functions */ 15 typedef enum {GP_FILE, GP_BUFF} gpMode;16 17 typedef enum {GP_LOG, GP_ERR} gpDest; 18 #endif 17 19 typedef enum {OPIHI_VERBOSE_OFF, OPIHI_VERBOSE_ON, OPIHI_VERBOSE_ERROR} OpihiVerboseMode; 18 20 … … 122 124 char *VarConfigEntry PROTO((char *keyword, char *mode, int entry, void *ptr)); 123 125 126 #ifndef NOT_MOVED_TO_DVO 124 127 int init_error PROTO((void)); 125 128 int push_error PROTO((char *line)); 126 129 int print_error PROTO((void)); 130 #endif 131 127 132 void handle_interrupt PROTO((int)); 128 133 char **command_completer PROTO((const char *, int, int)); … … 171 176 FILE *gprintGetFile PROTO((gpDest dest)); 172 177 char *gprintGetName PROTO((gpDest dest)); 178 #ifdef NOT_MOVED_TO_LIBOHANA 173 179 int gprint PROTO((gpDest dest, char *format, ...)) OHANA_FORMAT(printf, 2, 3); 180 #endif 174 181 int gwrite PROTO((char *buffer, int size, int N, gpDest dest)); 175 182 int gprint_syserror PROTO((gpDest dest, int myError, char *format, ...)) OHANA_FORMAT(printf, 3, 4); -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/lib.data/Makefile
r29540 r31657 21 21 $(SDIR)/svdcmp.$(ARCH).o \ 22 22 $(SDIR)/svdcmp_bond_new.$(ARCH).o \ 23 $(SDIR)/convert.$(ARCH).o \24 23 $(SDIR)/bracket.$(ARCH).o \ 25 24 $(SDIR)/spline.$(ARCH).o \ … … 48 47 $(INC)/shell.h \ 49 48 $(INC)/dvomath.h \ 50 $(INC)/convert.h \51 49 $(INC)/display.h 52 50 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/lib.data/open_kapa.c
r18326 r31657 162 162 163 163 /* return pointers for given kapa, don't set or open */ 164 int GetGraph Data (Graphdata *data, int *fd, char *name) {164 int GetGraphdata (Graphdata *data, int *fd, char *name) { 165 165 166 166 int entry; -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/lib.shell/Makefile
r16889 r31657 28 28 $(SDIR)/convert_to_RPN.$(ARCH).o \ 29 29 $(SDIR)/dvomath.$(ARCH).o \ 30 $(SDIR)/errors.$(ARCH).o \31 30 $(SDIR)/evaluate_stack.$(ARCH).o \ 32 31 $(SDIR)/exec_loop.$(ARCH).o \ … … 35 34 $(SDIR)/gprint.$(ARCH).o \ 36 35 $(SDIR)/interrupt.$(ARCH).o \ 37 $(SDIR)/isolate_elements.$(ARCH).o \38 36 $(SDIR)/macro_create.$(ARCH).o \ 39 37 $(SDIR)/macro_delete.$(ARCH).o \ … … 61 59 $(INC)/shell.h \ 62 60 $(INC)/dvomath.h \ 63 $(INC)/convert.h \64 61 $(INC)/display.h 65 62 -
branches/eam_branches/ipp-20110505/Ohana/src/opihi/lib.shell/dvomath.c
r20936 r31657 1 1 # include "opihi.h" 2 # include "dvo.h" 2 3 3 4 /* return value on success is temp vector/buffer name or scalar value return value on error is NULL, all
Note:
See TracChangeset
for help on using the changeset viewer.
