Index: trunk/Ohana/src/opihi/include/pcontrol.h
===================================================================
--- trunk/Ohana/src/opihi/include/pcontrol.h	(revision 21379)
+++ trunk/Ohana/src/opihi/include/pcontrol.h	(revision 25872)
@@ -60,4 +60,5 @@
   PCONTROL_RESP_KILL_JOB,
   PCONTROL_RESP_STOP_HOST,
+  PCONTROL_RESP_DOWN_HOST,
 } HostResp;
 
@@ -129,10 +130,11 @@
   int         pid;
   HostStat    stack;
-  Ptime       lasttry;
-  Ptime       nexttry;
   IDtype      HostID;
   IOBuffer    comms_buffer;
   char       *response;
   HostResp    response_state;
+  Ptime       last_start_try; // last (UNIX) time we attempted to connect to this host (0 on success)
+  Ptime       next_start_try; // next (UNIX) time we should attempt to connect to this host (0 on success)
+  Ptime       connect_time; // (UNIX) time we connected to this host
   struct Job *job;
 } Host;
@@ -210,4 +212,5 @@
 
 int StartHost (Host *host);
+int CheckResetHost (Host *host);
 int CheckIdleHost (Host *host, int Stage);
 int CheckDoneJob (Job *job, Host *host);
@@ -253,7 +256,8 @@
 /*** StopHosts.c ***/
 void   DownHost (Host *host);
+int    DownHosts (void);
+int    DownHostResponse (Host *host);
 void   OffHost (Host *host);
-int    DownHosts (void);
-int    StopHost (Host *host);
+int    StopHost (Host *host, int mode);
 int    StopHostResponse (Host *host);
 int    HarvestHost (int pid);
