gadgets-OSC/specific/burpmsg.h

32 lines
594 B
C
Raw Normal View History

2020-10-31 08:21:20 +11:00
/*
* BURPMSG.H
*/
/* ------------------------------------------------------------------- */
typedef struct {
uint32_t magic;
uint32_t serial;
uint16_t msgtype;
uint16_t szdata;
} BurpMsg;
#define BURP_MAGIC 0x98769876
/* message type */
#define BURP_RESET 1
#define BURP_SETSIZE 2
#define BURP_LASER 3
#define BURP_SCENE 4
#define BURP_COLOR 5
2020-11-02 18:41:33 +11:00
#define BURP_TEXTE 6
2020-10-31 08:21:20 +11:00
/* ------------------------------------------------------------------- */
int display_burp_msg(BurpMsg *header, void *data);
/* ------------------------------------------------------------------- */