|
Packit Service |
f1aff6 |
/*
|
|
Packit Service |
f1aff6 |
* Simple file storage for fprintd
|
|
Packit Service |
f1aff6 |
* Copyright (C) 2008 Vasily Khoruzhick <anarsoul@gmail.com>
|
|
Packit Service |
f1aff6 |
*
|
|
Packit Service |
f1aff6 |
* This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
f1aff6 |
* it under the terms of the GNU General Public License as published by
|
|
Packit Service |
f1aff6 |
* the Free Software Foundation; either version 2 of the License, or
|
|
Packit Service |
f1aff6 |
* (at your option) any later version.
|
|
Packit Service |
f1aff6 |
*
|
|
Packit Service |
f1aff6 |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
f1aff6 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
f1aff6 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
f1aff6 |
* GNU General Public License for more details.
|
|
Packit Service |
f1aff6 |
*
|
|
Packit Service |
f1aff6 |
* You should have received a copy of the GNU General Public License along
|
|
Packit Service |
f1aff6 |
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
Packit Service |
f1aff6 |
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
Packit Service |
f1aff6 |
*
|
|
Packit Service |
f1aff6 |
*/
|
|
Packit Service |
f1aff6 |
|
|
Packit Service |
f1aff6 |
#ifndef FILE_STORAGE_H
|
|
Packit Service |
f1aff6 |
|
|
Packit Service |
f1aff6 |
#define FILE_STORAGE_H
|
|
Packit Service |
f1aff6 |
|
|
Packit Service |
f1aff6 |
int file_storage_print_data_save(FpPrint *print);
|
|
Packit Service |
f1aff6 |
|
|
Packit Service |
f1aff6 |
int file_storage_print_data_load(FpDevice *dev,
|
|
Packit Service |
f1aff6 |
FpFinger finger,
|
|
Packit Service |
f1aff6 |
const char *username,
|
|
Packit Service |
f1aff6 |
FpPrint **print);
|
|
Packit Service |
f1aff6 |
|
|
Packit Service |
f1aff6 |
int file_storage_print_data_delete(FpDevice *dev,
|
|
Packit Service |
f1aff6 |
FpFinger finger,
|
|
Packit Service |
f1aff6 |
const char *username);
|
|
Packit Service |
f1aff6 |
|
|
Packit Service |
f1aff6 |
int file_storage_init(void);
|
|
Packit Service |
f1aff6 |
|
|
Packit Service |
f1aff6 |
int file_storage_deinit(void);
|
|
Packit Service |
f1aff6 |
|
|
Packit Service |
f1aff6 |
GSList *file_storage_discover_prints(FpDevice *dev, const char *username);
|
|
Packit Service |
f1aff6 |
GSList *file_storage_discover_users(void);
|
|
Packit Service |
f1aff6 |
|
|
Packit Service |
f1aff6 |
#endif
|