/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to ipecamera/image.h

  • Committer: Suren A. Chilingaryan
  • Date: 2011-04-12 00:57:02 UTC
  • Revision ID: csa@dside.dyndns.org-20110412005702-ir1cch0f1feop7ay
Infrastructure for event API

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _IPECAMERA_IMAGE_H
 
2
#define _IPECAMERA_IMAGE_H
 
3
 
 
4
#include <stdio.h>
 
5
 
 
6
#include "pcilib.h"
 
7
 
 
8
typedef struct ipecamera_s ipecamera_t;
 
9
 
 
10
void *ipecamera_init(pcilib_t *pcilib);
 
11
void ipecamera_free(void *ctx);
 
12
 
 
13
int ipecamera_reset(void *ctx);
 
14
int ipecamera_start(void *ctx, pcilib_event_t event_mask, pcilib_callback_t cb, void *user);
 
15
int ipecamera_stop(void *ctx);
 
16
int ipecamera_trigger(void *ctx, pcilib_event_t event, size_t trigger_size, void *trigger_data);
 
17
 
 
18
void* ipecamera_get(void *ctx, pcilib_event_id_t event_id, pcilib_event_data_type_t data_type, size_t *size);
 
19
int ipecamera_return(void *ctx, pcilib_event_id_t event_id);
 
20
 
 
21
 
 
22
#endif /* _IPECAMERA_IMAGE_H */