diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-04 22:58:35 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-07 22:35:23 +0200 |
commit | 7088041a805d3be8a1d8b7d4c28cc1cecccf4396 (patch) | |
tree | c9ee42d0bd7af58b8a0eaa807062bdc1ab65846c /test/libtest/test.cpp | |
parent | b4415f1c9863a2fda42e1882ed4857de9d9366b1 (diff) |
v4l2: compat_manager: Move file operations to new struct FileOperations
Create a new FileOperations structure to hold all the dynamically-loaded
C library file operations. The file operations are now exposed publicly,
to prepare for usage of mmap in the V4L2CameraProxy.
A new template helper function is added to retrieve a symbol with
dlsym() with proper casting to simplify the V4L2CompatManager
constructor.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/libtest/test.cpp')
0 files changed, 0 insertions, 0 deletions