yast2-fingerprint-reader
|
#include <FPrintAgent.h>
Public Member Functions | |
int | acquire (int, string) |
void | finalize () |
Static Public Member Functions | |
static FPrintAPI & | instance () |
static void | catch_sigterm (int) |
Public Attributes | |
int | test_int |
struct fp_print_data * | data |
Private Member Functions | |
FPrintAPI () | |
virtual | ~FPrintAPI () |
The real interface to fprint library
FPrintAPI::FPrintAPI | ( | ) | [private] |
References data.
FPrintAPI::~FPrintAPI | ( | ) | [private, virtual] |
int FPrintAPI::acquire | ( | int | write_fd, |
string | dir_path | ||
) |
wrapper for fp_enroll_finger function;
file | descriptor of the pipe |
path | to the temporary directory for storing fingerprints |
References catch_sigterm(), data, DEVICE_OPEN_FAILED, ENROLL_FAILURE, finalize(), INIT_FAILED, instance(), NO_DEVICES, y2error, y2internal, and y2milestone.
void FPrintAPI::catch_sigterm | ( | int | sig_num | ) | [static] |
References finalize(), and instance().
Referenced by acquire().
void FPrintAPI::finalize | ( | ) |
References data, and instance().
Referenced by acquire(), and catch_sigterm().
FPrintAPI & FPrintAPI::instance | ( | ) | [static] |
Referenced by acquire(), catch_sigterm(), and finalize().
struct fp_print_data* FPrintAPI::data |
Referenced by acquire(), finalize(), and FPrintAPI().