Enrolment infrastructure

This commit is contained in:
Daniel Drake
2007-10-08 19:53:50 +01:00
parent b071f3cdb9
commit 016ff33533
5 changed files with 90 additions and 6 deletions

View File

@@ -32,6 +32,8 @@ struct fp_dev {
const struct fp_driver *drv;
usb_dev_handle *udev;
void *priv;
int nr_enroll_stages;
};
struct usb_id {
@@ -48,6 +50,8 @@ struct fp_driver {
/* Device operations */
int (*init)(struct fp_dev *dev);
void (*exit)(struct fp_dev *dev);
enum fp_enroll_status (*enroll)(struct fp_dev *dev,
struct fp_print_data **print_data);
};
extern const struct fp_driver upekts_driver;