Changeset 4705 for trunk/Ohana/src/opihi/include/pcontrol.h
- Timestamp:
- Aug 3, 2005, 5:50:08 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/pcontrol.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/pcontrol.h
r4693 r4705 83 83 int pid; 84 84 HostStat stack; 85 Ptime start; 85 struct timeval lasttry; 86 struct timeval nexttry; 86 87 Ptime accum; 87 88 Ptime timer; … … 101 102 # define FREE(X) if (X != NULL) { free (X); } 102 103 # 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)) 103 106 104 107 void InitPcontrol (); … … 113 116 Host *FindHostPtr (IDtype HostID, int StackID); 114 117 Host *FindHostStack (IDtype HostID); 118 int FindNamedHostStack (char *name); 115 119 Host *PullHost (IDtype HostID, int StackID); 116 120 int FindNamedHost (char *name, int StackID);
Note:
See TracChangeset
for help on using the changeset viewer.
