00001 /* 00002 * Checkpoint.h 00003 * 00004 * Created on: Mar 2, 2013 00005 * Author: Brenda Javornik (e-mail: brendaj (at) cora.nwra.com) 00006 */ 00007 00008 #ifndef CHECKPOINT_H_ 00009 #define CHECKPOINT_H_ 00010 00011 #include <stdbool.h> 00012 00013 long getCheckpoint(); 00014 00015 void setCheckpoint(long value, char *outputBaseDir, char *versionedOutputBaseDir); 00016 00017 bool runningWithCheckpoints(); 00018 00019 int renameCheckpointFile(); 00020 00021 void setCheckpointInputFile(char *filename); 00022 00023 char *getCheckpointInputFile(); 00024 00025 int removeCheckpoints(); 00026 00027 void destroyCheckpoint(); 00028 00029 void writeCheckpoint(MAP_DEPTH_MATRIX w, FITSParameters parms, BaseDirectory *baseName); 00030 00031 #endif /* CHECKPOINT_H_ */