// Copyright status: this file is in the public domain. #include "lx.h" #include "proto.h" #include "internal.h" void lx__simple_single(LX_CONN *xc, LX_XID window, const char *call, int opc) { unsigned char req[8]; if (xc->flags & XCF_FAIL) { lx__bad_call(xc,call); return; } lx__nochain(xc); req[0] = opc; req[1] = 0; // unused w_card16(&req[2],2); w_card32(&req[4],window); lx__send_req(xc,&req[0],-1); }