mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
lib: Add some TODO items to fp_dev struct
This commit is contained in:
@@ -64,15 +64,19 @@ struct fp_driver **fprint_get_drivers (void);
|
|||||||
|
|
||||||
struct fp_dev {
|
struct fp_dev {
|
||||||
struct fp_driver *drv;
|
struct fp_driver *drv;
|
||||||
libusb_device_handle *udev;
|
|
||||||
uint32_t devtype;
|
uint32_t devtype;
|
||||||
void *priv;
|
|
||||||
|
|
||||||
/* only valid if drv->type == DRIVER_IMAGING */
|
/* only valid if drv->type == DRIVER_IMAGING */
|
||||||
struct fp_img_dev *img_dev;
|
struct fp_img_dev *img_dev;
|
||||||
|
|
||||||
int nr_enroll_stages;
|
int nr_enroll_stages;
|
||||||
|
|
||||||
|
/* FIXME: This will eventually have a bus type */
|
||||||
|
libusb_device_handle *udev;
|
||||||
|
|
||||||
|
/* FIXME: Remove, should be the driver private data */
|
||||||
|
void *priv;
|
||||||
|
|
||||||
/* read-only to drivers */
|
/* read-only to drivers */
|
||||||
struct fp_print_data *verify_data;
|
struct fp_print_data *verify_data;
|
||||||
|
|
||||||
@@ -153,6 +157,7 @@ struct fp_img_dev {
|
|||||||
/* FIXME: better place to put this? */
|
/* FIXME: better place to put this? */
|
||||||
size_t identify_match_offset;
|
size_t identify_match_offset;
|
||||||
|
|
||||||
|
/* FIXME: Remove */
|
||||||
void *priv;
|
void *priv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user