mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
Add ScanType and NumberEnrollStages properties
Export the type of scan the device performs, and, when the device is claimed, the number of enrollment stages.
This commit is contained in:
committed by
Daniel Drake
parent
f7186c7ff0
commit
874d8164b4
@ -57,7 +57,10 @@ static void list_fingerprints(DBusGProxy *dev, const char *username)
|
||||
if (!net_reactivated_Fprint_Device_get_properties(dev, &props, &error))
|
||||
g_error("GetProperties failed: %s", error->message);
|
||||
|
||||
g_print("Fingerprints for user %s on %s:\n", username, (char *) g_hash_table_lookup (props, "Name"));
|
||||
g_print("Fingerprints for user %s on %s (%s):\n",
|
||||
username,
|
||||
g_value_get_string (g_hash_table_lookup (props, "Name")),
|
||||
g_value_get_string (g_hash_table_lookup (props, "ScanType")));
|
||||
g_hash_table_destroy (props);
|
||||
|
||||
for (i = 0; fingers[i] != NULL; i++) {
|
||||
|
||||
Reference in New Issue
Block a user