More definitions...

FossilOrigin-Name: 956c616413a9e4c6e6071d0f73f5d18905d2f22a4c63b6341b99aa1f6101870b
This commit is contained in:
7u83@mail.ru 2014-07-27 10:37:08 +00:00
parent 2e3d49a8a5
commit 326571d043
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
#define LWTH_GET_LENGTH(th) (ntohl(*((uint32_t*)(th)))&0xffff)
#define LWTH_SET_VERSION(th,v) (th[0] = (th[0]&0x3f) | (v<<6))
#define LWTH_SET_C_FLAG(th,v) (th[0] = (th[0]&0xfd) | (v<<1))
#define LWTH_SET_C_FLAG(th,v) (th[0] = (th[0]&0xfB) | (v<<2))
#define LWMSG_GET_TYPE(m) (m[0])