Data Definitions for libXext

This section contains standard data definitions that describe system data. These definitions are organized into groups that correspond to system headers. This convention is used as a convenience for the reader, and does not imply the existence of these headers, or their content.

ISO C serves as the LSB reference programming language, and data definitions are specified in ISO C format. The C language is used here as a convenient notation. Using a C language description of these data objects does not preclude their use by other programming languages.

X11/extensions/security.h



typedef unsigned long XSecurityAuthorization;
typedef struct
{
  unsigned int timeout;
  unsigned int trust_level;
  XID group;
  long event_mask;
}
XSecurityAuthorizationAttributes;

X11/extensions/sync.h



typedef struct _XSyncSystemCounter
{
  char *name;
  XSyncCounter counter;
  XSyncValue resolution;
}
XSyncSystemCounter;
typedef struct
{
  XSyncCounter counter;
  XSyncValueType value_type;
  XSyncValue wait_value;
  XSyncTestType test_type;
}
XSyncTrigger;
typedef struct
{
  XSyncTrigger trigger;
  XSyncValue event_threshold;
}
XSyncWaitCondition;
typedef struct
{
  XSyncTrigger trigger;
  XSyncValue delta;
  int events;
  XSyncAlarmState state;
}
XSyncAlarmAttributes;


typedef XID XSyncCounter;
typedef XID XSyncAlarm;
typedef struct _XSyncValue
{
  int hi;
  unsigned int lo;
}
XSyncValue;
typedef enum
{
  XSyncAbsolute, XSyncRelative
}
XSyncValueType;
typedef enum
{
  XSyncPositiveTransition, XSyncNegativeTransition, XSyncPositiveComparison,
    XSyncNegativeComparison
}
XSyncTestType;
typedef enum
{
  XSyncAlarmActive, XSyncAlarmInactive, XSyncAlarmDestroyed
}
XSyncAlarmState;