Misc

Misc

Functions

Types and Values

Includes

#include <xrdesktop.h>

Description

Functions

XRD_CHECK_VERSION()

#define             XRD_CHECK_VERSION(major,minor,micro)

Compile-time version checking. Evaluates to TRUE if the version of xrdesktop is greater than the required one.

Parameters

major

required major version

 

minor

required minor version

 

micro

required micro version

 

XRD_ENCODE_VERSION()

#define             XRD_ENCODE_VERSION(major,minor,micro)

Types and Values

XRD_MAJOR_VERSION

#define XRD_MAJOR_VERSION (0)

xrdesktop major version component (e.g. 1 if XRD_VERSION is 1.2.3)


XRD_MICRO_VERSION

#define XRD_MICRO_VERSION (1)

xrdesktop micro version component (e.g. 3 if XRD_VERSION is 1.2.3)


XRD_MINOR_VERSION

#define XRD_MINOR_VERSION (12)

xrdesktop minor version component (e.g. 2 if XRD_VERSION is 1.2.3)


XRD_VERSION

#define XRD_VERSION (0.12.1)

xrdesktop version.


XRD_VERSION_HEX

#define             XRD_VERSION_HEX

xrdesktop version, encoded as an hexadecimal number, useful for integer comparisons.


XRD_VERSION_S

#define XRD_VERSION_S "0.12.1"

xrdesktop version, encoded as a string, useful for printing and concatenation.


XRD_INSIDE

#define XRD_INSIDE