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
467 B
C
Raw Normal View History

// 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;
Password* new;
2024-09-05 16:02:24 -05:00
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