src/vmwarexinerama.c
static int
VMwareXineramaDispatch(ClientPtr client)
{
    REQUEST(xReq);
    switch (stuff->data) {
	case X_PanoramiXQueryVersion:
	     return VMwareXineramaQueryVersion(client);
	case X_PanoramiXGetState:
	     return VMwareXineramaGetState(client);
	case X_PanoramiXGetScreenCount:
	     return VMwareXineramaGetScreenCount(client);
	case X_PanoramiXGetScreenSize:
	     return VMwareXineramaGetScreenSize(client);
	case X_XineramaIsActive:
	     return VMwareXineramaIsActive(client);
	case X_XineramaQueryScreens:
	     return VMwareXineramaQueryScreens(client);
    }
    return BadRequest;
}
/*
 *----------------------------------------------------------------------------
 *
 * VMwareXineramaDispatch --
 *
 *      Dispatcher for Xinerama commands. Calls the correct handler for
 *      each command type.
 *
 * Results:
 *      Standard response codes.
 *
 * Side effects:
 *      Side effects of individual command handlers.
 *
 *----------------------------------------------------------------------------
 */
VMwareXineramaDispatch
Dispatcher for Xinerama commands. Calls the correct handler for
each command type.

Standard response codes.

Side effects:
Side effects of individual command handlers.
VMwareXineramaDispatch Dispatcher for Xinerama commands . Calls the correct handler for each command type . Standard response codes . Side effects : Side effects of individual command handlers .
static int
VMwareXineramaDispatch(ClientPtr client)
{
    REQUEST(xReq);
    switch (stuff->data) {
	case X_PanoramiXQueryVersion:
	     return VMwareXineramaQueryVersion(client);
	case X_PanoramiXGetState:
	     return VMwareXineramaGetState(client);
	case X_PanoramiXGetScreenCount:
	     return VMwareXineramaGetScreenCount(client);
	case X_PanoramiXGetScreenSize:
	     return VMwareXineramaGetScreenSize(client);
	case X_XineramaIsActive:
	     return VMwareXineramaIsActive(client);
	case X_XineramaQueryScreens:
	     return VMwareXineramaQueryScreens(client);
    }
    return BadRequest;
}
static int VMwareXineramaDispatch ( ClientPtr client ) { REQUEST ( xReq ) ; switch ( stuff -> data ) { case X_PanoramiXQueryVersion : return VMwareXineramaQueryVersion ( client ) ; case X_PanoramiXGetState : return VMwareXineramaGetState ( client ) ; case X_PanoramiXGetScreenCount : return VMwareXineramaGetScreenCount ( client ) ; case X_PanoramiXGetScreenSize : return VMwareXineramaGetScreenSize ( client ) ; case X_XineramaIsActive : return VMwareXineramaIsActive ( client ) ; case X_XineramaQueryScreens : return VMwareXineramaQueryScreens ( client ) ; } return BadRequest ; }
VMwareXineramaDispatch
      Dispatcher for Xinerama commands.
VMwareXineramaDispatch Dispatcher for Xinerama commands .