summaryrefslogtreecommitdiffstats
path: root/pcidev.h
blob: 55700c2bff3eacc07a0a14f6f72cffc9ef5eddac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 */