diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-04-29 03:42:43 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-04-29 03:42:43 +0200 |
commit | bf466a54a10293067765bf767c572cbf09bcd170 (patch) | |
tree | 7b285a15aa71949dceb17b8726717ca3e003bee1 /pcilib/event.c | |
parent | c95fc0fb80a5e72cf198e77c9bf64fd17286dfde (diff) | |
download | pcitool-bf466a54a10293067765bf767c572cbf09bcd170.tar.gz pcitool-bf466a54a10293067765bf767c572cbf09bcd170.tar.bz2 pcitool-bf466a54a10293067765bf767c572cbf09bcd170.tar.xz pcitool-bf466a54a10293067765bf767c572cbf09bcd170.zip |
New error reporting public interface
Diffstat (limited to 'pcilib/event.c')
-rw-r--r-- | pcilib/event.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pcilib/event.c b/pcilib/event.c index 43bbf01..2fc77ab 100644 --- a/pcilib/event.c +++ b/pcilib/event.c @@ -69,6 +69,10 @@ int pcilib_init_event_engine(pcilib_t *ctx) { return 0; } +pcilib_context_t *pcilib_get_event_engine(pcilib_t *ctx) { + return ctx->event_ctx; +} + int pcilib_reset(pcilib_t *ctx) { const pcilib_event_api_description_t *api; |