2024-06-26 20:47:26 +03:00
|
|
|
#ifndef _CUTI_BS_H
|
|
|
|
#define _CUTI_BS_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define CUTIHI_BS_FLAG_KEY 1
|
2025-03-09 10:25:39 +02:00
|
|
|
#define CUTIHI_BS_SETUP_PACKET 2
|
2024-06-26 20:47:26 +03:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
uint64_t timestamp;
|
|
|
|
uint32_t sz;
|
|
|
|
uint8_t flags;
|
|
|
|
void *ptr;
|
|
|
|
} CHiBSFrame;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
size_t count;
|
|
|
|
CHiBSFrame data[];
|
|
|
|
} CHiBSFrames;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2025-03-09 10:25:39 +02:00
|
|
|
#endif
|