summaryrefslogtreecommitdiffstats
path: root/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'pci.c')
-rw-r--r--pci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pci.c b/pci.c
index 0e81992..5fae55c 100644
--- a/pci.c
+++ b/pci.c
@@ -98,6 +98,9 @@ const pci_board_info *pcilib_get_board_info(pcilib_t *ctx) {
return &ctx->board_info;
}
+void *pcilib_get_implementation_context(pcilib_t *ctx) {
+ return ctx->event_ctx;
+}
pcilib_model_t pcilib_get_model(pcilib_t *ctx) {
if (ctx->model == PCILIB_MODEL_DETECT) {