Data Definitions for libXext

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;