Struct x11_dl::xrandr::Xrandr  
                   
                       [−]
                   
               [src]
pub struct Xrandr {
    pub XRRAddOutputMode: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: RRMode),
    pub XRRAllocGamma: unsafe extern "C" fn(_: c_int) -> *mut XRRCrtcGamma,
    pub XRRAllocModeInfo: unsafe extern "C" fn(_: *const c_char, _: c_int) -> *mut XRRModeInfo,
    pub XRRAllocateMonitor: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *mut XRRMonitorInfo,
    pub XRRChangeOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: Atom, _: c_int, _: c_int, _: *const c_uchar, _: c_int),
    pub XRRChangeProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: Atom, _: c_int, _: c_int, _: *const c_uchar, _: c_int),
    pub XRRConfigCurrentConfiguration: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Rotation) -> SizeID,
    pub XRRConfigCurrentRate: unsafe extern "C" fn(_: *mut XRRScreenConfiguration) -> c_short,
    pub XRRConfigRates: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: c_int, _: *mut c_int) -> *mut c_short,
    pub XRRConfigRotations: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Rotation) -> Rotation,
    pub XRRConfigSizes: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut c_int) -> *mut XRRScreenSize,
    pub XRRConfigTimes: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Time) -> Time,
    pub XRRConfigureOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: Bool, _: Bool, _: c_int, _: *mut c_long),
    pub XRRConfigureProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: Bool, _: Bool, _: c_int, _: *mut c_long),
    pub XRRCreateMode: unsafe extern "C" fn(_: *mut Display, _: Window, _: *mut XRRModeInfo) -> RRMode,
    pub XRRDeleteMonitor: unsafe extern "C" fn(_: *mut Display, _: Window, _: Atom),
    pub XRRDeleteOutputMode: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: RRMode),
    pub XRRDeleteOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom),
    pub XRRDeleteProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom),
    pub XRRDestroyMode: unsafe extern "C" fn(_: *mut Display, _: RRMode),
    pub XRRFreeCrtcInfo: unsafe extern "C" fn(_: *mut XRRCrtcInfo),
    pub XRRFreeGamma: unsafe extern "C" fn(_: *mut XRRCrtcGamma),
    pub XRRFreeModeInfo: unsafe extern "C" fn(_: *mut XRRModeInfo),
    pub XRRFreeMonitors: unsafe extern "C" fn(_: *mut XRRMonitorInfo),
    pub XRRFreeOutputInfo: unsafe extern "C" fn(_: *mut XRROutputInfo),
    pub XRRFreePanning: unsafe extern "C" fn(_: *mut XRRPanning),
    pub XRRFreeProviderInfo: unsafe extern "C" fn(_: *mut XRRProviderInfo),
    pub XRRFreeProviderResources: unsafe extern "C" fn(_: *mut XRRProviderResources),
    pub XRRFreeScreenConfigInfo: unsafe extern "C" fn(_: *mut XRRScreenConfiguration),
    pub XRRFreeScreenResources: unsafe extern "C" fn(_: *mut XRRScreenResources),
    pub XRRGetCrtcGamma: unsafe extern "C" fn(_: *mut Display, _: RRCrtc) -> *mut XRRCrtcGamma,
    pub XRRGetCrtcGammaSize: unsafe extern "C" fn(_: *mut Display, _: RRCrtc) -> c_int,
    pub XRRGetCrtcInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc) -> *mut XRRCrtcInfo,
    pub XRRGetCrtcTransform: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut *mut XRRCrtcTransformAttributes) -> Status,
    pub XRRGetMonitors: unsafe extern "C" fn(_: *mut Display, _: Window, _: Bool, _: *mut c_int) -> *mut XRRMonitorInfo,
    pub XRRGetOutputInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RROutput) -> *mut XRROutputInfo,
    pub XRRGetOutputPrimary: unsafe extern "C" fn(_: *mut Display, _: Window) -> RROutput,
    pub XRRGetOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: c_long, _: c_long, _: Bool, _: Bool, _: Atom, _: *mut Atom, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int,
    pub XRRGetPanning: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc) -> *mut XRRPanning,
    pub XRRGetProviderInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRProvider) -> *mut XRRProviderInfo,
    pub XRRGetProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: c_long, _: c_long, _: Bool, _: Bool, _: Atom, _: *mut Atom, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int,
    pub XRRGetProviderResources: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRProviderResources,
    pub XRRGetScreenInfo: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenConfiguration,
    pub XRRGetScreenResources: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenResources,
    pub XRRGetScreenResourcesCurrent: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenResources,
    pub XRRGetScreenSizeRange: unsafe extern "C" fn(_: *mut Display, _: Window, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> Status,
    pub XRRListOutputProperties: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: *mut c_int) -> *mut Atom,
    pub XRRListProviderProperties: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: *mut c_int) -> *mut Atom,
    pub XRRQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool,
    pub XRRQueryOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom) -> *mut XRRPropertyInfo,
    pub XRRQueryProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom) -> *mut XRRPropertyInfo,
    pub XRRQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status,
    pub XRRRates: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_int) -> *mut c_short,
    pub XRRRootToScreen: unsafe extern "C" fn(_: *mut Display, _: Window) -> c_int,
    pub XRRRotations: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut Rotation) -> Rotation,
    pub XRRSelectInput: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int),
    pub XRRSetCrtcConfig: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc, _: Time, _: c_int, _: c_int, _: RRMode, _: Rotation, _: *mut RROutput, _: c_int) -> Status,
    pub XRRSetCrtcGamma: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut XRRCrtcGamma),
    pub XRRSetCrtcTransform: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut XTransform, _: *const c_char, _: *mut XFixed, _: c_int),
    pub XRRSetMonitor: unsafe extern "C" fn(_: *mut Display, _: Window, _: *mut XRRMonitorInfo),
    pub XRRSetOutputPrimary: unsafe extern "C" fn(_: *mut Display, _: Window, _: RROutput),
    pub XRRSetPanning: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc, _: *mut XRRPanning) -> Status,
    pub XRRSetProviderOffloadSink: unsafe extern "C" fn(_: *mut Display, _: XID, _: XID) -> c_int,
    pub XRRSetProviderOutputSource: unsafe extern "C" fn(_: *mut Display, _: XID, _: XID) -> c_int,
    pub XRRSetScreenConfig: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenConfiguration, _: Drawable, _: c_int, _: Rotation, _: Time) -> Status,
    pub XRRSetScreenConfigAndRate: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenConfiguration, _: Drawable, _: c_int, _: Rotation, _: c_short, _: Time) -> Status,
    pub XRRSetScreenSize: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int, _: c_int, _: c_int, _: c_int),
    pub XRRSizes: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut XRRScreenSize,
    pub XRRTimes: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut Time) -> Time,
    pub XRRUpdateConfiguration: unsafe extern "C" fn(_: *mut XEvent) -> c_int,
    // some fields omitted
}Fields
XRRAddOutputMode: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: RRMode)
                           
                           
                           
                           XRRAllocGamma: unsafe extern "C" fn(_: c_int) -> *mut XRRCrtcGamma
                           
                           
                           
                           XRRAllocModeInfo: unsafe extern "C" fn(_: *const c_char, _: c_int) -> *mut XRRModeInfo
                           
                           
                           
                           XRRAllocateMonitor: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *mut XRRMonitorInfo
                           
                           
                           
                           XRRChangeOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: Atom, _: c_int, _: c_int, _: *const c_uchar, _: c_int)
                           
                           
                           
                           XRRChangeProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: Atom, _: c_int, _: c_int, _: *const c_uchar, _: c_int)
                           
                           
                           
                           XRRConfigCurrentConfiguration: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Rotation) -> SizeID
                           
                           
                           
                           XRRConfigCurrentRate: unsafe extern "C" fn(_: *mut XRRScreenConfiguration) -> c_short
                           
                           
                           
                           XRRConfigRates: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: c_int, _: *mut c_int) -> *mut c_short
                           
                           
                           
                           XRRConfigRotations: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Rotation) -> Rotation
                           
                           
                           
                           XRRConfigSizes: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut c_int) -> *mut XRRScreenSize
                           
                           
                           
                           XRRConfigTimes: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Time) -> Time
                           
                           
                           
                           XRRConfigureOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: Bool, _: Bool, _: c_int, _: *mut c_long)
                           
                           
                           
                           XRRConfigureProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: Bool, _: Bool, _: c_int, _: *mut c_long)
                           
                           
                           
                           XRRCreateMode: unsafe extern "C" fn(_: *mut Display, _: Window, _: *mut XRRModeInfo) -> RRMode
                           
                           
                           
                           XRRDeleteMonitor: unsafe extern "C" fn(_: *mut Display, _: Window, _: Atom)
                           
                           
                           
                           XRRDeleteOutputMode: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: RRMode)
                           
                           
                           
                           XRRDeleteOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom)
                           
                           
                           
                           XRRDeleteProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom)
                           
                           
                           
                           XRRDestroyMode: unsafe extern "C" fn(_: *mut Display, _: RRMode)
                           
                           
                           
                           XRRFreeCrtcInfo: unsafe extern "C" fn(_: *mut XRRCrtcInfo)
                           
                           
                           
                           XRRFreeGamma: unsafe extern "C" fn(_: *mut XRRCrtcGamma)
                           
                           
                           
                           XRRFreeModeInfo: unsafe extern "C" fn(_: *mut XRRModeInfo)
                           
                           
                           
                           XRRFreeMonitors: unsafe extern "C" fn(_: *mut XRRMonitorInfo)
                           
                           
                           
                           XRRFreeOutputInfo: unsafe extern "C" fn(_: *mut XRROutputInfo)
                           
                           
                           
                           XRRFreePanning: unsafe extern "C" fn(_: *mut XRRPanning)
                           
                           
                           
                           XRRFreeProviderInfo: unsafe extern "C" fn(_: *mut XRRProviderInfo)
                           
                           
                           
                           XRRFreeProviderResources: unsafe extern "C" fn(_: *mut XRRProviderResources)
                           
                           
                           
                           XRRFreeScreenConfigInfo: unsafe extern "C" fn(_: *mut XRRScreenConfiguration)
                           
                           
                           
                           XRRFreeScreenResources: unsafe extern "C" fn(_: *mut XRRScreenResources)
                           
                           
                           
                           XRRGetCrtcGamma: unsafe extern "C" fn(_: *mut Display, _: RRCrtc) -> *mut XRRCrtcGamma
                           
                           
                           
                           XRRGetCrtcGammaSize: unsafe extern "C" fn(_: *mut Display, _: RRCrtc) -> c_int
                           
                           
                           
                           XRRGetCrtcInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc) -> *mut XRRCrtcInfo
                           
                           
                           
                           XRRGetCrtcTransform: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut *mut XRRCrtcTransformAttributes) -> Status
                           
                           
                           
                           XRRGetMonitors: unsafe extern "C" fn(_: *mut Display, _: Window, _: Bool, _: *mut c_int) -> *mut XRRMonitorInfo
                           
                           
                           
                           XRRGetOutputInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RROutput) -> *mut XRROutputInfo
                           
                           
                           
                           XRRGetOutputPrimary: unsafe extern "C" fn(_: *mut Display, _: Window) -> RROutput
                           
                           
                           
                           XRRGetOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: c_long, _: c_long, _: Bool, _: Bool, _: Atom, _: *mut Atom, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int
                           
                           
                           
                           XRRGetPanning: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc) -> *mut XRRPanning
                           
                           
                           
                           XRRGetProviderInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRProvider) -> *mut XRRProviderInfo
                           
                           
                           
                           XRRGetProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: c_long, _: c_long, _: Bool, _: Bool, _: Atom, _: *mut Atom, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int
                           
                           
                           
                           XRRGetProviderResources: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRProviderResources
                           
                           
                           
                           XRRGetScreenInfo: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenConfiguration
                           
                           
                           
                           XRRGetScreenResources: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenResources
                           
                           
                           
                           XRRGetScreenResourcesCurrent: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenResources
                           
                           
                           
                           XRRGetScreenSizeRange: unsafe extern "C" fn(_: *mut Display, _: Window, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> Status
                           
                           
                           
                           XRRListOutputProperties: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: *mut c_int) -> *mut Atom
                           
                           
                           
                           XRRListProviderProperties: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: *mut c_int) -> *mut Atom
                           
                           
                           
                           XRRQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool
                           
                           
                           
                           XRRQueryOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom) -> *mut XRRPropertyInfo
                           
                           
                           
                           XRRQueryProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom) -> *mut XRRPropertyInfo
                           
                           
                           
                           XRRQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status
                           
                           
                           
                           XRRRates: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_int) -> *mut c_short
                           
                           
                           
                           XRRRootToScreen: unsafe extern "C" fn(_: *mut Display, _: Window) -> c_int
                           
                           
                           
                           XRRRotations: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut Rotation) -> Rotation
                           
                           
                           
                           XRRSelectInput: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int)
                           
                           
                           
                           XRRSetCrtcConfig: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc, _: Time, _: c_int, _: c_int, _: RRMode, _: Rotation, _: *mut RROutput, _: c_int) -> Status
                           
                           
                           
                           XRRSetCrtcGamma: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut XRRCrtcGamma)
                           
                           
                           
                           XRRSetCrtcTransform: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut XTransform, _: *const c_char, _: *mut XFixed, _: c_int)
                           
                           
                           
                           XRRSetMonitor: unsafe extern "C" fn(_: *mut Display, _: Window, _: *mut XRRMonitorInfo)
                           
                           
                           
                           XRRSetOutputPrimary: unsafe extern "C" fn(_: *mut Display, _: Window, _: RROutput)
                           
                           
                           
                           XRRSetPanning: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc, _: *mut XRRPanning) -> Status
                           
                           
                           
                           XRRSetProviderOffloadSink: unsafe extern "C" fn(_: *mut Display, _: XID, _: XID) -> c_int
                           
                           
                           
                           XRRSetProviderOutputSource: unsafe extern "C" fn(_: *mut Display, _: XID, _: XID) -> c_int
                           
                           
                           
                           XRRSetScreenConfig: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenConfiguration, _: Drawable, _: c_int, _: Rotation, _: Time) -> Status
                           
                           
                           
                           XRRSetScreenConfigAndRate: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenConfiguration, _: Drawable, _: c_int, _: Rotation, _: c_short, _: Time) -> Status
                           
                           
                           
                           XRRSetScreenSize: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int, _: c_int, _: c_int, _: c_int)
                           
                           
                           
                           XRRSizes: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut XRRScreenSize
                           
                           
                           
                           XRRTimes: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut Time) -> Time
                           
                           
                           
                           XRRUpdateConfiguration: unsafe extern "C" fn(_: *mut XEvent) -> c_int