1XGetExtensionVersion(3)           X FUNCTIONS          XGetExtensionVersion(3)
2
3
4

NAME

6       XGetExtensionVersion - query the version of the input extension.
7

SYNTAX

9       XExtensionVersion *XGetExtensionVersion(Display *display, char *name);
10

ARGUMENTS

12       display     Specifies the connection to the X server.
13
14       name        Specifies the extension to be queried.  The input extension
15                   name is defined in the header file XI.h.
16

DESCRIPTION

18       The XGetExtensionVersion request  queries  the  version  of  the  input
19       extension,  and returns an XExtensionVersion structure.  This structure
20       contains a major_version and minor_version number which can be compared
21       with  constants  defined  in  XI.h.   Support  for  additional protocol
22       requests added to the input extension  after  its  initial  release  is
23       indicated  by  a  version  number  corresponding to the added requests.
24       Each version contains all the protocol requests contained  by  previous
25       versions.
26
27       You should use XFree to free the XExtensionVersion structure.
28

STRUCTURES

30       This request returns an XExtensionVersion structure.  typedef struct {
31               int    present;
32               short  major_version;
33               short  minor_version; } XExtensionVersion;
34

DIAGNOSTICS

36       none
37

SEE ALSO

39       Programming With Xlib
40
41
42
43X Version 11                      libXi 1.1.1          XGetExtensionVersion(3)
Impressum