Index: trunk/Ohana/src/opihi/include/pcontrol.h
===================================================================
--- trunk/Ohana/src/opihi/include/pcontrol.h	(revision 3212)
+++ trunk/Ohana/src/opihi/include/pcontrol.h	(revision 4450)
@@ -72,4 +72,6 @@
   int          exit_status;
   int          Reset;
+  int          stdout_size;
+  int          stderr_size;
   JobMode      mode;
   JobStat      state;
@@ -128,4 +130,7 @@
 Host *GetHost (int StackID, int where);
 int FindHost (IDtype HostID, int StackID);
+Host *FindHostPtr (IDtype HostID, int StackID);
+Host *FindHostStack (IDtype HostID);
+Host *PullHost (IDtype HostID, int StackID);
 int FindNamedHost (char *name, int StackID);
 void AddHost (char *hostname);
@@ -149,5 +154,5 @@
 int CheckDoneHost (Host *host);
 int CheckDoneJob (Job *job);
-int GetJobOutput (Job *job, char *channel);
+int GetJobOutput (char *command, Host *host, IOBuffer *buffer, int Nbytes);
 int ResetJob (Job *job);
 int PclientCommand (Host *host, char *command, char *response, IOBuffer *buffer);
@@ -159,6 +164,9 @@
 Job *GetJob (int StackID, int where);
 int FindJob (IDtype JobID, int StackID);
+Job *FindJobPtr (IDtype JobID, int StackID);
+Job *FindJobStack (IDtype JobID);
+Job *PullJob (IDtype JobID, int StackID);
 IDtype AddJob (char *hostname, JobMode mode, int timeout, int argc, char **argv);
-void KillJob (Job *job);
+int KillJob (Job *job);
 void DelJob (Job *job);
 Host *UnlinkJobAndHost (Job *job);
