IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2005, 1:04:22 PM (21 years ago)
Author:
eugene
Message:

cleanups so -Wall -Werror succeed, some .h reorgs

File:
1 edited

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"
    43
    54typedef struct timeval Ptime;
     
    105104} Stack;
    106105
    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 */
    110107# define PCLIENT_PROMPT "pclient:"
    111108
     
    118115int  FlushIOBuffer (IOBuffer *buffer);
    119116void FreeIOBuffer (IOBuffer *buffer);
     117
     118void InitPcontrol ();
    120119
    121120void *GetStack (Stack *stack, int where);
     
    155154int rconnect (char *command, char *hostname, char *shell, int *stdio);
    156155int CheckHost (Host *host);
    157 char *memstr (char *m1, char *m2, int n);
    158156Stack *GetJobStack (int StackID);
    159157int PutJob (Job *job, int StackID, int where);
     
    168166Host *UnlinkJobAndHost (Job *job);
    169167void LinkJobAndHost (Job *job, Host *host);
     168int StopHost (Host *host);
     169
     170int PrintJobStack (int Nstack);
     171int PrintHostStack (int Nstack);
     172void InitJobStacks ();
     173void InitHostStacks ();
     174void DownHost (Host *host);
     175void OffHost (Host *host);
     176int DownHosts ();
     177int VerboseMode ();
     178int StartJob (Job *job);
Note: See TracChangeset for help on using the changeset viewer.