xuxiuxi
2017-07-23 94e704acde59df60bd42f6f90b94d462d1bfa37c
FaceServer/ev_proto.h
@@ -56,6 +56,9 @@
   int16_t cmd;   // EVPCommand::EVPC
   uint32_t size;   // sizeof(EVPHeader)+sizeof(subcmd)
   
   void hton();
   void ntoh();
   EVPHeader() : _padding1(0), proto(EVPProto::EVPP__FIRST), cmd(EVPCommand::EVPC__FIRST), size(8)
   {}
};
@@ -63,12 +66,18 @@
struct EVP_Status
{
   int16_t status;
   void hton();
   void ntoh();
};
struct EVP_VariableBuffer
{
   int16_t type;
   uint8_t buff[0];
   void hton();
   void ntoh();
};
//#todo