mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
Add clear-storage example
This commit is contained in:
committed by
Marco Trevisan (Treviño)
parent
fa5828f8c0
commit
aa18595ec7
@@ -26,6 +26,7 @@
|
||||
#include "storage.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
@@ -208,6 +209,12 @@ gallery_data_load (FpDevice *dev)
|
||||
return gallery;
|
||||
}
|
||||
|
||||
int
|
||||
clear_saved_prints (void)
|
||||
{
|
||||
return g_remove (STORAGE_FILE);
|
||||
}
|
||||
|
||||
FpPrint *
|
||||
print_create_template (FpDevice *dev, FpFinger finger, gboolean load_existing)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user