xtraplibp.h revision 74fe172698ba936102e120dae998c9ebd09cfbdf
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/* $XFree86: xc/include/extensions/xtraplibp.h,v 1.1 2001/11/02 23:29:26 dawes Exp $ */
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/*****************************************************************************
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncCopyright 1987, 1988, 1989, 1990, 1991, 1994 by Digital Equipment Corp.,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncPermission to use, copy, modify, and distribute this software and its
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncdocumentation for any purpose and without fee is hereby granted,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncprovided that the above copyright notice appear in all copies and that
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncboth that copyright notice and this permission notice appear in
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncsupporting documentation, and that the name of Digital not be
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncused in advertising or publicity pertaining to distribution of the
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncsoftware without specific, written prior permission.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync*****************************************************************************/
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * CONTRIBUTORS:
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * Dick Annicchiarico
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * Robert Chesler
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * Dan Coutu
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * Gene Durso
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * Marc Evans
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * Alan Jamison
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * Mark Henry
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * Ken Miller
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * DESCRIPTION:
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * This header file contains the function prototypes for client/toolkit
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync * routines sorted by module (globally defined routines *only*).
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncXETC *XECreateTC (Display *dpy , CARD32 valuemask , XETCValues *value );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XEChangeTC (XETC *tc , CARD32 mask , XETCValues *values );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XETrapSetMaxPacket (XETC *tc , Bool set_flag , CARD16 size );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XETrapSetCommandKey (XETC *tc , Bool set_flag , KeySym cmd_key ,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XETrapSetTimestamps (XETC *tc , Bool set_flag , Bool delta_flag );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XETrapSetColorReplies (XETC *tc , Bool set_flag );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XETrapSetGrabServer (XETC *tc , Bool set_flag );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XETrapSetStatistics (XETC *tc , Bool set_flag );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XETrapSetRequests (XETC *tc , Bool set_flag , ReqFlags requests );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XETrapSetEvents (XETC *tc , Bool set_flag , EventFlags events );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncBool XESetCmdGateState (XETC *tc , CARD8 type, Bool *gate_closed ,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XEGetVersionRequest (XETC *tc , XETrapGetVersRep *ret );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XEGetLastInpTimeRequest (XETC *tc , XETrapGetLastInpTimeRep *ret );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XEGetAvailableRequest (XETC *tc , XETrapGetAvailRep *ret );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XESimulateXEventRequest (XETC *tc , CARD8 type , CARD8 detail ,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XEGetCurrentRequest (XETC *tc , XETrapGetCurRep *ret );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XEGetStatisticsRequest (XETC *tc , XETrapGetStatsRep *ret );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XEAddRequestCB (XETC *tc , CARD8 req , void_function func , BYTE *data );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XEAddRequestCBs (XETC *tc , ReqFlags req_flags , void_function func ,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XEAddEventCB (XETC *tc , CARD8 evt , void_function func , BYTE *data );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XEAddEventCBs (XETC *tc , EventFlags evt_flags , void_function func ,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync/* The following seem to never be used. Perhaps they should be removed */
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XERemoveRequestCBs (XETC *tc, ReqFlags req_flags);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XERemoveEventCBs (XETC *tc, EventFlags evt_flags);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncBoolean XETrapDispatchXLib (XETrapDataEvent *event , XETC *tc);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncBoolean XETrapDispatchEvent (XEvent *pevent , XETC *tc );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XETrapAppMainLoop (XtAppContext app , XETC *tc );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncint XETrapAppWhileLoop (XtAppContext app , XETC *tc , Bool *done );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncBoolean (*XETrapSetEventHandler(XETC *tc, CARD32 id, Boolean (*pfunc)(XETrapDataEvent *event, XETC *tc))) (XETrapDataEvent *event, XETC *tc);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintRelease (FILE *ofp , XETrapGetAvailRep *pavail );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintPlatform (FILE *ofp , XETrapGetAvailRep *pavail );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintAvailFlags (FILE *ofp , XETrapGetAvailRep *pavail );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintAvailPktSz (FILE *ofp , XETrapGetAvailRep *pavail );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintStateFlags (FILE *ofp , XETrapGetCurRep *pcur );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintMajOpcode (FILE *ofp , XETrapGetAvailRep *pavail );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintCurXY (FILE *ofp , XETrapGetAvailRep *pavail );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintCfgFlags (FILE *ofp , XETrapGetCurRep *pcur );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintRequests (FILE *ofp , XETrapGetCurRep *pcur );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintEvents (FILE *ofp , XETrapGetCurRep *pcur );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintCurPktSz (FILE *ofp , XETrapGetCurRep *pcur );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintCmdKey (FILE *ofp , XETrapGetCurRep *pcur );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintEvtStats (FILE *ofp , XETrapGetStatsRep *pstats , XETC *tc);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintReqStats (FILE *ofp , XETrapGetStatsRep *pstats , XETC *tc);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintAvail (FILE *ofp , XETrapGetAvailRep *pavail );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintCurrent (FILE *ofp , XETrapGetCurRep *pcur );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncvoid XEPrintStatistics (FILE *ofp , XETrapGetStatsRep *pstats, XETC *tc );
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncchar *XERequestIDToExtString (register CARD8 id , XETC *tc);
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncBool XETrapQueryExtension (Display *dpy,INT32 *event_base_return,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync#endif /* __XTRAPLIBP__ */