Top |
struct fp_dscv_dev ** | fp_discover_devs () |
void | fp_dscv_devs_free () |
struct fp_driver * | fp_dscv_dev_get_driver () |
uint32_t | fp_dscv_dev_get_devtype () |
uint16_t | fp_dscv_dev_get_driver_id () |
int | fp_dscv_dev_supports_print_data () |
int | fp_dscv_dev_supports_dscv_print () |
struct fp_dscv_dev * | fp_dscv_dev_for_print_data () |
struct fp_dscv_dev * | fp_dscv_dev_for_dscv_print () |
These functions allow you to scan the system for supported fingerprint scanning hardware. This is your starting point when integrating libfprint into your software.
When you've identified a discovered device that you would like to control,
you can open it with fp_dev_open()
. Note that discovered devices may no
longer be available at the time when you want to open them, for example
the user may have unplugged the device.
struct fp_dscv_dev **
fp_discover_devs (void
);
Scans the system and returns a list of discovered devices. This is your
entry point into finding a fingerprint reader to operate. Note that NULL
is only returned on error. When there are no supported readers available,
an empty list is returned instead.
a nul-terminated list of discovered devices or NULL
on error.
Must be freed with fp_dscv_devs_free()
after use.
void
fp_dscv_devs_free (struct fp_dscv_dev **devs
);
Free a list of discovered devices. This function destroys the list and all discovered devices that it included, so make sure you have opened your discovered device before freeing the list.
struct fp_driver *
fp_dscv_dev_get_driver (struct fp_dscv_dev *dev
);
Gets the fp_driver for a discovered device.
uint32_t
fp_dscv_dev_get_devtype (struct fp_dscv_dev *dev
);
Gets the devtype for a discovered device.
uint16_t
fp_dscv_dev_get_driver_id (struct fp_dscv_dev *dev
);
Returns a unique driver identifier for the underlying driver for that device.
int fp_dscv_dev_supports_print_data (struct fp_dscv_dev *dev
,struct fp_print_data *print
);
Determines if a specific fp_print_data stored print appears to be compatible with a discovered device.
int fp_dscv_dev_supports_dscv_print (struct fp_dscv_dev *dev
,struct fp_dscv_print *print
);
fp_dscv_dev_supports_dscv_print
is deprecated and should not be used in newly-written code.
Do not use.
Determines if a specific fp_dscv_print discovered print appears to be compatible with a discovered device.
struct fp_dscv_dev * fp_dscv_dev_for_print_data (struct fp_dscv_dev **devs
,struct fp_print_data *print
);
fp_dscv_dev_for_print_data
is deprecated and should not be used in newly-written code.
Do not use.
Searches a list of discovered devices for a device that appears to be compatible with a fp_print_data stored print.
struct fp_dscv_dev * fp_dscv_dev_for_dscv_print (struct fp_dscv_dev **devs
,struct fp_dscv_print *print
);
fp_dscv_dev_for_dscv_print
is deprecated and should not be used in newly-written code.
Do not use.
Searches a list of discovered devices for a device that appears to be compatible with a fp_dscv_print discovered print.
struct fp_dscv_dev;
fp_dscv_dev is an opaque structure type. You must access it using the functions in this section.