Changeset 4689 for trunk/Ohana/src/opihi/include/pcontrol.h
- Timestamp:
- Jul 31, 2005, 1:04:22 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/pcontrol.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/pcontrol.h
r4684 r4689 1 # include "opihi.h" 2 # include <sys/types.h> 3 # include <sys/wait.h> 1 # include "data.h" 2 # include "basic.h" 4 3 5 4 typedef struct timeval Ptime; … … 105 104 } Stack; 106 105 107 /* these should be loaded from ConfigInit or from opihi variables */ 108 static char *CONNECT; /* connection method (ssh, rsh, etc) */ 109 static char *PCLIENT; /* shell on remote host (eg, pclient) */ 106 /* XXX if this is hard-wired, we can't change shell name in StartHost */ 110 107 # define PCLIENT_PROMPT "pclient:" 111 108 … … 118 115 int FlushIOBuffer (IOBuffer *buffer); 119 116 void FreeIOBuffer (IOBuffer *buffer); 117 118 void InitPcontrol (); 120 119 121 120 void *GetStack (Stack *stack, int where); … … 155 154 int rconnect (char *command, char *hostname, char *shell, int *stdio); 156 155 int CheckHost (Host *host); 157 char *memstr (char *m1, char *m2, int n);158 156 Stack *GetJobStack (int StackID); 159 157 int PutJob (Job *job, int StackID, int where); … … 168 166 Host *UnlinkJobAndHost (Job *job); 169 167 void LinkJobAndHost (Job *job, Host *host); 168 int StopHost (Host *host); 169 170 int PrintJobStack (int Nstack); 171 int PrintHostStack (int Nstack); 172 void InitJobStacks (); 173 void InitHostStacks (); 174 void DownHost (Host *host); 175 void OffHost (Host *host); 176 int DownHosts (); 177 int VerboseMode (); 178 int StartJob (Job *job);
Note:
See TracChangeset
for help on using the changeset viewer.
