diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-09 07:12:44 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-09 07:12:44 +0100 |
commit | 1ac7751e5b9df5f09500aca9e5b34bb9cfa912b4 (patch) | |
tree | 42e3705aa8b20fc7f03025cb83ae2f928350174d /tools.h | |
parent | c3812d3569aa98e23953eea323d980912580e659 (diff) | |
download | pcitool-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.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 */ |