diff options
Diffstat (limited to 'pcidev.h')
-rw-r--r-- | pcidev.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcidev.h b/pcidev.h new file mode 100644 index 0000000..55700c2 --- /dev/null +++ b/pcidev.h @@ -0,0 +1,32 @@ +#ifndef _PCIDEV_H +#define _PCIDEV_H + +typedef struct pcidev_s pcidev_t; + +typedef struct { + unsigned int size; +} pcidev_image_dimensions_t; + +typedef enum { + PCIDEV_STANDARD_DATA = 0, + PCIDEV_RAW_DATA = 1, +} pcidev_data_type_t; + + +typedef struct { + pcilib_event_info_t info; +} pcidev_event_info_t; + +#ifdef __cplusplus +extern "C" { +#endif + +int pcidev_set_buffer_size(pcidev_t *ctx, int size); +pcilib_event_id_t pcidev_get_last_event_id(pcidev_t *ctx); + +#ifdef __cplusplus +} +#endif + + +#endif /* _PCIDEV_H */ |