swaprep.h

来自「unix vnc 协议源码. VNC是一款远程控制工具软件.」· C头文件 代码 · 共 543 行

H
543
字号
/* $XFree86: xc/programs/Xserver/include/swaprep.h,v 3.0 1996/04/15 11:34:34 dawes Exp $ *//************************************************************Copyright 1996 by Thomas E. Dickey <dickey@clark.net>                        All Rights ReservedPermission to use, copy, modify, and distribute this software and itsdocumentation for any purpose and without fee is hereby granted,provided that the above copyright notice appear in all copies and thatboth that copyright notice and this permission notice appear insupporting documentation, and that the name of the above listedcopyright holder(s) not be used in advertising or publicity pertainingto distribution of the software without specific, written priorpermission.THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARDTO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITYAND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BELIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGESWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ANACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OFOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.********************************************************/#ifndef SWAPREP_H#define SWAPREP_H 1voidSwap32Write(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    CARD32 * /* pbuf */#endif);voidCopySwap32Write(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    CARD32 * /* pbuf */#endif);voidCopySwap16Write(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    short * /* pbuf */#endif);voidSGenericReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGenericReply * /* pRep */#endif);voidSGetWindowAttributesReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetWindowAttributesReply * /* pRep */#endif);voidSGetGeometryReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetGeometryReply * /* pRep */#endif);voidSQueryTreeReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xQueryTreeReply * /* pRep */#endif);voidSInternAtomReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xInternAtomReply * /* pRep */#endif);voidSGetAtomNameReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetAtomNameReply * /* pRep */#endif);voidSGetPropertyReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetPropertyReply * /* pRep */#endif);voidSListPropertiesReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xListPropertiesReply * /* pRep */#endif);voidSGetSelectionOwnerReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetSelectionOwnerReply * /* pRep */#endif);voidSQueryPointerReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xQueryPointerReply * /* pRep */#endif);voidSwapTimecoord(#if NeedFunctionPrototypes    xTimecoord * /* pCoord */#endif);voidSwapTimeCoordWrite(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xTimecoord * /* pRep */#endif);voidSGetMotionEventsReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetMotionEventsReply * /* pRep */#endif);voidSTranslateCoordsReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xTranslateCoordsReply * /* pRep */#endif);voidSGetInputFocusReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetInputFocusReply * /* pRep */#endif);voidSQueryKeymapReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xQueryKeymapReply * /* pRep */#endif);#ifdef LBXvoidSwapCharInfo(#if NeedFunctionPrototypes    xCharInfo * /* pInfo */#endif);#endif#ifdef LBXvoidSwapFont(#if NeedFunctionPrototypes    xQueryFontReply * /* pr */,    Bool /* hasGlyphs */#endif);#endifvoidSQueryFontReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xQueryFontReply * /* pRep */#endif);voidSQueryTextExtentsReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xQueryTextExtentsReply * /* pRep */#endif);voidSListFontsReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xListFontsReply * /* pRep */#endif);voidSListFontsWithInfoReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xListFontsWithInfoReply * /* pRep */#endif);voidSGetFontPathReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetFontPathReply * /* pRep */#endif);voidSGetImageReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetImageReply * /* pRep */#endif);voidSListInstalledColormapsReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xListInstalledColormapsReply * /* pRep */#endif);voidSAllocColorReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xAllocColorReply * /* pRep */#endif);voidSAllocNamedColorReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xAllocNamedColorReply * /* pRep */#endif);voidSAllocColorCellsReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xAllocColorCellsReply * /* pRep */#endif);voidSAllocColorPlanesReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xAllocColorPlanesReply * /* pRep */#endif);voidSwapRGB(#if NeedFunctionPrototypes    xrgb * /* prgb */#endif);voidSQColorsExtend(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xrgb * /* prgb */#endif);voidSQueryColorsReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xQueryColorsReply * /* pRep */#endif);voidSLookupColorReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xLookupColorReply * /* pRep */#endif);voidSQueryBestSizeReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xQueryBestSizeReply * /* pRep */#endif);voidSListExtensionsReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xListExtensionsReply * /* pRep */#endif);voidSGetKeyboardMappingReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetKeyboardMappingReply * /* pRep */#endif);voidSGetPointerMappingReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetPointerMappingReply * /* pRep */#endif);voidSGetModifierMappingReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetModifierMappingReply * /* pRep */#endif);voidSGetKeyboardControlReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetKeyboardControlReply * /* pRep */#endif);voidSGetPointerControlReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetPointerControlReply * /* pRep */#endif);voidSGetScreenSaverReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xGetScreenSaverReply * /* pRep */#endif);voidSLHostsExtend(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    char * /* buf */#endif);voidSListHostsReply(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    int /* size */,    xListHostsReply * /* pRep */#endif);voidSErrorEvent(#if NeedFunctionPrototypes    xError * /* from */,    xError * /* to */#endif);voidSwapConnSetupInfo(#if NeedFunctionPrototypes    char * /* pInfo */,    char * /* pInfoTBase */#endif);voidWriteSConnectionInfo(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    unsigned long /* size */,    char * /* pInfo */#endif);voidSwapConnSetup(#if NeedFunctionPrototypes    xConnSetup * /* pConnSetup */,    xConnSetup * /* pConnSetupT */#endif);voidSwapWinRoot(#if NeedFunctionPrototypes    xWindowRoot * /* pRoot */,    xWindowRoot * /* pRootT */#endif);voidSwapVisual(#if NeedFunctionPrototypes    xVisualType * /* pVis */,    xVisualType * /* pVisT */#endif);voidSwapConnSetupPrefix(#if NeedFunctionPrototypes    xConnSetupPrefix * /* pcspFrom */,    xConnSetupPrefix * /* pcspTo */#endif);voidWriteSConnSetupPrefix(#if NeedFunctionPrototypes    ClientPtr /* pClient */,    xConnSetupPrefix * /* pcsp */#endif);#undef SWAPREP_PROC#if NeedFunctionPrototypes#define SWAPREP_PROC(func) void func(xEvent * /* from */, xEvent * /* to */)#else#define SWAPREP_PROC(func) void func(/* xEvent * from,    xEvent *    to */)#endifSWAPREP_PROC(SCirculateEvent);SWAPREP_PROC(SClientMessageEvent);SWAPREP_PROC(SColormapEvent);SWAPREP_PROC(SConfigureNotifyEvent);SWAPREP_PROC(SConfigureRequestEvent);SWAPREP_PROC(SCreateNotifyEvent);SWAPREP_PROC(SDestroyNotifyEvent);SWAPREP_PROC(SEnterLeaveEvent);SWAPREP_PROC(SExposeEvent);SWAPREP_PROC(SFocusEvent);SWAPREP_PROC(SGraphicsExposureEvent);SWAPREP_PROC(SGravityEvent);SWAPREP_PROC(SKeyButtonPtrEvent);SWAPREP_PROC(SKeymapNotifyEvent);SWAPREP_PROC(SMapNotifyEvent);SWAPREP_PROC(SMapRequestEvent);SWAPREP_PROC(SMappingEvent);SWAPREP_PROC(SNoExposureEvent);SWAPREP_PROC(SPropertyEvent);SWAPREP_PROC(SReparentEvent);SWAPREP_PROC(SResizeRequestEvent);SWAPREP_PROC(SSelectionClearEvent);SWAPREP_PROC(SSelectionNotifyEvent);SWAPREP_PROC(SSelectionRequestEvent);SWAPREP_PROC(SUnmapNotifyEvent);SWAPREP_PROC(SVisibilityEvent);#undef SWAPREP_PROC#endif /* SWAPREP_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?