mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-27 03:49:58 -07:00
20 lines
671 B
C
20 lines
671 B
C
#ifndef _TOTP_CONFIG_FILE_H_
|
|
#define _TOTP_CONFIG_FILE_H_
|
|
|
|
#include <flipper_format/flipper_format.h>
|
|
#include <furi.h>
|
|
#include "../../types/plugin_state.h"
|
|
#include "../../types/token_info.h"
|
|
#include "constants.h"
|
|
|
|
Storage* totp_open_storage();
|
|
void totp_close_storage();
|
|
FlipperFormat* totp_open_config_file(Storage* storage);
|
|
void totp_close_config_file(FlipperFormat* file);
|
|
void totp_full_save_config_file(PluginState* const plugin_state);
|
|
void totp_config_file_load_base(PluginState* const plugin_state);
|
|
void totp_config_file_load_tokens(PluginState* const plugin_state);
|
|
void totp_config_file_save_new_token(FlipperFormat* file, TokenInfo* token_info);
|
|
|
|
#endif
|