src/vmwarectrl.c
static int
SVMwareCtrlSetTopology(ClientPtr client)
{
   register int n;

   REQUEST(xVMwareCtrlSetTopologyReq);
   REQUEST_SIZE_MATCH(xVMwareCtrlSetTopologyReq);

   _swaps(&stuff->length, n);
   _swapl(&stuff->screen, n);
   _swapl(&stuff->number, n);
   /* Each extent is a struct of shorts. */
   SwapRestS(stuff);

   return VMwareCtrlSetTopology(client);
}
/*
 *----------------------------------------------------------------------------
 *
 * SVMwareCtrlSetTopology --
 *
 *      Wrapper for SetTopology handler that handles input from other-endian
 *      clients.
 *
 * Results:
 *      Standard response codes.
 *
 * Side effects:
 *      Side effects of unswapped implementation.
 *
 *----------------------------------------------------------------------------
 */
SVMwareCtrlSetTopology
Wrapper for SetTopology handler that handles input from other-endian
clients.

Standard response codes.

Side effects:
Side effects of unswapped implementation.
SVMwareCtrlSetTopology Wrapper for SetTopology handler that handles input from other - endian clients . Standard response codes . Side effects : Side effects of unswapped implementation .
static int
SVMwareCtrlSetTopology(ClientPtr client)
{
   register int n;
   REQUEST(xVMwareCtrlSetTopologyReq);
   REQUEST_SIZE_MATCH(xVMwareCtrlSetTopologyReq);
   _swaps(&stuff->length, n);
   _swapl(&stuff->screen, n);
   _swapl(&stuff->number, n);
   SwapRestS(stuff);
   return VMwareCtrlSetTopology(client);
}
static int SVMwareCtrlSetTopology ( ClientPtr client ) { register int n ; REQUEST ( xVMwareCtrlSetTopologyReq ) ; REQUEST_SIZE_MATCH ( xVMwareCtrlSetTopologyReq ) ; _swaps ( & stuff -> length , n ) ; _swapl ( & stuff -> screen , n ) ; _swapl ( & stuff -> number , n ) ; SwapRestS ( stuff ) ; return VMwareCtrlSetTopology ( client ) ; }
SVMwareCtrlSetTopology
      Wrapper for SetTopology handler that handles input from other-endian
      clients.
SVMwareCtrlSetTopology Wrapper for SetTopology handler that handles input from other - endian clients .
/* Each extent is a struct of shorts. */