00001 #ifndef HLBR_MESSAGE_H 00002 #define HLBR_MESSAGE_H 00003 00004 #include "../config.h" 00005 #include "hlbr.h" 00006 00007 #define MESSAGE_ITEM_CHAR 1 00008 #define MESSAGE_ITEM_SIP 2 00009 #define MESSAGE_ITEM_DIP 3 00010 #define MESSAGE_ITEM_SPORT 4 00011 #define MESSAGE_ITEM_DPORT 5 00012 #define MESSAGE_ITEM_YEAR 6 00013 #define MESSAGE_ITEM_MONTH 7 00014 #define MESSAGE_ITEM_DAY 8 00015 #define MESSAGE_ITEM_MIN 9 00016 #define MESSAGE_ITEM_SEC 10 00017 #define MESSAGE_ITEM_USEC 11 00018 #define MESSAGE_ITEM_HOUR 12 00019 #define MESSAGE_ITEM_PACKET_NUM 13 00020 #define MESSAGE_ITEM_ALERT_COUNT 14 00021 00022 MessageItem* ParseMessageString(char* MString); 00023 void FreeMessage(MessageItem* MItem); 00024 int ApplyMessage(MessageItem* MItem, int PacketSlot, char* Buff, int BuffLen); 00025 00026 #endif