Some code of which I currently have no idea of it's purpose.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

39 lines
925 B

#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: