This repository has been archived on 2026-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
FlippyPass/project/backend/manager.h

29 lines
450 B
C
Raw Normal View History

// Define once
#ifndef H_MANAGER
#define H_MANAGER
// Libraries
#include <furi.h>
2024-09-08 20:12:29 -05:00
#include "base.h"
#include "pass.h"
#include "store.h"
// Structures
typedef struct {
Password* current;
Password* new;
2024-09-05 16:02:24 -05:00
char** names;
int count;
} Manager;
// Constructors
Manager* manager_init();
// Functions
2024-09-08 00:33:00 -05:00
void manager_savepass(Password* pass);
void manager_loadpass(Manager* manager, char* name);
void manager_free(Manager* manager);
#endif