Searched refs:amessage (Results 1 – 3 of 3) sorted by relevance
32 static int UsbReadMessage(usb_handle* h, amessage* msg) { in UsbReadMessage()115 if (usb_read(t->usb, &p->msg, sizeof(amessage))) { in remote_read()145 if (usb_write(t->usb, &p->msg, sizeof(amessage))) { in remote_write()
62 struct amessage { struct78 amessage msg; argument
65 if (!ReadFdExactly(t->sfd, &p->msg, sizeof(amessage))) { in remote_read()92 if(!WriteFdExactly(t->sfd, &p->msg, sizeof(amessage) + length)) { in remote_write()