summaryrefslogtreecommitdiffstats
path: root/tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools.h b/tools.h
index 9068ad5..6ab58f9 100644
--- a/tools.h
+++ b/tools.h
@@ -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 */