No description
Find a file
Benjamin Berg 4cec28416e lib: Remove state from fp_img_driver activate handler
The state was always AWAIT_FINGER and it was never used by any driver
(except for error checking). So remove it, in particular as a correct
state change will be done after activation anyway.

The only driver with code that actually did anything based on this was
the URU4000 driver. However, all it did was an explicit state change
execution. This is not necessary, as the state_change handler is called
anyway (i.e. we now only write the AWAIT_FINGER register once rather
than twice).

Manual changes plus:

@ init @
identifier driver_name;
identifier activate_func;
@@
struct fp_img_driver driver_name = {
    ...,
    .activate = activate_func,
    ...,
};
@ remove_arg @
identifier dev;
identifier state;
identifier init.activate_func;
@@
activate_func (
	struct fp_img_dev *dev
-	, enum fp_imgdev_state state
	)
{
	<...
-	if (state != IMGDEV_STATE_AWAIT_FINGER_ON) { ... }
	...>
}
2019-06-18 18:19:38 +02:00
demo demo: Fix crash when there are no supported devices 2019-01-21 14:38:35 +00:00
doc lib: Add helper for NBIS copy-paste library 2018-12-13 15:48:25 +01:00
examples examples: Port enroll and verify examples to new storage 2019-06-13 13:12:15 +00:00
libfprint lib: Remove state from fp_img_driver activate handler 2019-06-18 18:19:38 +02:00
.gitignore Doc and build updates 2007-11-15 23:00:04 +00:00
.gitlab-ci.yml Revert "ci: Disable Flatpak generation for now" 2018-12-04 17:43:19 +01:00
AUTHORS AUTHORS: Update 2012-12-14 13:17:24 +01:00
COPYING upekts relicensing 2007-11-15 09:54:35 +00:00
HACKING.md HACKING: Update hacking file 2018-06-12 11:06:26 +02:00
INSTALL INSTALL: Update for Meson 2018-05-18 01:16:30 +02:00
meson.build build: Bump GLib dependency to 2.50 and add guards 2019-06-13 13:56:35 +02:00
meson_options.txt build: Disable GTK+ demo app by default 2019-01-21 14:38:35 +00:00
NEWS 0.99.0 2018-12-14 13:18:08 +01:00
README README: Add links to historical resources 2018-11-30 17:57:40 +01:00
THANKS Thanks to Greg and Martin from AuthenTec 2012-11-29 09:51:55 +01:00
TODO Compiler flags update 2007-12-27 01:06:55 +00:00

libfprint
=========

libfprint is part of the fprint project:
https://fprint.freedesktop.org/

libfprint was originally developed as part of an academic project at the
University of Manchester with the aim of hiding differences between different
consumer fingerprint scanners and providing a single uniform API to application
developers. The ultimate goal of the fprint project is to make fingerprint
scanners widely and easily usable under common Linux environments.

The academic university project runs off a codebase maintained separately
from this one, although I try to keep them as similar as possible (I'm not
hiding anything in the academic branch, it's just the open source release
contains some commits excluded from the academic project).

THE UNIVERSITY OF MANCHESTER DOES NOT ENDORSE THIS THIS SOFTWARE RELEASE AND
IS IN NO WAY RESPONSIBLE FOR THE CODE CONTAINED WITHIN, OR ANY DAMAGES CAUSED
BY USING OR DISTRIBUTING THE SOFTWARE. Development does not happen on
university computers and the project is not hosted at the university either.

For more information on libfprint, supported devices, API documentation, etc.,
see the homepage:
https://fprint.freedesktop.org/

libfprint is licensed under the GNU LGPL version 2.1. See the COPYING file
for the license text.

Section 6 of the license states that for compiled works that use this
library, such works must include libfprint copyright notices alongside the
copyright notices for the other parts of the work. We have attempted to
make this process slightly easier for you by grouping these all in one place:
the AUTHORS file.

libfprint includes code from NIST's NBIS software distribution:
http://fingerprint.nist.gov/NBIS/index.html
We include bozorth3 from the US export controlled distribution. We have
determined that it is fine to ship bozorth3 in an open source project,
see https://fprint.freedesktop.org/us-export-control.html

## Historical links

Older versions of libfprint are available at:
https://sourceforge.net/projects/fprint/files/

Historical mailing-list archives:
http://www.reactivated.net/fprint_list_archives/

Historical website:
http://web.archive.org/web/*/https://www.freedesktop.org/wiki/Software/fprint/