diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-04-12 20:57:41 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-04-12 20:57:41 +0200 |
commit | 445d5db0183cf5dc98a33160857f22f012cacea6 (patch) | |
tree | 24a86dc05195546cf888c104e604da9eb77b3309 /ipecamera/image.h | |
parent | 39b33ce4be920b19a6b0f694febf8609ae64512b (diff) | |
download | ipecamera-445d5db0183cf5dc98a33160857f22f012cacea6.tar.gz ipecamera-445d5db0183cf5dc98a33160857f22f012cacea6.tar.bz2 ipecamera-445d5db0183cf5dc98a33160857f22f012cacea6.tar.xz ipecamera-445d5db0183cf5dc98a33160857f22f012cacea6.zip |
Prototype of IPECamera image protocol
Diffstat (limited to 'ipecamera/image.h')
-rw-r--r-- | ipecamera/image.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipecamera/image.h b/ipecamera/image.h index d174b95..ede964c 100644 --- a/ipecamera/image.h +++ b/ipecamera/image.h @@ -3,6 +3,7 @@ #include <stdio.h> +#include "ipecamera.h" #include "pcilib.h" typedef struct ipecamera_s ipecamera_t; @@ -15,7 +16,7 @@ int ipecamera_start(void *ctx, pcilib_event_t event_mask, pcilib_callback_t cb, int ipecamera_stop(void *ctx); int ipecamera_trigger(void *ctx, pcilib_event_t event, size_t trigger_size, void *trigger_data); -void* ipecamera_get(void *ctx, pcilib_event_id_t event_id, pcilib_event_data_type_t data_type, size_t *size); +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); |