예제 #1
0
extern void
proto_session_hdr_unmarshall(Proto_Session *s, Proto_Msg_Hdr *h){  
  h->version = proto_session_hdr_unmarshall_version(s);
  h->type = proto_session_hdr_unmarshall_type(s);
  proto_session_hdr_unmarshall_sver(s, &h->sver);
  proto_session_hdr_unmarshall_pstate(s, &h->pstate);
  proto_session_hdr_unmarshall_gstate(s, &h->gstate);
  h->blen = proto_session_hdr_unmarshall_blen(s);
}
예제 #2
0
extern void
proto_session_hdr_unmarshall(Proto_Session *s, Proto_Msg_Hdr *h)
{
  
  proto_session_hdr_unmarshall_version(s);
  proto_session_hdr_unmarshall_type(s);
  proto_session_hdr_unmarshall_sver(s, &h->sver);
  proto_session_hdr_unmarshall_game(s);
  proto_session_hdr_unmarshall_returncode(s);
  proto_session_hdr_unmarshall_updatecell(s);
  // proto_session_hdr_unmarshall_blen(s);
}