diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-04-12 21:18:13 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-04-12 21:18:13 +0200 |
commit | 5ccdcb53a36ed95f08a99863164dc2151e47c2af (patch) | |
tree | b2363d7e9f7717157230ffa9c36dca05238cc8da /pci.c | |
parent | 445d5db0183cf5dc98a33160857f22f012cacea6 (diff) | |
download | ipecamera-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) { |