Changeset 20047 for trunk/Ohana/src/opihi/include/pcontrol.h
- Timestamp:
- Oct 10, 2008, 12:51:04 PM (18 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
r19124 r20047 83 83 } Fifo; 84 84 85 typedef struct { 86 IOBuffer buffer; 87 int completed; 88 int size; 89 int requested; 90 } JobOutput; 91 85 92 /* data to define a job */ 86 93 typedef struct { … … 91 98 int exit_status; 92 99 int Reset; 93 int stdout_size;94 int stderr_size;95 100 JobMode mode; 96 101 JobStat state; 97 102 JobStat stack; 98 IOBuffer stdout_buff;99 IOBuffer stderr_buff;103 JobOutput stdout; 104 JobOutput stderr; 100 105 Ptime start; 101 106 Ptime stop; … … 199 204 int CheckIdleHost (Host *host); 200 205 int CheckDoneJob (Job *job, Host *host); 201 int GetJobOutput (char *command, Host *host, IOBuffer *buffer, int Nbytes);206 int GetJobOutput (char *command, Host *host, JobOutput *output); 202 207 int rconnect (char *command, char *hostname, char *shell, int *stdio); 203 208 … … 247 252 248 253 /*** JobOps.c ***/ 254 int InitJobOutput (JobOutput *output); 255 int ResetJobOutput (JobOutput *output); 249 256 void InitJobStacks (); 250 257 void FreeJobStacks ();
Note:
See TracChangeset
for help on using the changeset viewer.
