//--------------------------------------------------------------------------- #ifndef PacketDefH #define PacketDefH //--------------------------------------------------------------------------- typedef struct { unsigned char packetID; char *packetDescription; char *packetFields; } tPacketDef; typedef struct { char *stringClass; unsigned char data; char *text; } tStringDef; const unsigned char kLastID = 0xff; const unsigned char kSubItemBit = 0x80; extern tPacketDef gPacketDef[]; extern tStringDef gStringDef[]; #endif