summaryrefslogtreecommitdiffstats
path: root/tools.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-09 07:12:44 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-09 07:12:44 +0100
commit1ac7751e5b9df5f09500aca9e5b34bb9cfa912b4 (patch)
tree42e3705aa8b20fc7f03025cb83ae2f928350174d /tools.h
parentc3812d3569aa98e23953eea323d980912580e659 (diff)
downloadpcitool-1ac7751e5b9df5f09500aca9e5b34bb9cfa912b4.tar.gz
pcitool-1ac7751e5b9df5f09500aca9e5b34bb9cfa912b4.tar.bz2
pcitool-1ac7751e5b9df5f09500aca9e5b34bb9cfa912b4.tar.xz
pcitool-1ac7751e5b9df5f09500aca9e5b34bb9cfa912b4.zip
Initial support of event streaming in cli
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools.h b/tools.h
index 6ab58f9..8ab931d 100644
--- a/tools.h
+++ b/tools.h
@@ -34,8 +34,11 @@ 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);
+int pcilib_add_timeout(struct timeval *tv, pcilib_timeout_t timeout);
+int pcilib_calc_deadline(struct timeval *tv, pcilib_timeout_t timeout);
+int pcilib_check_deadline(struct timeval *tve, pcilib_timeout_t timeout);
+pcilib_timeout_t pcilib_calc_time_to_deadline(struct timeval *tve);
+int pcilib_sleep_until_deadline(struct timeval *tv);
+int pcilib_timecmp(struct timeval *tv1, struct timeval *tv2);
#endif /* _PCITOOL_TOOS_H */