xuxiuxi
2017-05-22 c41c02a52bb12a5724f4d9e9d2e9a33167de88a4
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