libfprint/libfprint
Benjamin Berg 3f7a638eed virtual-device: Add non-image mock devices
There are two variants one with storage and identify support and the
other without storage.

It implements the following commands:
 * INSERT id
 * REMOVE id
 * SCAN id
 * ERROR error-code
 * LIST (returns saved print)

The INSERT/REMOVE/LIST commands are only available in the storage
driver. The SCAN command emulates presenting a finger.

These commands can be send ahead of time, and will be queued and
processed when appropriate. i.e. for INSERT/REMOVE that is immediately
when possible, for SCAN/ERROR processing is delayed.

The LIST command is always processed immediately.

Note that only a single command can be send per socket connection and
the command must be send in a single message. The socket will be closed
after the command has been processed.

Co-authored-by: Bastien Nocera <hadess@hadess.net>
Co-authored-by: Marco Trevisan (Treviño) <mail@3v1n0.net>
2021-01-20 23:21:41 +01:00
..
drivers virtual-device: Add non-image mock devices 2021-01-20 23:21:41 +01:00
nbis nbis: re-add step to remove perimeter points 2020-06-03 20:44:41 -07:00
drivers_api.h compat: Add compatibility defines for older GLib 2020-02-10 11:40:40 +01:00
empty_file build: Remove the need to modify sources for new drivers 2018-05-24 12:23:39 +02:00
fp-context.c Rework device removal to have a nice API 2020-11-23 17:47:03 +01:00
fp-context.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-device-private.h Rework device removal to have a nice API 2020-11-23 17:47:03 +01:00
fp-device.c treewide: Correct typos 2020-12-17 20:35:11 +01:00
fp-device.h Rework device removal to have a nice API 2020-11-23 17:47:03 +01:00
fp-image-device-private.h image-device: Remove cancelling boolean from private data 2020-11-04 14:13:00 +01:00
fp-image-device.c image-device: Remove cancelling boolean from private data 2020-11-04 14:13:00 +01:00
fp-image-device.h fp-image-device: Properly include fp-device.h 2020-06-16 22:49:38 +02:00
fp-image.c image: Fix warning about uninitialized variable 2020-12-08 13:33:30 +01:00
fp-image.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-print-private.h cleanup: Use FPI prefix for all the internal enum types 2019-12-17 14:38:19 +01:00
fp-print.c print: Return sunk reference from deserialize function 2020-12-09 11:47:33 +01:00
fp-print.h fp-print: Delete not-defined anymore functions 2020-12-09 10:26:58 +01:00
fpi-assembling.c fpi-assembling: Fix offsets to be relative to the previous frame 2020-01-02 13:46:46 +01:00
fpi-assembling.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-byte-reader.c lib: Add byte data reader/writer helpers 2019-11-20 13:53:45 +01:00
fpi-byte-reader.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-byte-utils.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-byte-writer.c lib: Add byte data reader/writer helpers 2019-11-20 13:53:45 +01:00
fpi-byte-writer.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-compat.h compat: Add GFlagsClass autopointer 2020-12-08 13:27:50 +01:00
fpi-context.h compat: Add compatibility defines for older GLib 2020-02-10 11:40:40 +01:00
fpi-device.c treewide: Correct typos 2020-12-17 20:35:11 +01:00
fpi-device.h Rework device removal to have a nice API 2020-11-23 17:47:03 +01:00
fpi-image-device.c image-device: Fix incorrect g_free of error 2020-11-23 17:47:03 +01:00
fpi-image-device.h image-device: Redefine internal states and valid transitions 2020-11-04 14:13:00 +01:00
fpi-image.c libfprint: Fix a few issues with the documentation 2020-05-11 20:51:29 +02:00
fpi-image.h lib: re-add partial image flag 2020-06-04 09:34:31 -07:00
fpi-log.h cleanup: Use #pragma once everywhere 2019-12-17 14:38:19 +01:00
fpi-minutiae.h cleanup: Don't make nbis depend on libfprint built-sources 2019-12-04 18:50:46 +01:00
fpi-print.c fpi-print: Improve debug on print score 2020-06-16 22:49:18 +02:00
fpi-print.h print: Add helpers to generate a unique print ID containing metadata 2020-04-20 16:43:52 +02:00
fpi-ssm.c treewide: Correct typos 2020-12-17 20:35:11 +01:00
fpi-ssm.h fpi-ssm, fpi-usb-transfer: Use fwd-declarations to avoid headers dependencies 2019-12-17 14:38:19 +01:00
fpi-usb-transfer.c usb-transfer: Remove incorrect statement from documentation 2021-01-18 14:37:53 +01:00
fpi-usb-transfer.h usb: Annotate access to USB buffers 2020-10-07 13:22:18 +02:00
fprint-list-supported-devices.c fprint-list: Fix typos in Copyright statements 2020-04-14 13:51:02 +02:00
fprint-list-udev-hwdb.c list-udev-hwdb: Add SPDX license to the generated file 2021-01-20 22:03:40 +01:00
fprint.h Uncrustify everything except for nbis 2019-11-20 20:38:06 +01:00
libfprint.ver fprint: Move drivers to private internal library 2019-12-12 19:03:57 +01:00
meson.build virtual-device: Add non-image mock devices 2021-01-20 23:21:41 +01:00