Changeset 27840 for branches/simtest_nebulous_branches/pstamp/src/pstamp.h
- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pstamp/src/pstamp.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/pstamp/src/pstamp.h
r18243 r27840 2 2 #define PSTAMP_H 3 3 4 #include <stdio.h> 5 #include <string.h> 6 #include <strings.h> // for strcasecmp 7 #include <unistd.h> // for unlink 8 #include "pslib.h" 9 #include "psmodules.h" 10 // #include "psphot.h" 11 // #include "psastro.h" 12 // #include "ppStats.h" 13 #include "pstampErrorCodes.h" 4 // error codes returned to users in results flie 5 // PS-IPP-PStamp::RequestFile 6 // These must match the values in the perl module PS-IPP-PStamp::RequestFile 7 // i.e. PS-IPP-PStamp/lib/PS/IPP/PStamp/RequestFile.pm 14 8 15 9 typedef enum { 16 PSTAMP_UNKNOWN = -1, 17 PSTAMP_RAW, 18 PSTAMP_CHIP, 19 PSTAMP_WARP, 20 PSTAMP_DIFF, 21 PSTAMP_STACK 22 } pstampImageType; 10 PSTAMP_SUCCESS = 0, 11 PSTAMP_SYSTEM_ERROR = 10, 12 PSTAMP_NOT_IMPLEMENTED = 11, 13 PSTAMP_UNKNOWN_ERROR = 12, 14 PSTAMP_DUP_REQUEST = 20, 15 PSTAMP_INVALID_REQUEST = 21, 16 PSTAMP_UNKNOWN_PRODUCT = 22, 17 PSTAMP_NO_IMAGE_MATCH = 23, 18 PSTAMP_NOT_DESTREAKED = 24, 19 PSTAMP_NOT_AVAILABLE = 25, 20 PSTAMP_GONE = 26, 21 PSTAMP_NO_JOBS_QUEUED = 27, 22 PSTAMP_NO_OVERLAP = 28 23 } pstampJobErrors; 23 24 24 25 25 // command modes for pstampparse 26 typedef enum { 27 PSP_MODE_UNKNOWN = 0, 28 PSP_MODE_QUEUE_JOB, 29 PSP_MODE_LIST_URI, 30 PSP_MODE_LIST_JOB 31 } pspMode; 26 // values for options mask. 27 #define PSTAMP_SELECT_IMAGE 1 28 #define PSTAMP_SELECT_MASK 2 29 #define PSTAMP_SELECT_WEIGHT 4 30 #define PSTAMP_SELECT_CMF 8 31 #define PSTAMP_SELECT_PSF 16 32 #define PSTAMP_SELECT_BACKMDL 32 33 #define PSTAMP_SELECT_INVERSE 1024 32 34 33 #define PSTAMP_SELECT_IMAGE 1 34 #define PSTAMP_SELECT_MASK 2 35 #define PSTAMP_SELECT_WEIGHT 4 35 #define PSTAMP_WAIT_FOR_UPDATE 2048 36 36 37 37 #define PSTAMP_CENTER_IN_PIXELS 1 … … 44 44 #define STAMP_RESULTS_VERSION "1" 45 45 46 // end of values tha must match PS-IPP-PStamp::RequestFile 47 46 48 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
