type-code-common.h 364 B

123456789101112
  1. #pragma once
  2. #include <stdint.h>
  3. #include "../types/token_info.h"
  4. typedef bool (*TOTP_AUTOMATION_KEY_HANDLER)(uint16_t key);
  5. void totp_type_code_worker_execute_automation(
  6. TOTP_AUTOMATION_KEY_HANDLER key_press_fn,
  7. TOTP_AUTOMATION_KEY_HANDLER key_release_fn,
  8. const char* code_buffer,
  9. uint8_t code_buffer_size,
  10. TokenAutomationFeature features);