summaryrefslogtreecommitdiff
path: root/pub_callbacks.h
blob: a8f6d34c3066c08295216f85e7d03cf930cef3a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef PUB_CALLBACKS_H
#define PUB_CALLBACKS_H

#include <stdint.h>

typedef uint8_t byte;

typedef struct {
    byte opcode;

    byte data[512];
} request_t;

enum {
    CALLBACK_LOAD_URL,
    CALLBACK_PAUSE,
    CALLBACK_QUIT,
    CALLBACK_SND_UP,
    CALLBACK_SND_DOWN,
    CALLBACK_FULLSCREEN,
    CALLBACK_MUTE,

    CALLBACK_COUNT
};

#endif /* PUB_CALLBACKS_H */