bigpoint_packet.h
925 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef __BIGPOINT_PACKET_H__
#define __BIGPOINT_PACKET_H__
#include "bigpoint_cclass.h"
#include "bigpoint_dyntype.h"
enum BIGPOINT_PACKET_CONTENT_KEYS {
BIGPOINT_PACKET_HEADER = 0,
BIGPOINT_PACKET_DATA
};
struct BIGPOINT_PACKET {
const struct BIGPOINT_CCLASS * const class;
struct BIGPOINT_DYNTYPE * content[2];
};
extern const struct BIGPOINT_CCLASS * const BIGPOINT_PACKET;
void * bigpoint_packet_getHeader(
struct BIGPOINT_PACKET * _this);
void * bigpoint_packet_getData(
struct BIGPOINT_PACKET * _this);
void bigpoint_packet_setHeader(
struct BIGPOINT_PACKET * _this,
struct BIGPOINT_DYNTYPE * header);
void bigpoint_packet_setData(
struct BIGPOINT_PACKET * _this,
struct BIGPOINT_DYNTYPE * data);
void bigpoint_packet_set_default_content(
struct BIGPOINT_PACKET * _this);
#endif//__BIGPOINT_PACKET_H__
// vim: set et ts=4 sw=4: