FlippyPass/project/backend/secure.h
2024-09-09 00:41:04 -04:00

21 lines
No EOL
437 B
C

// Define once
#ifndef H_SECURE
#define H_SECURE
// Libraries
#include "store.h"
// Structures
typedef struct {
char* key;
} SecureStorage;
// Constructors
SecureStorage* secure_storage_init(char* key);
// Functions
char* secure_storage_load(SecureStorage* secure_storage, char* tag);
void secure_storage_save(SecureStorage* secure_storage, char* tag, char* data);
void secure_storage_free(SecureStorage* secure_storage);
#endif