From 869ed99dbc3a645fee6de36e97e1e12127068f10 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 8 Dec 2011 03:47:23 +0100 Subject: new event architecture, first trial --- tools.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools.h') 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 */ -- cgit v1.2.3