summaryrefslogtreecommitdiffstats
path: root/ipecamera/image.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-04-14 04:21:38 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-04-14 04:21:38 +0200
commitb70ed8b6ccf17a7c5b4339f05a33471eaf3b33e5 (patch)
treea608941197e4ea1fa87a47cad013e3a7c768ca41 /ipecamera/image.h
parent0d9e1cfca235f68e55a4d81e60409110b8ccde41 (diff)
downloadipecamera-b70ed8b6ccf17a7c5b4339f05a33471eaf3b33e5.tar.gz
ipecamera-b70ed8b6ccf17a7c5b4339f05a33471eaf3b33e5.tar.bz2
ipecamera-b70ed8b6ccf17a7c5b4339f05a33471eaf3b33e5.tar.xz
ipecamera-b70ed8b6ccf17a7c5b4339f05a33471eaf3b33e5.zip
Support non-callback way of getting events
Diffstat (limited to 'ipecamera/image.h')
-rw-r--r--ipecamera/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipecamera/image.h b/ipecamera/image.h
index 6b92524..513449f 100644
--- a/ipecamera/image.h
+++ b/ipecamera/image.h
@@ -13,9 +13,11 @@ int ipecamera_reset(void *ctx);
int ipecamera_start(void *ctx, pcilib_event_t event_mask, pcilib_callback_t cb, void *user);
int ipecamera_stop(void *ctx);
int ipecamera_trigger(void *ctx, pcilib_event_t event, size_t trigger_size, void *trigger_data);
+pcilib_event_id_t ipecamera_next_event(void *ctx, pcilib_event_t event_mask);
void* ipecamera_get(void *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(void *ctx, pcilib_event_id_t event_id);
+
#endif /* _IPECAMERA_IMAGE_H */