28 lines
No EOL
448 B
C
28 lines
No EOL
448 B
C
// Define once
|
|
#ifndef H_MANAGER
|
|
#define H_MANAGER
|
|
|
|
// Libraries
|
|
#include <furi.h>
|
|
|
|
#include "app.h"
|
|
#include "pass.h"
|
|
#include "store.h"
|
|
|
|
// Structures
|
|
typedef struct {
|
|
Password* current;
|
|
|
|
char** names;
|
|
int count;
|
|
} Manager;
|
|
|
|
// Constructors
|
|
Manager* manager_init();
|
|
|
|
// Functions
|
|
void manager_savepass(Manager* manager, Password* pass);
|
|
void manager_loadpass(Manager* manager, char* name);
|
|
void manager_free(Manager* manager);
|
|
|
|
#endif |