common_migration.h 420 B

12345678910111213
  1. #pragma once
  2. #include <flipper_format/flipper_format.h>
  3. /**
  4. * @brief Migrates config file to the latest version
  5. * @param fff_data_file original config file to be migrated
  6. * @param fff_backup_data_file backup copy of original config file
  7. * @return \c true if operation succeeded; \c false otherwise
  8. */
  9. bool totp_config_migrate_to_latest(
  10. FlipperFormat* fff_data_file,
  11. FlipperFormat* fff_backup_data_file);