mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
Review possible errors and document them
Review all the possible errors and document them for each function.
This commit is contained in:
committed by
Daniel Drake
parent
1abf51afa4
commit
7b06c4b7f3
@ -207,18 +207,13 @@ fprint_error_get_type (void)
|
||||
if (etype == 0) {
|
||||
static const GEnumValue values[] =
|
||||
{
|
||||
ENUM_ENTRY (FPRINT_ERROR_INTERNAL, "Internal"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_ALREADY_IN_USE, "InUse"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_DISCOVER_PRINTS, "DiscoverPrints"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_PRINT_NOT_FOUND, "PrintNotFound"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_PRINT_LOAD, "PrintLoad"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_NO_SUCH_LOADED_PRINT, "NoSuchLoadedPrint"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_CLAIM_DEVICE, "ClaimDevice"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_VERIFY_START, "VerifyStart"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_VERIFY_STOP, "VerifyStop"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_ENROLL_START, "EnrollStart"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_ENROLL_STOP, "EnrollStop"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_FAILED, "Failed"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_ALREADY_IN_USE, "AlreadyInUse"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_INTERNAL, "Internal"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_PERMISSION_DENIED, "PermissionDenied"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_NO_ENROLLED_PRINTS, "NoEnrolledPrints"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_NO_ACTION_IN_PROGRESS, "NoActionInProgress"),
|
||||
ENUM_ENTRY (FPRINT_ERROR_INVALID_FINGERNAME, "InvalidFingername"),
|
||||
{ 0, 0, 0 }
|
||||
};
|
||||
etype = g_enum_register_static ("FprintError", values);
|
||||
|
||||
Reference in New Issue
Block a user