GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TS_LIBVERSION(3) tslib TS_LIBVERSION(3)

ts_libversion - get version information on the currently running tslib

#include <tslib.h>

struct ts_lib_version_data *ts_libversion();

ts_libversion() This function returns a pointer to a static copy of the version info struct:

struct ts_lib_version_data {
        const char      *package_version;
        int             version_num;
        unsigned int    features;
};

package_version is just the string containing the tarball release number, e.g. "1.10".

version_num is a 24 bit number created like this: <8 bits major number> | <8 bits minor number> | <8 bits patch number> of the library libts. Version 0.7.1 is therefore returned as 0x000701.

features can have one or more bits set. The currently defined bits are:

TSLIB_VERSION_MT tslib filters support multitouch ts_read_mt() and there is at least one raw access module supporting it (currently evdev input) TSLIB_VERSION_OPEN_RESTRICTED ts_open_restricted and ts_close_restricted function pointers are available to implement TSLIB_VERSION_EVENTPATH ts_get_eventpath() is available since tslib can auto-detect a device TSLIB_VERSION_VERSION simple tslib_version() and ts_print_ascii_logo() are available

This function returns a pointer to a static copy of the version info struct.

ts_setup(3), ts_read(3), ts.conf(5)

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.