summaryrefslogtreecommitdiffstats
path: root/pci.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-04-12 21:18:13 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-04-12 21:18:13 +0200
commit5ccdcb53a36ed95f08a99863164dc2151e47c2af (patch)
treeb2363d7e9f7717157230ffa9c36dca05238cc8da /pci.c
parent445d5db0183cf5dc98a33160857f22f012cacea6 (diff)
downloadipecamera-5ccdcb53a36ed95f08a99863164dc2151e47c2af.tar.gz
ipecamera-5ccdcb53a36ed95f08a99863164dc2151e47c2af.tar.bz2
ipecamera-5ccdcb53a36ed95f08a99863164dc2151e47c2af.tar.xz
ipecamera-5ccdcb53a36ed95f08a99863164dc2151e47c2af.zip
Allow access to implementation context and provide call to set size of internal buffer for IPECamera
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) {