lib: Add some TODO items to fp_dev struct
This commit is contained in:
parent
0b7477e72c
commit
2e50ff5e7c
1 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue