~ubuntu-branches/ubuntu/natty/libxi/natty-201011191114

« back to all changes in this revision

Viewing changes to man/XGetExtensionVersion.txt

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2009-11-21 18:39:28 UTC
  • mfrom: (1.1.10 upstream) (0.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20091121183928-ek2jwqx3rmhv3zjz
Tags: 2:1.3-1
* Bump Standards-Version to 3.8.3.
* Add build-deps on xmlto and asciidoc to build the manpages.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
XGETEXTENSIONVERSION(libmansuffix)
 
2
==================================
 
3
 
 
4
NAME
 
5
----
 
6
 
 
7
   XGetExtensionVersion - query the version of the input extension.
 
8
 
 
9
SYNOPSIS
 
10
--------
 
11
 
 
12
   #include <X11/extensions/XInput.h>
 
13
 
 
14
   XExtensionVersion *XGetExtensionVersion( Display *display,
 
15
                                            char *name);
 
16
 
 
17
   display
 
18
          Specifies the connection to the X server.
 
19
 
 
20
   name
 
21
          Specifies the extension to be queried. The input
 
22
          extension name is definedin the header file XI.h.
 
23
 
 
24
DESCRIPTION
 
25
-----------
 
26
 
 
27
   The XGetExtensionVersion request is deprecated and should not
 
28
   be used. Clients issuing a XgetExtensionVersion request will
 
29
   not be able to use MPX features. The XGetExtensionVersion
 
30
   request queries the version of the input extension, and returns
 
31
   an XExtensionVersion structure. This structure contains a
 
32
   major_version and minor_version number which can be compared
 
33
   with constants defined in XI.h. Support for additional protocol
 
34
   requests added to the input extension after its initial release
 
35
   is indicated by a version number corresponding to the added
 
36
   requests. Each version contains all the protocol requests
 
37
   contained by previous versions.
 
38
 
 
39
   You should use XFree to free the XExtensionVersion structure.
 
40
 
 
41
STRUCTURES
 
42
----------
 
43
 
 
44
   This request returns an XExtensionVersion structure.
 
45
 
 
46
                typedef struct {
 
47
                    int present;
 
48
                    short major_version;
 
49
                    short minor_version;
 
50
                } XExtensionVersion;