lib: Move fp_dev helpers to fpi-dev.h from fpi-core.h

This commit is contained in:
Bastien Nocera
2018-09-28 13:41:43 +02:00
parent d3aaebb352
commit 5b9f81fb46
4 changed files with 27 additions and 23 deletions

View File

@@ -20,6 +20,9 @@
#ifndef __FPI_DEV_H__
#define __FPI_DEV_H__
#include <libusb.h>
#include <fprint.h>
struct fp_dev;
/**
@@ -37,4 +40,9 @@ void fp_dev_set_instance_data (struct fp_dev *dev,
void *instance_data);
void *FP_INSTANCE_DATA (struct fp_dev *dev);
libusb_device_handle *fpi_dev_get_usb_dev(struct fp_dev *dev);
void fpi_dev_set_nr_enroll_stages(struct fp_dev *dev,
int nr_enroll_stages);
struct fp_print_data *fpi_dev_get_verify_data(struct fp_dev *dev);
#endif