Initial fingerprint data representation ideas

This commit is contained in:
Daniel Drake
2007-10-08 18:24:29 +01:00
parent 59b73af909
commit b071f3cdb9
4 changed files with 63 additions and 0 deletions

View File

@@ -57,5 +57,15 @@ struct fp_dscv_dev {
const struct fp_driver *drv;
};
struct fp_print_data {
const char *driver_name;
size_t length;
unsigned char buffer[0];
};
struct fp_print_data *fpi_print_data_new(struct fp_driver *drv, size_t length);
unsigned char *fpi_print_data_get_buffer(struct fp_print_data *data);
int fpi_print_data_compatible(struct fp_dev *dev, struct fp_print_data *data);
#endif