IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 3, 2005, 5:50:08 PM (21 years ago)
Author:
eugene
Message:

psched / pscontrol / pclient dev work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/include/pcontrol.h

    r4693 r4705  
    8383  int         pid;
    8484  HostStat    stack;
    85   Ptime       start;
     85  struct timeval lasttry;
     86  struct timeval nexttry;
    8687  Ptime       accum;
    8788  Ptime       timer;
     
    101102# define FREE(X) if (X != NULL) { free (X); }
    102103# define CLOSE(FD) { if (FD) close (FD); FD = 0; }
     104# define DTIME(A,B) ((A.tv_sec - B.tv_sec) + 1e-6*(A.tv_usec - B.tv_usec))
     105# define ZTIME(A) ((A.tv_sec == 0) && (A.tv_usec == 0))
    103106
    104107void InitPcontrol ();
     
    113116Host *FindHostPtr (IDtype HostID, int StackID);
    114117Host *FindHostStack (IDtype HostID);
     118int FindNamedHostStack (char *name);
    115119Host *PullHost (IDtype HostID, int StackID);
    116120int FindNamedHost (char *name, int StackID);
Note: See TracChangeset for help on using the changeset viewer.