21 lines
No EOL
481 B
C
21 lines
No EOL
481 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, Store_File_Path path, char* tag);
|
|
void secure_storage_save(SecureStorage* secure_storage, Store_File_Path path, char* tag, char* data);
|
|
void secure_storage_free(SecureStorage* secure_storage);
|
|
|
|
#endif |