From 5ccdcb53a36ed95f08a99863164dc2151e47c2af Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 12 Apr 2011 21:18:13 +0200 Subject: Allow access to implementation context and provide call to set size of internal buffer for IPECamera --- pci.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pci.c') 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) { -- cgit v1.2.3