1#ifndef ENGINE_SHARED_STUN_H
2#define ENGINE_SHARED_STUN_H
3#include <cstddef>
4
5struct NETADDR;
6
7class CStunData
8{
9public:
10 unsigned char m_aSecret[12];
11};
12
13size_t StunMessagePrepare(unsigned char *pBuffer, size_t BufferSize, CStunData *pData);
14bool StunMessageParse(const unsigned char *pMessage, size_t MessageSize, const CStunData *pData, bool *pSuccess, NETADDR *pAddr);
15#endif // ENGINE_SHARED_STUN_H
16