1 2 #ifndef JOB_CONTROL_H 3 #define JOB_CONTROL_H 4 5 #include "common.h" 6 7 #define JC_START 0 8 #define JC_UPDATE 1 9 #define JC_PAUSE 2 10 #define JC_CONT 3 11 #define JC_ABORT 4 12 #define JC_ABORT_DELETE 5 13 #define JC_ABORT_ALL 6 14 #define JC_ABORT_ALL_DELETE 7 15 #define JC_TIMEOUT 450 16 17 void job_starter( _main_data *main_data ); 18 19 void job_controller( int ops, _main_data *main_data ); 20 /* Job controller. This function saves main_data 21 * when called with JC_START and uses it for further operation */ 22 23 #endif 24