frames.h 339 B

123456789101112131415161718192021
  1. #pragma once
  2. #include "foundation/types.h"
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define FRAMEID(__frame_id) ((const int8_t*)__frame_id)
  7. typedef struct frameid_struct_t
  8. {
  9. const int8_t *v2;
  10. const int8_t *v3;
  11. const int8_t *v4;
  12. } FrameID;
  13. extern const FrameID frame_ids[];
  14. int ValidFrameID(int frame_id);
  15. #ifdef __cplusplus
  16. }
  17. #endif