- Timestamp:
- Nov 24, 2012, 4:07:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120905/Ohana/src/delstar/src/delete_photcodes.c
r34690 r34693 1 1 # include "delstar.h" 2 2 3 int delete_photcodes ( SkyList *skylist,int hostID, char *hostpath) {3 int delete_photcodes (int hostID, char *hostpath) { 4 4 5 5 int i; 6 6 Catalog catalog; 7 8 // load the current sky table (layout of all SkyRegions) 9 SkyTable *sky = SkyTableLoadOptimal (CATDIR, NULL, NULL, TRUE, -1, VERBOSE); 10 if (!sky) { 11 fprintf (stderr, "ERROR running loading sky table from %s\n", CATDIR); 12 exit (2); 13 } 14 SkyTableSetFilenames (sky, CATDIR, "cpt"); 15 16 SkyList *skylist = SkyListByPatch (sky, -1, &UserPatch); 17 if (!skylist) { 18 fprintf (stderr, "ERROR setting up skylist for %s\n", CATDIR); 19 exit (2); 20 } 7 21 8 22 // launch the remote jobs
Note:
See TracChangeset
for help on using the changeset viewer.
