mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
Return images through enroll/verify path
Added new API functions to obtain images, even when scans are bad, perhaps a useful way to show the user just how good/bad the scan actually was. Drivers and examples updated accordingly.
This commit is contained in:
@@ -112,8 +112,9 @@ struct fp_driver {
|
||||
int (*init)(struct fp_dev *dev, unsigned long driver_data);
|
||||
void (*exit)(struct fp_dev *dev);
|
||||
int (*enroll)(struct fp_dev *dev, gboolean initial, int stage,
|
||||
struct fp_print_data **print_data);
|
||||
int (*verify)(struct fp_dev *dev, struct fp_print_data *data);
|
||||
struct fp_print_data **print_data, struct fp_img **img);
|
||||
int (*verify)(struct fp_dev *dev, struct fp_print_data *data,
|
||||
struct fp_img **img);
|
||||
};
|
||||
|
||||
enum fp_print_data_type fpi_driver_get_data_type(struct fp_driver *drv);
|
||||
|
||||
Reference in New Issue
Block a user