summaryrefslogtreecommitdiff
path: root/src/XIint.h
blob: 3b9a62499ff4079e4cb5599c5b27013acbfc0bfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* $XFree86: xc/lib/Xi/XIint.h,v 3.2 2003/07/07 15:34:22 eich Exp $ */

/*
 *	XIint.h - Header definition and support file for the internal
 *	support routines used by the Xi library.
 */

#ifndef _XIINT_H_
#define _XIINT_H_
#include <X11/extensions/XIproto.h> /* for xAnyClassPtr */

extern XExtDisplayInfo *XInput_find_display(Display *);

extern int _XiCheckExtInit(Display *, int, XExtDisplayInfo *);

extern XExtensionVersion *_XiGetExtensionVersion(Display *, _Xconst char *, XExtDisplayInfo *);
extern Status _xiQueryVersion(Display *dpy, int*, int*, XExtDisplayInfo *);

extern Status _XiEventToWire(
    register Display *		/* dpy */,
    register XEvent *		/* re */,
    register xEvent **		/* event */,
    register int *		/* count */
);

extern int SizeClassInfo(
    xAnyClassPtr *		/* any */,
    int				/* num_classes */
);

extern void ParseClassInfo(
    xAnyClassPtr *		/* any */,
    XAnyClassPtr *		/* Any */,
    int				/* num_classes */
);

#endif