pub struct Xf86vmode {
pub XF86VidModeAddModeLine: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeModeInfo, *mut XF86VidModeModeInfo) -> c_int,
pub XF86VidModeDeleteModeLine: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeModeInfo) -> c_int,
pub XF86VidModeGetAllModeLines: unsafe extern fn(*mut Display, c_int, *mut c_int, *mut *mut *mut XF86VidModeModeInfo) -> c_int,
pub XF86VidModeGetDotClocks: unsafe extern fn(*mut Display, c_int, *mut c_int, *mut c_int, *mut c_int, *mut *mut c_int) -> c_int,
pub XF86VidModeGetGamma: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeGamma) -> c_int,
pub XF86VidModeGetGammaRamp: unsafe extern fn(*mut Display, c_int, c_int, *mut c_ushort, *mut c_ushort, *mut c_ushort) -> c_int,
pub XF86VidModeGetGammaRampSize: unsafe extern fn(*mut Display, c_int, *mut c_int) -> c_int,
pub XF86VidModeGetModeLine: unsafe extern fn(*mut Display, c_int, *mut c_int, *mut XF86VidModeModeLine) -> c_int,
pub XF86VidModeGetMonitor: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeMonitor) -> c_int,
pub XF86VidModeGetPermissions: unsafe extern fn(*mut Display, c_int, *mut c_int) -> c_int,
pub XF86VidModeGetViewPort: unsafe extern fn(*mut Display, c_int, *mut c_int, *mut c_int) -> c_int,
pub XF86VidModeLockModeSwitch: unsafe extern fn(*mut Display, c_int, c_int) -> c_int,
pub XF86VidModeModModeLine: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeModeLine) -> c_int,
pub XF86VidModeQueryExtension: unsafe extern fn(*mut Display, *mut c_int, *mut c_int) -> c_int,
pub XF86VidModeQueryVersion: unsafe extern fn(*mut Display, *mut c_int, *mut c_int) -> c_int,
pub XF86VidModeSetClientVersion: unsafe extern fn(*mut Display) -> c_int,
pub XF86VidModeSetGamma: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeGamma) -> c_int,
pub XF86VidModeSetGammaRamp: unsafe extern fn(*mut Display, c_int, c_int, *mut c_ushort, *mut c_ushort, *mut c_ushort) -> c_int,
pub XF86VidModeSetViewPort: unsafe extern fn(*mut Display, c_int, c_int, c_int) -> c_int,
pub XF86VidModeSwitchMode: unsafe extern fn(*mut Display, c_int, c_int) -> c_int,
pub XF86VidModeSwitchToMode: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeModeInfo) -> c_int,
pub XF86VidModeValidateModeLine: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeModeInfo) -> c_int,
// some fields omitted
}
Fields
XF86VidModeAddModeLine: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeModeInfo, *mut XF86VidModeModeInfo) -> c_int
XF86VidModeDeleteModeLine: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeModeInfo) -> c_int
XF86VidModeGetAllModeLines: unsafe extern fn(*mut Display, c_int, *mut c_int, *mut *mut *mut XF86VidModeModeInfo) -> c_int
XF86VidModeGetDotClocks: unsafe extern fn(*mut Display, c_int, *mut c_int, *mut c_int, *mut c_int, *mut *mut c_int) -> c_int
XF86VidModeGetGamma: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeGamma) -> c_int
XF86VidModeGetGammaRamp: unsafe extern fn(*mut Display, c_int, c_int, *mut c_ushort, *mut c_ushort, *mut c_ushort) -> c_int
XF86VidModeGetGammaRampSize: unsafe extern fn(*mut Display, c_int, *mut c_int) -> c_int
XF86VidModeGetModeLine: unsafe extern fn(*mut Display, c_int, *mut c_int, *mut XF86VidModeModeLine) -> c_int
XF86VidModeGetMonitor: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeMonitor) -> c_int
XF86VidModeGetPermissions: unsafe extern fn(*mut Display, c_int, *mut c_int) -> c_int
XF86VidModeGetViewPort: unsafe extern fn(*mut Display, c_int, *mut c_int, *mut c_int) -> c_int
XF86VidModeLockModeSwitch: unsafe extern fn(*mut Display, c_int, c_int) -> c_int
XF86VidModeModModeLine: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeModeLine) -> c_int
XF86VidModeQueryExtension: unsafe extern fn(*mut Display, *mut c_int, *mut c_int) -> c_int
XF86VidModeQueryVersion: unsafe extern fn(*mut Display, *mut c_int, *mut c_int) -> c_int
XF86VidModeSetClientVersion: unsafe extern fn(*mut Display) -> c_int
XF86VidModeSetGamma: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeGamma) -> c_int
XF86VidModeSetGammaRamp: unsafe extern fn(*mut Display, c_int, c_int, *mut c_ushort, *mut c_ushort, *mut c_ushort) -> c_int
XF86VidModeSetViewPort: unsafe extern fn(*mut Display, c_int, c_int, c_int) -> c_int
XF86VidModeSwitchMode: unsafe extern fn(*mut Display, c_int, c_int) -> c_int
XF86VidModeSwitchToMode: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeModeInfo) -> c_int
XF86VidModeValidateModeLine: unsafe extern fn(*mut Display, c_int, *mut XF86VidModeModeInfo) -> c_int
Methods