11 char name[MAX_STR_LEN];
30 #ifdef RTS_LITTLE_ENDIAN
31 inline void swapSysState(
SysState *s)
33 s->gState = ntohl(s->gState);
34 for(
int i=0;i<MAX_NODES;i++) {
35 s->states[i].node = ntohs(s->states[i].node);
36 s->states[i].state = ntohl(s->states[i].state);
42 s->node = ntohs(s->node);