storage: Add function to discover users that have prints

For sensors with internal storage we may want to garbage collect prints.
Adding this API means we can list all local prints, allowing us to find
out whether there are prints on the device's storage with no
corresponding print on the host.
This commit is contained in:
Benjamin Berg
2019-07-31 16:00:12 +02:00
parent d7821aa790
commit ca482036c7
4 changed files with 27 additions and 0 deletions

View File

@ -38,5 +38,6 @@ int file_storage_init(void);
int file_storage_deinit(void);
GSList *file_storage_discover_prints(FpDevice *dev, const char *username);
GSList *file_storage_discover_users(void);
#endif