cli.h 461 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <cli/cli.h>
  3. #include "../types/plugin_state.h"
  4. typedef struct TotpCliContext TotpCliContext;
  5. /**
  6. * @brief Registers TOTP CLI handler
  7. * @param plugin_state application state
  8. * @return TOTP CLI context
  9. */
  10. TotpCliContext* totp_cli_register_command_handler(PluginState* plugin_state);
  11. /**
  12. * @brief Unregisters TOTP CLI handler
  13. * @param context application state
  14. */
  15. void totp_cli_unregister_command_handler(TotpCliContext* context);