app_api.h 492 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. /*
  3. * This file contains an API that is internally implemented by the application
  4. * It is also exposed to plugins to allow them to use the application's API.
  5. */
  6. #include <stdint.h>
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. void app_api_accumulator_set(uint32_t value);
  11. uint32_t app_api_accumulator_get();
  12. void app_api_accumulator_add(uint32_t value);
  13. void app_api_accumulator_sub(uint32_t value);
  14. void app_api_accumulator_mul(uint32_t value);
  15. #ifdef __cplusplus
  16. }
  17. #endif