IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 23, 2005, 9:13:00 PM (21 years ago)
Author:
eugene
Message:

added valid time ranges and elements of Njobs, status

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/include/scheduler.h

    r4576 r4602  
    2626} ControllerStat;
    2727
     28enum {RANGE_ABS, RANGE_DAY, RANGE_WEEK};
     29
    2830/* socket / pipe communication buffer */
    2931typedef struct {
     
    3436  int   Nbuffer;
    3537} IOBuffer;
     38
     39typedef struct {
     40  time_t start;
     41  time_t stop;
     42  char type;
     43  char keep;
     44} TimeRange;
    3645
    3746/* a task is a description of the wrapping of a job */
     
    7887// keep: FALSE: do not perform action within this time period
    7988 
    80 typedef struct {
    81   e_time start;
    82   e_time stop;
    83   char type;
    84   char keep;
    85 } TimeRange;
    86 
    8789typedef struct {
    8890  int JobID;                            /* internal ID for job */
     
    141143int CheckTasks ();
    142144int CheckSystem ();
     145int CheckTimeRanges (TimeRange *ranges, int Nranges);
    143146int GetJobOutput (char *channel, int pid, IOBuffer *buffer, int Nbytes);
    144147int CheckControllerJob (Job *job);
Note: See TracChangeset for help on using the changeset viewer.