diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-18 01:07:04 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-18 01:07:04 +0200 |
commit | 51b53a89896a63d49e7e622133faf58dc681ce13 (patch) | |
tree | 0af640d5818651d5bf474b1fbc976f821290694b /ipecamera/image.h | |
parent | 71c759e3fa6fb725c51e3800947848cd549222bf (diff) | |
download | pcitool-51b53a89896a63d49e7e622133faf58dc681ce13.tar.gz pcitool-51b53a89896a63d49e7e622133faf58dc681ce13.tar.bz2 pcitool-51b53a89896a63d49e7e622133faf58dc681ce13.tar.xz pcitool-51b53a89896a63d49e7e622133faf58dc681ce13.zip |
Change timeout definition in Events API from struct timespec to pcilib_timeout_t
Diffstat (limited to 'ipecamera/image.h')
-rw-r--r-- | ipecamera/image.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipecamera/image.h b/ipecamera/image.h index 4bac673..b414f74 100644 --- a/ipecamera/image.h +++ b/ipecamera/image.h @@ -13,7 +13,7 @@ int ipecamera_reset(pcilib_context_t *ctx); int ipecamera_start(pcilib_context_t *ctx, pcilib_event_t event_mask, pcilib_event_callback_t cb, void *user); int ipecamera_stop(pcilib_context_t *ctx); int ipecamera_trigger(pcilib_context_t *ctx, pcilib_event_t event, size_t trigger_size, void *trigger_data); -pcilib_event_id_t ipecamera_next_event(pcilib_context_t *ctx, pcilib_event_t event_mask, const struct timespec *timeout); +pcilib_event_id_t ipecamera_next_event(pcilib_context_t *ctx, pcilib_event_t event_mask, pcilib_timeout_t timeout); void* ipecamera_get(pcilib_context_t *ctx, pcilib_event_id_t event_id, pcilib_event_data_type_t data_type, size_t arg_size, void *arg, size_t *size); int ipecamera_return(pcilib_context_t *ctx, pcilib_event_id_t event_id); |