diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-08 03:47:23 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-08 03:47:23 +0100 |
commit | 869ed99dbc3a645fee6de36e97e1e12127068f10 (patch) | |
tree | fa4a4e7ef977a3d3621ff5e96fb664e6fbc9e6fe /tools.h | |
parent | ddc77c1e819eee03a13efff4a9aa3161485f3f1f (diff) | |
download | pcitool-869ed99dbc3a645fee6de36e97e1e12127068f10.tar.gz pcitool-869ed99dbc3a645fee6de36e97e1e12127068f10.tar.bz2 pcitool-869ed99dbc3a645fee6de36e97e1e12127068f10.tar.xz pcitool-869ed99dbc3a645fee6de36e97e1e12127068f10.zip |
new event architecture, first trial
Diffstat (limited to 'tools.h')
-rw-r--r-- | tools.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -33,4 +33,9 @@ void * pcilib_datacpy32(void * dst, void const * src, uint8_t size, size_t n, pc int pcilib_get_page_mask(); + +int calc_deadline(struct timeval *tv, pcilib_timeout_t timeout); +int check_deadline(struct timeval *tve, pcilib_timeout_t timeout); +pcilib_timeout_t calc_time_to_deadline(struct timeval *tve); + #endif /* _PCITOOL_TOOS_H */ |