xuxiuxi
2017-06-11 b2b4a063bd1a8dc94cea351fd31b79be2e0b632d
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