bzr branch
http://suren.me/webbzr/alps/pcitool
236
by Suren A. Chilingaryan
Big redign of model structures |
1 |
#ifndef _PCILIB_MODEL_H
|
2 |
#define _PCILIB_MODEL_H
|
|
3 |
||
240
by Suren A. Chilingaryan
More structural changes to get ready for stand-alone event engines |
4 |
#include <pcilib/bank.h> |
5 |
#include <pcilib/register.h> |
|
6 |
#include <pcilib/dma.h> |
|
7 |
#include <pcilib/event.h> |
|
241
by Suren A. Chilingaryan
Further adjustments to get ready for independent event plugins |
8 |
#include <pcilib/export.h> |
307
by Suren A. Chilingaryan
Finalyze XML support and provide initial support for views (only descriptions so far) |
9 |
#include <pcilib/view.h> |
236
by Suren A. Chilingaryan
Big redign of model structures |
10 |
|
275
by Suren A. Chilingaryan
Integration of software registers |
11 |
|
236
by Suren A. Chilingaryan
Big redign of model structures |
12 |
typedef struct { |
253
by Suren A. Chilingaryan
Include version information in all API descriptions |
13 |
const pcilib_version_t interface_version; |
241
by Suren A. Chilingaryan
Further adjustments to get ready for independent event plugins |
14 |
|
240
by Suren A. Chilingaryan
More structural changes to get ready for stand-alone event engines |
15 |
const pcilib_event_api_description_t *api; |
16 |
const pcilib_dma_description_t *dma; |
|
236
by Suren A. Chilingaryan
Big redign of model structures |
17 |
|
18 |
const pcilib_register_description_t *registers; |
|
19 |
const pcilib_register_bank_description_t *banks; |
|
20 |
const pcilib_register_protocol_description_t *protocols; |
|
21 |
const pcilib_register_range_t *ranges; |
|
307
by Suren A. Chilingaryan
Finalyze XML support and provide initial support for views (only descriptions so far) |
22 |
const pcilib_view_description_t **views; |
23 |
const pcilib_unit_description_t *units; |
|
236
by Suren A. Chilingaryan
Big redign of model structures |
24 |
|
25 |
const pcilib_event_description_t *events; |
|
26 |
const pcilib_event_data_type_description_t *data_types; |
|
27 |
||
28 |
const char *name; |
|
29 |
const char *description; |
|
30 |
} pcilib_model_description_t; |
|
31 |
||
32 |
||
277
by Suren A. Chilingaryan
Keep C++ compilers happy |
33 |
#ifdef __cplusplus
|
34 |
extern "C" { |
|
35 |
#endif
|
|
36 |
||
236
by Suren A. Chilingaryan
Big redign of model structures |
37 |
const pcilib_model_description_t *pcilib_get_model_description(pcilib_t *ctx); |
38 |
||
277
by Suren A. Chilingaryan
Keep C++ compilers happy |
39 |
#ifdef __cplusplus
|
40 |
}
|
|
41 |
#endif
|
|
42 |
||
236
by Suren A. Chilingaryan
Big redign of model structures |
43 |
#endif /* _PCILIB_MODEL_H */ |