Changeset 25872 for trunk/Ohana/src/opihi/include/pcontrol.h
- Timestamp:
- Oct 18, 2009, 10:29:11 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/pcontrol.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/pcontrol.h
r21379 r25872 60 60 PCONTROL_RESP_KILL_JOB, 61 61 PCONTROL_RESP_STOP_HOST, 62 PCONTROL_RESP_DOWN_HOST, 62 63 } HostResp; 63 64 … … 129 130 int pid; 130 131 HostStat stack; 131 Ptime lasttry;132 Ptime nexttry;133 132 IDtype HostID; 134 133 IOBuffer comms_buffer; 135 134 char *response; 136 135 HostResp response_state; 136 Ptime last_start_try; // last (UNIX) time we attempted to connect to this host (0 on success) 137 Ptime next_start_try; // next (UNIX) time we should attempt to connect to this host (0 on success) 138 Ptime connect_time; // (UNIX) time we connected to this host 137 139 struct Job *job; 138 140 } Host; … … 210 212 211 213 int StartHost (Host *host); 214 int CheckResetHost (Host *host); 212 215 int CheckIdleHost (Host *host, int Stage); 213 216 int CheckDoneJob (Job *job, Host *host); … … 253 256 /*** StopHosts.c ***/ 254 257 void DownHost (Host *host); 258 int DownHosts (void); 259 int DownHostResponse (Host *host); 255 260 void OffHost (Host *host); 256 int DownHosts (void); 257 int StopHost (Host *host); 261 int StopHost (Host *host, int mode); 258 262 int StopHostResponse (Host *host); 259 263 int HarvestHost (int pid);
Note:
See TracChangeset
for help on using the changeset viewer.
