From 2e50ff5e7cf478bacac74ff14470527d0727afc2 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 14 Sep 2018 17:36:47 +0200 Subject: [PATCH] lib: Add some TODO items to fp_dev struct --- libfprint/fp_internal.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libfprint/fp_internal.h b/libfprint/fp_internal.h index 28fda53..d7627ff 100644 --- a/libfprint/fp_internal.h +++ b/libfprint/fp_internal.h @@ -64,15 +64,19 @@ struct fp_driver **fprint_get_drivers (void); struct fp_dev { struct fp_driver *drv; - libusb_device_handle *udev; uint32_t devtype; - void *priv; /* only valid if drv->type == DRIVER_IMAGING */ struct fp_img_dev *img_dev; 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 */ struct fp_print_data *verify_data; @@ -153,6 +157,7 @@ struct fp_img_dev { /* FIXME: better place to put this? */ size_t identify_match_offset; + /* FIXME: Remove */ void *priv; };