Changeset 4602 for trunk/Ohana/src/opihi/include/scheduler.h
- Timestamp:
- Jul 23, 2005, 9:13:00 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/scheduler.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/scheduler.h
r4576 r4602 26 26 } ControllerStat; 27 27 28 enum {RANGE_ABS, RANGE_DAY, RANGE_WEEK}; 29 28 30 /* socket / pipe communication buffer */ 29 31 typedef struct { … … 34 36 int Nbuffer; 35 37 } IOBuffer; 38 39 typedef struct { 40 time_t start; 41 time_t stop; 42 char type; 43 char keep; 44 } TimeRange; 36 45 37 46 /* a task is a description of the wrapping of a job */ … … 78 87 // keep: FALSE: do not perform action within this time period 79 88 80 typedef struct {81 e_time start;82 e_time stop;83 char type;84 char keep;85 } TimeRange;86 87 89 typedef struct { 88 90 int JobID; /* internal ID for job */ … … 141 143 int CheckTasks (); 142 144 int CheckSystem (); 145 int CheckTimeRanges (TimeRange *ranges, int Nranges); 143 146 int GetJobOutput (char *channel, int pid, IOBuffer *buffer, int Nbytes); 144 147 int CheckControllerJob (Job *job);
Note:
See TracChangeset
for help on using the changeset viewer.
