summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-05-05 11:12:53 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 17:12:57 -0700
commit7cbba2672729d57ad9e35f8bfe9af6bc8d94cf48 (patch)
tree70ed9a3a2bd88a11a5aaaa9809402b630dd271d7
parent0aab8135dae526b090dcb1ffab801023ac4084aa (diff)
downloadxscope-7cbba2672729d57ad9e35f8bfe9af6bc8d94cf48.tar.gz
Delete PEX code
-rw-r--r--decode11.c21
-rw-r--r--decode_pex.c786
-rw-r--r--pexOCNames.h134
-rw-r--r--pexOCTab.awk86
-rw-r--r--pexRNames.h134
-rw-r--r--pexRTab.awk81
-rw-r--r--pexscope.h62
-rw-r--r--print11.c11
-rw-r--r--print_pex.c917
-rw-r--r--scope.c4
10 files changed, 1 insertions, 2235 deletions
diff --git a/decode11.c b/decode11.c
index 5cf131a..80da118 100644
--- a/decode11.c
+++ b/decode11.c
@@ -340,11 +340,6 @@ SimpleDump (type, fd, Major, Minor, bytes)
/* */
/* ************************************************************ */
-#ifdef PEX
-extern unsigned char LookForPEXFlag;
-extern unsigned char PEXCode;
-#endif
-
extern unsigned char LookForLBXFlag;
extern unsigned char LBXRequest;
extern unsigned char LBXError;
@@ -411,11 +406,6 @@ DecodeRequest(fd, buf, n)
if (Raw || (Verbose > 3))
DumpItem("Request", fd, buf, n);
if (Request < 0 || 127 < Request) {
-#ifdef PEX
- if (Request == PEXCode) {
- pex_decode_req(fd, buf);
- } else
-#endif
if (Request == LBXRequest) {
lbx_decode_req(fd, buf);
} else
@@ -758,12 +748,6 @@ DecodeRequest(fd, buf, n)
break;
case 98:
QueryExtension(buf);
-
-#ifdef PEX
- /* PEX content */
- if (strncmp("X3D-PEX",(char *)&buf[8],7) == 0)
- LookForPEXFlag=1;
-#endif
if (strncmp("LBX",(char *)&buf[8],3) == 0)
LookForLBXFlag=1;
@@ -893,11 +877,6 @@ DecodeReply(fd, buf, n)
RBf[1] = RequestMinor;
if (Raw || (Verbose > 3))
DumpItem("Reply", fd, buf, n);
-#ifdef PEX
- if (Request == PEXCode)
- pex_decode_reply(fd, buf);
- else
-#endif
if (Request == LBXRequest)
lbx_decode_reply(fd, buf, RequestMinor);
else
diff --git a/decode_pex.c b/decode_pex.c
deleted file mode 100644
index 2a31d60..0000000
--- a/decode_pex.c
+++ /dev/null
@@ -1,786 +0,0 @@
-/* $XConsortium: decode_pex.c,v 5.3 91/02/17 12:34:53 rws Exp $ */
-
-/***********************************************************
-Copyright 1989, 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the names of Sun Microsystems,
-the X Consortium, and MIT not be used in advertising or publicity
-pertaining to distribution of the software without specific, written
-prior permission.
-
-SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
-SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
-DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#include <stdio.h>
-#include <X11/X.h>
-#include <X11/extensions/PEX.h>
-#include <X11/extensions/PEXproto.h>
-#include "scope.h"
-#include "pexRNames.h"
-#include "pexOCNames.h"
-#include "pexscope.h"
-
-unsigned char pex_last_req;
-
-BOOL LookForPEXFlag;
-
-CARD8 PEXCode;
-
-pex_decode_req(fd, buf)
-FD fd;
-unsigned char *buf;
-{
- short req = IByte (&buf[0]);
-
- if ((buf[1] < PEX_GetExtensionInfo) ||
- (buf[1] > PEXMaxRequest)) {
- return;
- } else
- pex_last_req =buf[1];
-
- switch (buf[1]) {
- case PEX_GetExtensionInfo:
- GetExtensionInfo(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetEnumeratedTypeInfo:
- GetEnumeratedTypeInfo(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetImpDepConstants:
- GetImpDepConstants(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_CreateLookupTable:
- CreateLookupTable(buf);
- break;
- case PEX_CopyLookupTable:
- CopyLookupTable(buf);
- break;
- case PEX_FreeLookupTable:
- FreeLookupTable(buf);
- break;
- case PEX_GetTableInfo:
- GetTableInfo(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetPredefinedEntries:
- GetPredefinedEntries(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetDefinedIndices:
- GetDefinedIndices(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetTableEntry:
- GetTableEntry(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetTableEntries:
- GetTableEntries(buf);
- ReplyExpected(fd, buf);
- break;
- case PEX_SetTableEntries:
- SetTableEntries(buf);
- break;
- case PEX_DeleteTableEntries:
- DeleteTableEntries(buf);
- break;
- case PEX_CreatePipelineContext:
- CreatePipelineContext(buf);
- break;
- case PEX_CopyPipelineContext:
- CopyPipelineContext(buf);
- break;
- case PEX_FreePipelineContext:
- FreePipelineContext(buf);
- break;
- case PEX_GetPipelineContext:
- GetPipelineContext(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_ChangePipelineContext:
- ChangePipelineContext(buf);
- break;
- case PEX_CreateRenderer:
- CreateRenderer(buf);
- break;
- case PEX_FreeRenderer:
- FreeRenderer(buf);
- break;
- case PEX_ChangeRenderer:
- ChangeRenderer(buf);
- break;
- case PEX_GetRendererAttributes:
- GetRendererAttributes(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_BeginRendering:
- BeginRendering(buf);
- break;
- case PEX_EndRendering:
- EndRendering(buf);
- break;
- case PEX_BeginStructure:
- BeginStructure(buf);
- break;
- case PEX_EndStructure:
- EndStructure(buf);
- break;
- case PEX_RenderOutputCommands:
- RenderOutputCommands(buf);
- break;
- case PEX_RenderNetwork:
- RenderNetwork(buf);
- break;
- case PEX_CreateStructure:
- CreateStructure(buf);
- break;
- case PEX_CopyStructure:
- CopyStructure(buf);
- break;
- case PEX_GetRendererDynamics:
- GetRendererDynamics(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_DestroyStructures:
- DestroyStructures(buf);
- break;
- case PEX_GetStructureInfo:
- GetStructureInfo(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetElementInfo:
- GetElementInfo(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetStructuresInNetwork:
- GetStructuresInNetwork(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetAncestors:
- GetAncestors(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetDescendants:
- GetDescendants(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_FetchElements:
- FetchElements(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_SetEditingMode:
- SetEditingMode(buf);
- break;
- case PEX_SetElementPointer:
- SetElementPointer(buf);
- break;
- case PEX_SetElementPointerAtLabel:
- SetElementPointerAtLabel(buf);
- break;
- case PEX_ElementSearch:
- ElementSearch(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_StoreElements:
- StoreElements(buf);
- break;
- case PEX_DeleteElements:
- DeleteElements(buf);
- break;
- case PEX_DeleteElementsToLabel:
- DeleteElementsToLabel(buf);
- break;
- case PEX_DeleteBetweenLabels:
- DeleteBetweenLabels(buf);
- break;
- case PEX_CopyElements:
- CopyElements(buf);
- break;
- case PEX_ChangeStructureRefs:
- ChangeStructureRefs(buf);
- break;
- case PEX_CreateNameSet:
- CreateNameSet(buf);
- break;
- case PEX_CopyNameSet:
- CopyNameSet(buf);
- break;
- case PEX_FreeNameSet:
- FreeNameSet(buf);
- break;
- case PEX_GetNameSet:
- GetNameSet(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_ChangeNameSet:
- ChangeNameSet(buf);
- break;
- case PEX_CreateSearchContext:
- CreateSearchContext(buf);
- break;
- case PEX_CopySearchContext:
- CopySearchContext(buf);
- break;
- case PEX_FreeSearchContext:
- FreeSearchContext(buf);
- break;
- case PEX_GetSearchContext:
- GetSearchContext(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_ChangeSearchContext:
- ChangeSearchContext(buf);
- break;
- case PEX_SearchNetwork:
- SearchNetwork(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_CreatePhigsWks:
- CreatePhigsWks(buf);
- break;
- case PEX_FreePhigsWks:
- FreePhigsWks(buf);
- break;
- case PEX_GetWksInfo:
- GetWksInfo(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetDynamics:
- GetDynamics(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetViewRep:
- GetViewRep(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_RedrawAllStructures:
- RedrawAllStructures(buf);
- break;
- case PEX_UpdateWorkstation:
- UpdateWorkstation(buf);
- break;
- case PEX_ExecuteDeferredActions:
- ExecuteDeferredActions(buf);
- break;
- case PEX_SetViewPriority:
- SetViewPriority(buf);
- break;
- case PEX_SetDisplayUpdateMode:
- SetDisplayUpdateMode(buf);
- break;
- case PEX_MapDCtoWC:
- MapDCtoWC(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_MapWCtoDC:
- MapWCtoDC(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_SetViewRep:
- SetViewRep(buf);
- break;
- case PEX_SetWksWindow:
- SetWksWindow(buf);
- break;
- case PEX_SetWksViewport:
- SetWksViewport(buf);
- break;
- case PEX_SetHlhsrMode:
- SetHlhsrMode(buf);
- break;
- case PEX_PostStructure:
- PostStructure(buf);
- break;
- case PEX_UnpostStructure:
- UnpostStructure(buf);
- break;
- case PEX_UnpostAllStructures:
- UnpostAllStructures(buf);
- break;
- case PEX_GetWksPostings:
- GetWksPostings(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_GetPickDevice:
- GetPickDevice(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_ChangePickDevice:
- ChangePickDevice(buf);
- break;
- case PEX_CreatePickMeasure:
- CreatePickMeasure(buf);
- break;
- case PEX_FreePickMeasure:
- FreePickMeasure(buf);
- break;
- case PEX_GetPickMeasure:
- GetPickMeasure(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_UpdatePickMeasure:
- UpdatePickMeasure(buf);
- break;
- case PEX_OpenFont:
- pexopenfont(buf);
- break;
- case PEX_CloseFont:
- pexclosefont(buf);
- break;
- case PEX_QueryFont:
- pexqueryfont(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_ListFonts:
- pexlistfonts(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_ListFontsWithInfo:
- pexlistfontswithinfo(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_QueryTextExtents:
- pexquerytextextents(buf);
- ReplyExpected(fd, req);
- break;
- case PEX_RedrawClipRegion:
- RedrawClipRegion(buf);
- break;
- default:
- break;
- }
-}
-
-/*
- *
- *
- *
- */
-pex_decode_elem(num_cmds, buf)
-CARD32 num_cmds;
-unsigned char *buf;
-{
- register long i;
- register pexElementInfo *el_info;
-
- for (i = 0; i < num_cmds; i++) {
- el_info = (pexElementInfo *) buf;
- if ((el_info->elementType <= PEXOCAll) ||
- (el_info->elementType >= PEXMaxOC) )
- return;
- fprintf(stdout, "\t\t\t %s\n",
- pex_oc_name[el_info->elementType]);
-
- fprintf(stdout, "\t\t\t length : %d\n",el_info->length);
- buf += el_info->length * 4;
-
-#ifdef IGNORE
- switch (el_info->elementType) {
- case PEXOCMarkerType:
- break;
- case PEXOCMarkerScale:
- break;
- case PEXOCMarkerColourIndex:
- break;
- case PEXOCMarkerColour:
- break;
- case PEXOCMarkerBundleIndex:
- break;
- case PEXOCTextFontIndex:
- break;
- case PEXOCTextPrecision:
- break;
- case PEXOCCharExpansion:
- break;
- case PEXOCCharSpacing:
- break;
- case PEXOCTextColourIndex:
- break;
- case PEXOCTextColour:
- break;
- case PEXOCCharHeight:
- break;
- case PEXOCCharUpVector:
- break;
- case PEXOCTextPath:
- break;
- case PEXOCTextAlignment:
- break;
- case PEXOCAtextHeight:
- break;
- case PEXOCAtextUpVector:
- break;
- case PEXOCAtextPath:
- break;
- case PEXOCAtextAlignment:
- break;
- case PEXOCAtextStyle:
- break;
- case PEXOCTextBundleIndex:
- break;
- case PEXOCLineType:
- break;
- case PEXOCLineWidth:
- break;
- case PEXOCLineColourIndex:
- break;
- case PEXOCLineColour:
- break;
- case PEXOCCurveApproximation:
- break;
- case PEXOCPolylineInterp:
- break;
- case PEXOCLineBundleIndex:
- break;
- case PEXOCInteriorStyle:
- break;
- case PEXOCInteriorStyleIndex:
- break;
- case PEXOCSurfaceColourIndex:
- break;
- case PEXOCSurfaceColour:
- break;
- case PEXOCSurfaceReflAttr:
- break;
- case PEXOCSurfaceReflModel:
- break;
- case PEXOCSurfaceInterp:
- break;
- case PEXOCBfInteriorStyle:
- break;
- case PEXOCBfInteriorStyleIndex:
- break;
- case PEXOCBfSurfaceColourIndex:
- break;
- case PEXOCBfSurfaceColour:
- break;
- case PEXOCBfSurfaceReflAttr:
- break;
- case PEXOCBfSurfaceReflModel:
- break;
- case PEXOCBfSurfaceInterp:
- break;
- case PEXOCSurfaceApproximation:
- break;
- case PEXOCTCApproximation:
- break;
- case PEXOCCullingMode:
- break;
- case PEXOCDistinguishFlag:
- break;
- case PEXOCNormalFlip:
- break;
- case PEXOCPatternSize:
- break;
- case PEXOCPatternRefPt:
- break;
- case PEXOCPatternAttr:
- break;
- case PEXOCInteriorBundleIndex:
- break;
- case PEXOCSurfaceEdgeFlag:
- break;
- case PEXOCSurfaceEdgeType:
- break;
- case PEXOCSurfaceEdgeWidth:
- break;
- case PEXOCSurfaceEdgeColourIndex:
- break;
- case PEXOCSurfaceEdgeColour:
- break;
- case PEXOCEdgeBundleIndex:
- break;
- case PEXOCSetAsfValues:
- break;
- case PEXOCLocalTransform:
- break;
- case PEXOCLocalTransform2D:
- break;
- case PEXOCGlobalTransform:
- break;
- case PEXOCGlobalTransform2D:
- break;
- case PEXOCModelClip:
- break;
- case PEXOCModelClipVolume:
- break;
- case PEXOCModelClipVolume2D :
- break;
- case PEXOCRestoreModelClip:
- break;
- case PEXOCViewIndex:
- break;
- case PEXOCLightState:
- break;
- case PEXOCDepthCueIndex:
- break;
- case PEXOCPickId:
- break;
- case PEXOCHlhsrIdentifier:
- break;
- case PEXOCAddToNameSet:
- break;
- case PEXOCRemoveFromNameSet:
- break;
- case PEXOCExecuteStructure:
- break;
- case PEXOCLabel:
- break;
- case PEXOCApplicationData:
- break;
- case PEXOCGse:
- break;
- case PEXOCMarker:
- break;
- case PEXOCMarker2D:
- break;
- case PEXOCText:
- break;
- case PEXOCText2D:
- break;
- case PEXOCAnnotationText:
- break;
- case PEXOCAnnotationText2D:
- break;
- case PEXOCPolyline:
- break;
- case PEXOCPolyline2D:
- break;
- case PEXOCPolylineSet:
- break;
- case PEXOCNurbCurve:
- break;
- case PEXOCFillArea:
- break;
- case PEXOCFillArea2D:
- break;
- case PEXOCExtFillArea:
- break;
- case PEXOCFillAreaSet:
- break;
- case PEXOCFillAreaSet2D:
- break;
- case PEXOCExtFillAreaSet:
- break;
- case PEXOCTriangleStrip:
- break;
- case PEXOCQuadrilateralMesh:
- break;
- case PEXOCIndexedPolygons:
- break;
- case PEXOCNurbSurface:
- break;
- case PEXOCCellArray:
- break;
- case PEXOCCellArray2D:
- break;
- case PEXOCExtCellArray:
- break;
- case PEXOCGdp:
- break;
- case PEXOCGdp2D:
- break;
- case PEXOCColourApproxIndex:
- break;
- default:
- break;
- }
-#endif /* IGNORE */
- }
-}
-
-/*
- *
- *
- *
- */
-pex_decode_reply(fd, buf)
-FD fd;
-unsigned char *buf;
-{
- switch (pex_last_req) {
- case PEX_GetExtensionInfo:
- GetExtensionInfoReply(buf);
- break;
- case PEX_GetEnumeratedTypeInfo:
- GetEnumeratedTypeInfoReply(buf);
- break;
- case PEX_GetImpDepConstants:
- GetImpDepConstantsReply(buf);
- break;
- case PEX_GetTableInfo:
- GetTableInfoReply(buf);
- break;
- case PEX_GetPredefinedEntries:
- GetPredefinedEntriesReply(buf);
- break;
- case PEX_GetDefinedIndices:
- GetDefinedIndicesReply(buf);
- break;
- case PEX_GetTableEntry:
- GetTableEntryReply(buf);
- break;
- case PEX_GetTableEntries:
- GetTableEntriesReply(buf);
- break;
- case PEX_GetPipelineContext:
- GetPipelineContextReply(buf);
- break;
- case PEX_GetRendererAttributes:
- GetRendererAttributesReply(buf);
- break;
- case PEX_GetRendererDynamics:
- GetRendererDynamicsReply(buf);
- break;
- case PEX_GetStructureInfo:
- GetStructureInfoReply(buf);
- break;
- case PEX_GetElementInfo:
- GetElementInfoReply(buf);
- break;
- case PEX_GetStructuresInNetwork:
- GetStructuresInNetworkReply(buf);
- break;
- case PEX_GetAncestors:
- GetAncestorsReply(buf);
- break;
- case PEX_GetDescendants:
- GetDescendantsReply(buf);
- break;
- case PEX_FetchElements:
- FetchElementsReply(buf);
- break;
- case PEX_ElementSearch:
- ElementSearchReply(buf);
- break;
- case PEX_GetNameSet:
- GetNameSetReply(buf);
- break;
- case PEX_GetSearchContext:
- GetSearchContextReply(buf);
- break;
- case PEX_SearchNetwork:
- SearchNetworkReply(buf);
- break;
- case PEX_GetWksInfo:
- GetWksInfoReply(buf);
- break;
- case PEX_GetDynamics:
- GetDynamicsReply(buf);
- break;
- case PEX_GetViewRep:
- GetViewRepReply(buf);
- break;
- case PEX_MapDCtoWC:
- MapDCtoWCReply(buf);
- break;
- case PEX_MapWCtoDC:
- MapWCtoDCReply(buf);
- break;
- case PEX_GetWksPostings:
- GetWksPostingsReply(buf);
- break;
- case PEX_GetPickDevice:
- GetPickDeviceReply(buf);
- break;
- case PEX_GetPickMeasure:
- GetPickMeasureReply(buf);
- break;
- case PEX_QueryFont:
- pexqueryfontreply(buf);
- break;
- case PEX_ListFonts:
- pexlistfontsreply(buf);
- break;
- case PEX_ListFontsWithInfo:
- pexlistfontswithinforeply(buf);
- break;
- case PEX_QueryTextExtents:
- pexquerytextextentsreply(buf);
- break;
- default:
- break;
- }
-}
-
-/*
- *
- *
- */
-
-pex_decode_error(fd, buf)
-FD fd;
-unsigned char *buf;
-{
- short error = IByte(&buf[1]);
- switch (error) {
- case PEXColourTypeError:
- pexerror_colortype(buf);
- break;
- case PEXRendererStateError:
- pexerror_rendererstate(buf);
- break;
- case PEXFloatingPointFormatError:
- pexerror_floatingpointformat(buf);
- break;
- case PEXLabelError:
- pexerror_label(buf);
- break;
- case PEXLookupTableError:
- pexerror_lookuptable(buf);
- break;
- case PEXNameSetError:
- pexerror_nameset(buf);
- break;
- case PEXPathError:
- pexerror_path(buf);
- break;
- case PEXFontError:
- pexerror_font(buf);
- break;
- case PEXPhigsWksError:
- pexerror_phigswks(buf);
- break;
- case PEXPickMeasureError:
- pexerror_pickmeasure(buf);
- break;
- case PEXPipelineContextError:
- pexerror_pipelinecontext(buf);
- break;
- case PEXRendererError:
- pexerror_renderer(buf);
- break;
- case PEXSearchContextError:
- pexerror_searchcontext(buf);
- break;
- case PEXStructureError:
- pexerror_structure(buf);
- break;
- case PEXOutputCommandError:
- pexerror_outputcommand(buf);
- break;
- default:
- break;
- }
-}
-
-InitializePEX()
-{
- LookForPEXFlag = 0;
- PEXCode = 0;
-}
diff --git a/pexOCNames.h b/pexOCNames.h
deleted file mode 100644
index 9124aea..0000000
--- a/pexOCNames.h
+++ /dev/null
@@ -1,134 +0,0 @@
-/* Automatically generated OC table
- */
-/******************************************************************
-Copyright 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the names of Sun Microsystems,
-the X Consortium, and MIT not be used in advertising or publicity
-pertaining to distribution of the software without specific, written
-prior permission.
-
-SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
-SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
-DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-static char *pex_oc_name [] = {
- "",
- "MarkerType",
- "MarkerScale",
- "MarkerColourIndex",
- "MarkerColour",
- "MarkerBundleIndex",
- "TextFontIndex",
- "TextPrecision",
- "CharExpansion",
- "CharSpacing",
- "TextColourIndex",
- "TextColour",
- "CharHeight",
- "CharUpVector",
- "TextPath",
- "TextAlignment",
- "AtextHeight",
- "AtextUpVector",
- "AtextPath",
- "AtextAlignment",
- "AtextStyle",
- "TextBundleIndex",
- "LineType",
- "LineWidth",
- "LineColourIndex",
- "LineColour",
- "CurveApproximation",
- "PolylineInterp",
- "LineBundleIndex",
- "InteriorStyle",
- "InteriorStyleIndex",
- "SurfaceColourIndex",
- "SurfaceColour",
- "SurfaceReflAttr",
- "SurfaceReflModel",
- "SurfaceInterp",
- "BfInteriorStyle",
- "BfInteriorStyleIndex",
- "BfSurfaceColourIndex",
- "BfSurfaceColour",
- "BfSurfaceReflAttr",
- "BfSurfaceReflModel",
- "BfSurfaceInterp",
- "SurfaceApproximation",
- "CullingMode",
- "DistinguishFlag",
- "PatternSize",
- "PatternRefPt",
- "PatternAttr",
- "InteriorBundleIndex",
- "SurfaceEdgeFlag",
- "SurfaceEdgeType",
- "SurfaceEdgeWidth",
- "SurfaceEdgeColourIndex",
- "SurfaceEdgeColour",
- "EdgeBundleIndex",
- "SetAsfValues",
- "LocalTransform",
- "LocalTransform2D",
- "GlobalTransform",
- "GlobalTransform2D",
- "ModelClip",
- "ModelClipVolume",
- "ModelClipVolume2D",
- "RestoreModelClip",
- "ViewIndex",
- "LightState",
- "DepthCueIndex",
- "PickId",
- "HlhsrIdentifier",
- "ColourApproxIndex",
- "RenderingColourModel",
- "ParaSurfCharacteristics",
- "AddToNameSet",
- "RemoveFromNameSet",
- "ExecuteStructure",
- "Label",
- "ApplicationData",
- "Gse",
- "Marker",
- "Marker2D",
- "Text",
- "Text2D",
- "AnnotationText",
- "AnnotationText2D",
- "Polyline",
- "Polyline2D",
- "PolylineSet",
- "NurbCurve",
- "FillArea",
- "FillArea2D",
- "ExtFillArea",
- "FillAreaSet",
- "FillAreaSet2D",
- "ExtFillAreaSet",
- "TriangleStrip",
- "QuadrilateralMesh",
- "SOFAS",
- "NurbSurface",
- "CellArray",
- "CellArray2D",
- "ExtCellArray",
- "Gdp",
- "Gdp2D",
- "Noop"
-};
-
-
diff --git a/pexOCTab.awk b/pexOCTab.awk
deleted file mode 100644
index 4794790..0000000
--- a/pexOCTab.awk
+++ /dev/null
@@ -1,86 +0,0 @@
-##
-# $XConsortium: pexOCTab.awk,v 5.1 91/02/16 09:32:13 rws Exp $
-###########################################################################
-## Copyright 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
-##
-## All Rights Reserved
-##
-## Permission to use, copy, modify, and distribute this software and its
-## documentation for any purpose and without fee is hereby granted,
-## provided that the above copyright notice appear in all copies and that
-## both that copyright notice and this permission notice appear in
-## supporting documentation, and that the names of Sun Microsystems,
-## the X Consortium, and MIT not be used in advertising or publicity
-## pertaining to distribution of the software without specific, written
-## prior permission.
-##
-## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
-## SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
-## DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-## WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-## SOFTWARE.
-##
-###########################################################################
-## Usage:
-## rm -f temp.dat
-## awk -f pex_oc_table.awk <pex-include-path>/PEX.h > <output_file>
-##
-BEGIN { num=0; i=0; gap_begin=0; val=0; gap=0; j=0
- print "/* Automatically generated OC table"
- print " */"
- print "/******************************************************************"
- print "Copyright 1990, 1991 by Sun Microsystems, Inc. and the X Consortium."
- print ""
- print " All Rights Reserved"
- print ""
- print "Permission to use, copy, modify, and distribute this software and its "
- print "documentation for any purpose and without fee is hereby granted, "
- print "provided that the above copyright notice appear in all copies and that"
- print "both that copyright notice and this permission notice appear in "
- print "supporting documentation, and that the names of Sun Microsystems,"
- print "the X Consortium, and MIT not be used in advertising or publicity "
- print "pertaining to distribution of the software without specific, written "
- print "prior permission. "
- print ""
- print "SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, "
- print "INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT "
- print "SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL "
- print "DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,"
- print "WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,"
- print "ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS"
- print "SOFTWARE."
- print ""
- print "******************************************************************/"
- }
-##
-## Look only for lines starting with PEXOC (in PEX.h).
-## Name (minus PEXOC) is saved in array for printing at the end
-## (signalled by reaching "PEXMaxOC"). This allows us to do the
-## extern declarations and the table in one pass.
-##
- $1 == "#define" {
- if ($2 == "PEXMaxOC") {
- print "static char *pex_oc_name [] = {"
- for (i=0; i<(num-1); i++) {
- if (str[i] == "PEX_OC_GAP") {
- for (j=0; j<gap; j++) print "\t\"\"," }
- else print "\t\"" str[i] "\"," }
- print "\t\"" str[i] "\""
- print "};\n\n" }
- else if (index($2,"PEXOC") == 1) {
- str[num] = substr($2,6,(length($2)-5))
- if (str[num] == "All") { str[num] = "" }
- val = $3
- if ((gap_begin != 0) && (gap == 0)) { gap = val - gap_begin - 1 }
- num++ }
- else if (num > 0) {
- if ($2 == "PEX_OC_GAP") {
- str[num] = "PEX_OC_GAP"
- gap_begin = val
- num++ } }
- }
-##
-##
-END { }
diff --git a/pexRNames.h b/pexRNames.h
deleted file mode 100644
index 6fa1a7f..0000000
--- a/pexRNames.h
+++ /dev/null
@@ -1,134 +0,0 @@
-/* Automatically generated OC table
- */
-/******************************************************************
-Copyright 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the names of Sun Microsystems,
-the X Consortium, and MIT not be used in advertising or publicity
-pertaining to distribution of the software without specific, written
-prior permission.
-
-SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
-SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
-DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-static char *pex_req_name [] = {
- "",
- "GetExtensionInfo",
- "GetEnumeratedTypeInfo",
- "GetImpDepConstants",
- "CreateLookupTable",
- "CopyLookupTable",
- "FreeLookupTable",
- "GetTableInfo",
- "GetPredefinedEntries",
- "GetDefinedIndices",
- "GetTableEntry",
- "GetTableEntries",
- "SetTableEntries",
- "DeleteTableEntries",
- "CreatePipelineContext",
- "CopyPipelineContext",
- "FreePipelineContext",
- "GetPipelineContext",
- "ChangePipelineContext",
- "CreateRenderer",
- "FreeRenderer",
- "ChangeRenderer",
- "GetRendererAttributes",
- "GetRendererDynamics",
- "BeginRendering",
- "EndRendering",
- "BeginStructure",
- "EndStructure",
- "RenderOutputCommands",
- "RenderNetwork",
- "CreateStructure",
- "CopyStructure",
- "DestroyStructures",
- "GetStructureInfo",
- "GetElementInfo",
- "GetStructuresInNetwork",
- "GetAncestors",
- "GetDescendants",
- "FetchElements",
- "SetEditingMode",
- "SetElementPointer",
- "SetElementPointerAtLabel",
- "ElementSearch",
- "StoreElements",
- "DeleteElements",
- "DeleteElementsToLabel",
- "DeleteBetweenLabels",
- "CopyElements",
- "ChangeStructureRefs",
- "CreateNameSet",
- "CopyNameSet",
- "FreeNameSet",
- "GetNameSet",
- "ChangeNameSet",
- "CreateSearchContext",
- "CopySearchContext",
- "FreeSearchContext",
- "GetSearchContext",
- "ChangeSearchContext",
- "SearchNetwork",
- "CreatePhigsWks",
- "FreePhigsWks",
- "GetWksInfo",
- "GetDynamics",
- "GetViewRep",
- "RedrawAllStructures",
- "UpdateWorkstation",
- "RedrawClipRegion",
- "ExecuteDeferredActions",
- "SetViewPriority",
- "SetDisplayUpdateMode",
- "MapDCtoWC",
- "MapWCtoDC",
- "SetViewRep",
- "SetWksWindow",
- "SetWksViewport",
- "SetHlhsrMode",
- "SetWksBufferMode",
- "PostStructure",
- "UnpostStructure",
- "UnpostAllStructures",
- "GetWksPostings",
- "GetPickDevice",
- "ChangePickDevice",
- "CreatePickMeasure",
- "FreePickMeasure",
- "GetPickMeasure",
- "UpdatePickMeasure",
- "OpenFont",
- "CloseFont",
- "QueryFont",
- "ListFonts",
- "ListFontsWithInfo",
- "QueryTextExtents",
- "MatchRendererTargets",
- "Escape",
- "EscapeWithReply",
- "RenderElements",
- "AccumulateState",
- "BeginPickOne",
- "EndPickOne",
- "PickOne",
- "BeginPickAll",
- "EndPickAll",
- "PickAll"
-};
-
-
diff --git a/pexRTab.awk b/pexRTab.awk
deleted file mode 100644
index 5ee8ad8..0000000
--- a/pexRTab.awk
+++ /dev/null
@@ -1,81 +0,0 @@
-##
-# $XConsortium: pexRTab.awk,v 5.1 91/02/16 09:32:10 rws Exp $
-###########################################################################
-## Copyright 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
-##
-## All Rights Reserved
-##
-## Permission to use, copy, modify, and distribute this software and its
-## documentation for any purpose and without fee is hereby granted,
-## provided that the above copyright notice appear in all copies and that
-## both that copyright notice and this permission notice appear in
-## supporting documentation, and that the names of Sun Microsystems,
-## the X Consortium, and MIT not be used in advertising or publicity
-## pertaining to distribution of the software without specific, written
-## prior permission.
-##
-## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
-## SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
-## DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-## WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-## SOFTWARE.
-##
-###########################################################################
-## Usage:
-## rm -f temp.dat
-## awk -f pex_oc_table.awk <pex-include-path>/PEX.h > <output_file>
-##
-BEGIN { num=0; i=0; gap_begin=0; val=0; gap=0; j=0
- print "/* Automatically generated OC table"
- print " */"
- print "/******************************************************************"
- print "Copyright 1990, 1991 by Sun Microsystems, Inc. and the X Consortium."
- print ""
- print " All Rights Reserved"
- print ""
- print "Permission to use, copy, modify, and distribute this software and its "
- print "documentation for any purpose and without fee is hereby granted, "
- print "provided that the above copyright notice appear in all copies and that"
- print "both that copyright notice and this permission notice appear in "
- print "supporting documentation, and that the names of Sun Microsystems,"
- print "the X Consortium, and MIT not be used in advertising or publicity "
- print "pertaining to distribution of the software without specific, written "
- print "prior permission. "
- print ""
- print "SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, "
- print "INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT "
- print "SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL "
- print "DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,"
- print "WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,"
- print "ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS"
- print "SOFTWARE."
- print ""
- print "******************************************************************/"
- }
-##
-## Look only for lines starting with PEXOC (in PEX.h).
-## Name (minus PEXOC) is saved in array for printing at the end
-## (signalled by reaching "PEXMaxOC"). This allows us to do the
-## extern declarations and the table in one pass.
-##
- $2 == "PEX_GetExtensionInfo" {
- str[num] = ""
- num++ }
- num > 0 {
- if ($1 == "#define") {
- if ($2 == "PEXMaxRequest") {
- print "static char *pex_req_name [] = {"
- for (i=0; i<(num-1); i++) { print "\t\"" str[i] "\"," }
- print "\t\"" str[i] "\""
- print "};\n\n" }
- else if (index($2,"PEX_") == 1) {
- str[num] = substr($2,5,(length($2)-4))
- val = $3
- if ((gap_begin != 0) && (gap == 0)) { gap = val - gap_begin - 1 }
- num++ }
- } }
-##
-##
-END { }
diff --git a/pexscope.h b/pexscope.h
deleted file mode 100644
index 3c42531..0000000
--- a/pexscope.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/* $XConsortium: pexscope.h,v 5.1 91/02/16 09:31:57 rws Exp $ */
-
-/***********************************************************
-Copyright 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the names of Sun Microsystems,
-the X Consortium, and MIT not be used in advertising or publicity
-pertaining to distribution of the software without specific, written
-prior permission.
-
-SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
-SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
-DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#ifndef PEXSCOPE_H_INCLUDED
-#define PEXSCOPE_H_INCLUDED
-
-#ifdef __STDC__
-#define PEX_DECODE_REQUEST(_request_name,ptr) \
- (void) fprintf(stderr,"\t........PEX_REQUEST: %s\n", \
- pex_req_name[PEX_##_request_name]); \
- (void) fprintf(stderr,"\t.............length: %d\n", \
- ((pex##_request_name##Req *)ptr)->length)
-#else
-#define PEX_DECODE_REQUEST(_request_name,ptr) \
- (void) fprintf(stderr,"\t........PEX_REQUEST: %s\n", \
- pex_req_name[PEX_/**/_request_name]); \
- (void) fprintf(stderr,"\t.............length: %d\n", \
- ((pex/**/_request_name/**/Req *)ptr)->length)
-#endif
-
-#ifdef __STDC__
-#define PEX_DECODE_REPLY(_reply_name,ptr) \
- (void) fprintf(stderr,"\t..........PEX_REPLY: %s\n", \
- pex_req_name[PEX_##_reply_name]); \
- (void) fprintf(stderr,"\t.............length: %d\n", \
- ((pex##_reply_name##Reply *)ptr)->length)
-#else
-#define PEX_DECODE_REPLY(_reply_name,ptr) \
- (void) fprintf(stderr,"\t..........PEX_REPLY: %s\n", \
- pex_req_name[PEX_/**/_reply_name]); \
- (void) fprintf(stderr,"\t.............length: %d\n", \
- ((pex/**/_reply_name/**/Reply *)ptr)->length)
-#endif
-
-#define PEX_DECODE_ELEM(_opcode) \
- (void) fprint(stderr,"\t..................... %s\n", \
- pex_oc_name[_opcode])
-
-#endif /* PEXSCOPE_H_INCLUDED */
diff --git a/print11.c b/print11.c
index 63082dc..1032313 100644
--- a/print11.c
+++ b/print11.c
@@ -3498,16 +3498,7 @@ QueryExtensionReply(buf)
extern unsigned char LookForRANDRFlag;
extern unsigned char LookForMITSHMFlag;
extern unsigned char LookForBIGREQFlag;
-#ifdef PEX
- extern unsigned char LookForPEXFlag;
- extern unsigned char PEXCode;
-
- /* PEX content */
- if (LookForPEXFlag) {
- PEXCode = (unsigned char)(buf[9]);
- LookForPEXFlag=0;
- }
-#endif
+
if (LookForLBXFlag) {
InitializeLBX(buf);
LookForLBXFlag = 0;
diff --git a/print_pex.c b/print_pex.c
deleted file mode 100644
index 8929d90..0000000
--- a/print_pex.c
+++ /dev/null
@@ -1,917 +0,0 @@
-/* $XConsortium: print_pex.c,v 5.4 91/02/17 12:34:48 rws Exp $ */
-
-/***********************************************************
-Copyright (c) 1989, 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the names of Sun Microsystems,
-the X Consortium, and MIT not be used in advertising or publicity
-pertaining to distribution of the software without specific, written
-prior permission.
-
-SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
-SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
-DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#include <stdio.h>
-#include <X11/X.h>
-#include <X11/extensions/PEX.h>
-#include <X11/extensions/PEXproto.h>
-#include "pexRNames.h"
-#include "pexOCNames.h"
-#include "pexscope.h"
-
-
-#define PEX_CARD8 0
-#define PEX_CARD16 1
-#define PEX_CARD32 2
-#define PEX_ENUM 3
-#define PEX_FP_FORMAT 4
-#define PEX_STRING 5
-#define PEX_DRAWABLE 6
-
-Nothing(buf)
-register unsigned char *buf;
-{
-}
-
-GetExtensionInfo(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetExtensionInfo,buf);
- pex_print(buf,4,2,PEX_CARD16," Protocol Major Version");
- pex_print(buf,6,2,PEX_CARD16," Protocol Minor Version");
-}
-
-GetExtensionInfoReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetExtensionInfo,buf);
- pex_print(buf,8,2,PEX_CARD16," Protocol Major Version");
- pex_print(buf,10,2,PEX_CARD16," Protocol Minor Version");
- pex_print(buf,12,4,PEX_CARD32,"\t Release Number");
- pex_print(buf,16,4,PEX_CARD32," Length of Vendor Name");
- pex_print(buf,20,4,PEX_CARD32,"\t\tSubset info");
-}
-
-GetEnumeratedTypeInfo(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetEnumeratedTypeInfo,buf);
- pex_print(buf,4,4,PEX_DRAWABLE,"\t Drawable Id");
-}
-
-GetEnumeratedTypeInfoReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetEnumeratedTypeInfo,buf);
-}
-
-GetImpDepConstants(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetImpDepConstants,buf);
-}
-
-GetImpDepConstantsReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetImpDepConstants,buf);
-}
-
-CreateLookupTable(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CreateLookupTable,buf);
-}
-
-CopyLookupTable(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CopyLookupTable,buf);
-}
-
-FreeLookupTable(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(FreeLookupTable,buf);
-}
-
-GetTableInfo(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetTableInfo,buf);
-}
-
-GetTableInfoReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetTableInfo,buf);
-}
-
-GetPredefinedEntries(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetPredefinedEntries,buf);
-}
-
-GetPredefinedEntriesReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetPredefinedEntries,buf);
-}
-
-GetDefinedIndices(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetDefinedIndices,buf);
-}
-
-GetDefinedIndicesReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetDefinedIndices,buf);
-}
-
-GetTableEntry(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetTableEntry,buf);
-}
-
-GetTableEntryReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetTableEntry,buf);
-}
-
-GetTableEntries(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetTableEntries,buf);
-}
-
-GetTableEntriesReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetTableEntries,buf);
-}
-
-SetTableEntries(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(SetTableEntries,buf);
-}
-
-DeleteTableEntries(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(DeleteTableEntries,buf);
-}
-
-CreatePipelineContext(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CreatePipelineContext,buf);
-}
-
-CopyPipelineContext(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CopyPipelineContext,buf);
-}
-
-FreePipelineContext(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(FreePipelineContext,buf);
-}
-
-GetPipelineContext(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetPipelineContext,buf);
-}
-
-GetPipelineContextReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetPipelineContext,buf);
-}
-
-ChangePipelineContext(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(ChangePipelineContext,buf);
-}
-
-CreateRenderer(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CreateRenderer,buf);
-}
-
-FreeRenderer(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(FreeRenderer,buf);
-}
-
-ChangeRenderer(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(ChangeRenderer,buf);
-}
-
-GetRendererAttributes(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetRendererAttributes,buf);
-}
-
-GetRendererAttributesReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetRendererAttributes,buf);
-}
-
-BeginRendering(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(BeginRendering,buf);
-}
-
-EndRendering(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(EndRendering,buf);
-}
-
-BeginStructure(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(BeginStructure,buf);
-}
-
-EndStructure(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(EndStructure,buf);
-}
-
-RenderOutputCommands(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(RenderOutputCommands,buf);
-}
-
-RenderNetwork(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(RenderNetwork,buf);
-}
-
-CreateStructure(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CreateStructure,buf);
-}
-
-CopyStructure(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CopyStructure,buf);
-}
-
-GetRendererDynamics(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetRendererDynamics,buf);
-}
-
-GetRendererDynamicsReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetRendererDynamics,buf);
-}
-
-DestroyStructures(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(DestroyStructures,buf);
-}
-
-GetStructureInfo(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetStructureInfo,buf);
-}
-
-GetStructureInfoReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetStructureInfo,buf);
-}
-
-GetElementInfo(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetElementInfo,buf);
-}
-
-GetElementInfoReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetElementInfo,buf);
-}
-
-GetStructuresInNetwork(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetStructuresInNetwork,buf);
-}
-
-GetStructuresInNetworkReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetStructuresInNetwork,buf);
-}
-
-GetAncestors(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetAncestors,buf);
-}
-
-GetAncestorsReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetAncestors,buf);
-}
-
-GetDescendants(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetDescendants,buf);
-}
-
-GetDescendantsReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetDescendants,buf);
-}
-
-FetchElements(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(FetchElements,buf);
-}
-
-FetchElementsReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(FetchElements,buf);
-}
-
-SetEditingMode(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(SetEditingMode,buf);
-}
-
-SetElementPointer(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(SetElementPointer,buf);
-}
-
-SetElementPointerAtLabel(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(SetElementPointerAtLabel,buf);
-}
-
-ElementSearch(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(ElementSearch,buf);
-}
-
-ElementSearchReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(ElementSearch,buf);
-}
-
-StoreElements(buf)
-unsigned char *buf;
-{
- pexStoreElementsReq *req_ptr = (pexStoreElementsReq *)buf;
- CARD32 num_cmds = req_ptr->numCommands;
- PEX_DECODE_REQUEST(StoreElements,buf);
- buf += sizeof(pexStoreElementsReq);
- pex_decode_elem(num_cmds, (unsigned char *)(buf));
-}
-
-DeleteElements(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(DeleteElements,buf);
-}
-
-DeleteElementsToLabel(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(DeleteElementsToLabel,buf);
-}
-
-DeleteBetweenLabels(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(DeleteBetweenLabels,buf);
-}
-
-CopyElements(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CopyElements,buf);
-}
-
-ChangeStructureRefs(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(ChangeStructureRefs,buf);
-}
-
-CreateNameSet(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CreateNameSet,buf);
-}
-
-CopyNameSet(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CopyNameSet,buf);
-}
-
-FreeNameSet(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(FreeNameSet,buf);
-}
-
-GetNameSet(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetNameSet,buf);
-}
-
-GetNameSetReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetNameSet,buf);
-}
-
-ChangeNameSet(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(ChangeNameSet,buf);
-}
-
-CreateSearchContext(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CreateSearchContext,buf);
-}
-
-CopySearchContext(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CopySearchContext,buf);
-}
-
-FreeSearchContext(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(FreeSearchContext,buf);
-}
-
-GetSearchContext(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetSearchContext,buf);
-}
-
-GetSearchContextReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetSearchContext,buf);
-}
-
-ChangeSearchContext(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(ChangeSearchContext,buf);
-}
-
-SearchNetwork(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(SearchNetwork,buf);
-}
-
-SearchNetworkReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(SearchNetwork,buf);
-}
-
-CreatePhigsWks(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CreatePhigsWks,buf);
-}
-
-FreePhigsWks(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(FreePhigsWks,buf);
-}
-
-GetWksInfo(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetWksInfo,buf);
-}
-
-GetWksInfoReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetWksInfo,buf);
-}
-
-GetDynamics(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetDynamics,buf);
-}
-
-GetDynamicsReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetDynamics,buf);
-}
-
-GetViewRep(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetViewRep,buf);
-}
-
-GetViewRepReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetViewRep,buf);
-}
-
-RedrawAllStructures(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(RedrawAllStructures,buf);
-}
-
-UpdateWorkstation(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(UpdateWorkstation,buf);
-}
-
-ExecuteDeferredActions(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(ExecuteDeferredActions,buf);
-}
-
-SetViewPriority(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(SetViewPriority,buf);
-}
-
-SetDisplayUpdateMode(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(SetDisplayUpdateMode,buf);
-}
-
-MapDCtoWC(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(MapDCtoWC,buf);
-}
-
-MapDCtoWCReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(MapDCtoWC,buf);
-}
-
-MapWCtoDC(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(MapWCtoDC,buf);
-}
-
-MapWCtoDCReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(MapWCtoDC,buf);
-}
-
-SetViewRep(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(SetViewRep,buf);
-}
-
-SetWksWindow(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(SetWksWindow,buf);
-}
-
-SetWksViewport(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(SetWksViewport,buf);
-}
-
-SetHlhsrMode(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(SetHlhsrMode,buf);
-}
-
-PostStructure(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(PostStructure,buf);
-}
-
-UnpostStructure(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(UnpostStructure,buf);
-}
-
-UnpostAllStructures(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(UnpostAllStructures,buf);
-}
-
-GetWksPostings(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetWksPostings,buf);
-}
-
-GetWksPostingsReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetWksPostings,buf);
-}
-
-GetPickDevice(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetPickDevice,buf);
-}
-
-GetPickDeviceReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetPickDevice,buf);
-}
-
-ChangePickDevice(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(ChangePickDevice,buf);
-}
-
-CreatePickMeasure(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CreatePickMeasure,buf);
-}
-
-FreePickMeasure(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(FreePickMeasure,buf);
-}
-
-GetPickMeasure(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(GetPickMeasure,buf);
-}
-
-GetPickMeasureReply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(GetPickMeasure,buf);
-}
-
-UpdatePickMeasure(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(UpdatePickMeasure,buf);
-}
-
-pexopenfont(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(OpenFont,buf);
-}
-
-pexclosefont(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(CloseFont,buf);
-}
-
-pexqueryfont(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(QueryFont,buf);
-}
-
-pexqueryfontreply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(QueryFont,buf);
-}
-
-pexlistfonts(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(ListFonts,buf);
-}
-
-pexlistfontsreply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(ListFonts,buf);
-}
-
-pexlistfontswithinfo(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(ListFontsWithInfo,buf);
-}
-
-pexlistfontswithinforeply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(ListFontsWithInfo,buf);
-}
-
-pexquerytextextents(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(QueryTextExtents,buf);
-}
-
-pexquerytextextentsreply(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REPLY(QueryTextExtents,buf);
-}
-
-RedrawClipRegion(buf)
-register unsigned char *buf;
-{
- PEX_DECODE_REQUEST(RedrawClipRegion,buf);
-}
-
-/*
- * PEX Error Printing procedures
- */
-pexerror_colortype(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_rendererstate(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_floatingpointformat(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_label(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_lookuptable(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_nameset(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_path(buf)
-register unsigned char *buf;
-{
-}
-pexerror_font(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_phigswks(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_pickmeasure(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_pipelinecontext(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_renderer(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_searchcontext(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_structure(buf)
-register unsigned char *buf;
-{
-}
-
-pexerror_outputcommand(buf)
-register unsigned char *buf;
-{
-}
-
-
-pex_print(buf, start, length, field_type, name)
- unsigned char *buf;
- short start;
- short length;
- short field_type;
- char *name;
-{
- switch (field_type) {
- case PEX_CARD8:
- break;
- case PEX_CARD16:
- fprintf(stderr,"%s: %d\n",name,*((CARD16*)&buf[start]));
- break;
- case PEX_CARD32:
- fprintf(stderr,"%s: %d\n",name,*((CARD32*)&buf[start]));
- break;
- case PEX_DRAWABLE:
- fprintf(stderr,"%s: %d\n",name,*((Drawable*)&buf[start]));
- break;
- case PEX_ENUM:
- break;
- case PEX_FP_FORMAT:
- break;
- case PEX_STRING:
- break;
- default:
- break;
- }
-}
diff --git a/scope.c b/scope.c
index 96164b7..c6d3e32 100644
--- a/scope.c
+++ b/scope.c
@@ -77,7 +77,6 @@
extern int errno;
-extern InitializePEX();
/* ********************************************** */
/* */
/* ********************************************** */
@@ -892,9 +891,6 @@ main(argc, argv)
InitializeX11();
if (DoAudio)
InitializeAudio();
-#ifdef PEX
- InitializePEX();
-#endif
SetUpStdin();
#if defined(DNETCONN) || defined(DNETSVR4)
if (decnet_in)