Home | History | Annotate | Download | only in examples

Lines Matching defs:msg

40 		backChannelMsg msg;
47 msg.type = rfbBackChannel;
48 msg.size = Swap32IfLE(length);
49 if((n = rfbWriteExact(cl, (char*)&msg, sizeof(msg))) <= 0 ||
62 backChannelMsg msg;
65 if((n = rfbReadExact(cl, ((char*)&msg)+1, sizeof(backChannelMsg)-1)) <= 0) {
71 msg.size = Swap32IfLE(msg.size);
72 if((text = malloc(msg.size)) == NULL) {
73 rfbErr("Could not allocate %d bytes\n", msg.size);
76 if((n = rfbReadExact(cl, text, msg.size)) <= 0) {