fp-device: Move fpi code into its own unit that can be compiled a part

In order to be able to test the private device code (used by drivers) we
need to have that split a part in a different .c file so that we can compile
it alone and link with it both the shared library and the test executables.

Redefine fp_device_get_instance_private for private usage, not to move
the private struct as part of FpDevice.
This commit is contained in:
Marco Trevisan (Treviño)
2019-12-10 20:24:04 +01:00
parent 7114d97f25
commit d9de941a47
4 changed files with 1245 additions and 1184 deletions

View File

@@ -8,6 +8,7 @@ libfprint_sources = [
libfprint_private_sources = [
'fpi-assembling.c',
'fpi-device.c',
'fpi-ssm.c',
'fpi-usb-transfer.c',
'fpi-byte-reader.c',