1.5. Data Definitions for libXext

This section defines global identifiers and their values that are associated with interfaces contained in libXext. 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.

These definitions are intended to supplement those provided in the referenced underlying specifications.

This specification uses ISO/IEC 9899 C Language as the 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.

1.5.1. X11/extensions/security.h


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

1.5.2. 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;