#include #include "export.h" typedef struct { __uint16_t DataType; __uint16_t Size; unsigned char* Data; }packet; typedef struct { __uint16_t DataType; __uint32_t Id; __uint16_t Size; unsigned char* Data; }packetEx; EXPORT int encrypt(packet *packet, unsigned char* outBuf, __uint16_t *len); EXPORT int decrypt(packetEx *packet, unsigned char* inBuf, __uint16_t len);