Documentation ¶
Overview ¶
FILE GENERATED AUTOMATICALLY FROM "xselinux.xml"
Index ¶
- Constants
- func GetClientContextUnchecked(c *xgb.XConn, Resource uint32) error
- func GetDeviceContextUnchecked(c *xgb.XConn, Device uint32) error
- func GetDeviceCreateContextUnchecked(c *xgb.XConn) error
- func GetPropertyContextUnchecked(c *xgb.XConn, Window xproto.Window, Property xproto.Atom) error
- func GetPropertyCreateContextUnchecked(c *xgb.XConn) error
- func GetPropertyDataContextUnchecked(c *xgb.XConn, Window xproto.Window, Property xproto.Atom) error
- func GetPropertyUseContextUnchecked(c *xgb.XConn) error
- func GetSelectionContextUnchecked(c *xgb.XConn, Selection xproto.Atom) error
- func GetSelectionCreateContextUnchecked(c *xgb.XConn) error
- func GetSelectionDataContextUnchecked(c *xgb.XConn, Selection xproto.Atom) error
- func GetSelectionUseContextUnchecked(c *xgb.XConn) error
- func GetWindowContextUnchecked(c *xgb.XConn, Window xproto.Window) error
- func GetWindowCreateContextUnchecked(c *xgb.XConn) error
- func ListItemListBytes(buf []byte, list []ListItem) int
- func ListItemListSize(list []ListItem) int
- func ListItemRead(buf []byte, v *ListItem) int
- func ListItemReadList(buf []byte, dest []ListItem) int
- func ListPropertiesUnchecked(c *xgb.XConn, Window xproto.Window) error
- func ListSelectionsUnchecked(c *xgb.XConn) error
- func QueryVersionUnchecked(c *xgb.XConn, ClientMajor byte, ClientMinor byte) error
- func Register(xconn *xgb.XConn) error
- func SetDeviceContext(c *xgb.XConn, Device uint32, ContextLen uint32, Context string) error
- func SetDeviceContextUnchecked(c *xgb.XConn, Device uint32, ContextLen uint32, Context string) error
- func SetDeviceCreateContext(c *xgb.XConn, ContextLen uint32, Context string) error
- func SetDeviceCreateContextUnchecked(c *xgb.XConn, ContextLen uint32, Context string) error
- func SetPropertyCreateContext(c *xgb.XConn, ContextLen uint32, Context string) error
- func SetPropertyCreateContextUnchecked(c *xgb.XConn, ContextLen uint32, Context string) error
- func SetPropertyUseContext(c *xgb.XConn, ContextLen uint32, Context string) error
- func SetPropertyUseContextUnchecked(c *xgb.XConn, ContextLen uint32, Context string) error
- func SetSelectionCreateContext(c *xgb.XConn, ContextLen uint32, Context string) error
- func SetSelectionCreateContextUnchecked(c *xgb.XConn, ContextLen uint32, Context string) error
- func SetSelectionUseContext(c *xgb.XConn, ContextLen uint32, Context string) error
- func SetSelectionUseContextUnchecked(c *xgb.XConn, ContextLen uint32, Context string) error
- func SetWindowCreateContext(c *xgb.XConn, ContextLen uint32, Context string) error
- func SetWindowCreateContextUnchecked(c *xgb.XConn, ContextLen uint32, Context string) error
- type GetClientContextReply
- type GetDeviceContextReply
- type GetDeviceCreateContextReply
- type GetPropertyContextReply
- type GetPropertyCreateContextReply
- type GetPropertyDataContextReply
- type GetPropertyUseContextReply
- type GetSelectionContextReply
- type GetSelectionCreateContextReply
- type GetSelectionDataContextReply
- type GetSelectionUseContextReply
- type GetWindowContextReply
- type GetWindowCreateContextReply
- type ListItem
- type ListPropertiesReply
- type ListSelectionsReply
- type QueryVersionReply
Constants ¶
const ( // ExtName is the user-friendly name string of this X extension. ExtName = "SELinux" // ExtXName is the name string this extension is known by to the X server. ExtXName = "SELinux" )
Variables ¶
This section is empty.
Functions ¶
func GetClientContextUnchecked ¶
GetClientContextUnchecked sends an unchecked request.
func GetDeviceContextUnchecked ¶
GetDeviceContextUnchecked sends an unchecked request.
func GetDeviceCreateContextUnchecked ¶
func GetDeviceCreateContextUnchecked(c *xgb.XConn) error
GetDeviceCreateContextUnchecked sends an unchecked request.
func GetPropertyContextUnchecked ¶
GetPropertyContextUnchecked sends an unchecked request.
func GetPropertyCreateContextUnchecked ¶
func GetPropertyCreateContextUnchecked(c *xgb.XConn) error
GetPropertyCreateContextUnchecked sends an unchecked request.
func GetPropertyDataContextUnchecked ¶
func GetPropertyDataContextUnchecked(c *xgb.XConn, Window xproto.Window, Property xproto.Atom) error
GetPropertyDataContextUnchecked sends an unchecked request.
func GetPropertyUseContextUnchecked ¶
func GetPropertyUseContextUnchecked(c *xgb.XConn) error
GetPropertyUseContextUnchecked sends an unchecked request.
func GetSelectionContextUnchecked ¶
GetSelectionContextUnchecked sends an unchecked request.
func GetSelectionCreateContextUnchecked ¶
func GetSelectionCreateContextUnchecked(c *xgb.XConn) error
GetSelectionCreateContextUnchecked sends an unchecked request.
func GetSelectionDataContextUnchecked ¶
GetSelectionDataContextUnchecked sends an unchecked request.
func GetSelectionUseContextUnchecked ¶
func GetSelectionUseContextUnchecked(c *xgb.XConn) error
GetSelectionUseContextUnchecked sends an unchecked request.
func GetWindowContextUnchecked ¶
GetWindowContextUnchecked sends an unchecked request.
func GetWindowCreateContextUnchecked ¶
func GetWindowCreateContextUnchecked(c *xgb.XConn) error
GetWindowCreateContextUnchecked sends an unchecked request.
func ListItemListBytes ¶
ListItemListBytes writes a list of ListItem values to a byte slice.
func ListItemListSize ¶
ListItemListSize computes the size (bytes) of a list of ListItem values.
func ListItemRead ¶
ListItemRead reads a byte slice into a ListItem value.
func ListItemReadList ¶
ListItemReadList reads a byte slice into a list of ListItem values.
func ListPropertiesUnchecked ¶
ListPropertiesUnchecked sends an unchecked request.
func ListSelectionsUnchecked ¶
func ListSelectionsUnchecked(c *xgb.XConn) error
ListSelectionsUnchecked sends an unchecked request.
func QueryVersionUnchecked ¶
QueryVersionUnchecked sends an unchecked request.
func Register ¶ added in v1.1.0
func Register(xconn *xgb.XConn) error
Register will query the X server for SELinux extension support, and register relevant extension unmarshalers with the XConn.
func SetDeviceContext ¶
SetDeviceContext sends a checked request.
func SetDeviceContextUnchecked ¶ added in v1.1.0
func SetDeviceContextUnchecked(c *xgb.XConn, Device uint32, ContextLen uint32, Context string) error
SetDeviceContextUnchecked sends an unchecked request.
func SetDeviceCreateContext ¶
SetDeviceCreateContext sends a checked request.
func SetDeviceCreateContextUnchecked ¶ added in v1.1.0
SetDeviceCreateContextUnchecked sends an unchecked request.
func SetPropertyCreateContext ¶
SetPropertyCreateContext sends a checked request.
func SetPropertyCreateContextUnchecked ¶ added in v1.1.0
SetPropertyCreateContextUnchecked sends an unchecked request.
func SetPropertyUseContext ¶
SetPropertyUseContext sends a checked request.
func SetPropertyUseContextUnchecked ¶ added in v1.1.0
SetPropertyUseContextUnchecked sends an unchecked request.
func SetSelectionCreateContext ¶
SetSelectionCreateContext sends a checked request.
func SetSelectionCreateContextUnchecked ¶ added in v1.1.0
SetSelectionCreateContextUnchecked sends an unchecked request.
func SetSelectionUseContext ¶
SetSelectionUseContext sends a checked request.
func SetSelectionUseContextUnchecked ¶ added in v1.1.0
SetSelectionUseContextUnchecked sends an unchecked request.
func SetWindowCreateContext ¶
SetWindowCreateContext sends a checked request.
func SetWindowCreateContextUnchecked ¶ added in v1.1.0
SetWindowCreateContextUnchecked sends an unchecked request.
Types ¶
type GetClientContextReply ¶
type GetClientContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetClientContextReply represents the data returned from a GetClientContext request.
func GetClientContext ¶
func GetClientContext(c *xgb.XConn, Resource uint32) (GetClientContextReply, error)
GetClientContext sends a checked request.
func (*GetClientContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetClientContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetClientContextReply value.
type GetDeviceContextReply ¶
type GetDeviceContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetDeviceContextReply represents the data returned from a GetDeviceContext request.
func GetDeviceContext ¶
func GetDeviceContext(c *xgb.XConn, Device uint32) (GetDeviceContextReply, error)
GetDeviceContext sends a checked request.
func (*GetDeviceContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetDeviceContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetDeviceContextReply value.
type GetDeviceCreateContextReply ¶
type GetDeviceCreateContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetDeviceCreateContextReply represents the data returned from a GetDeviceCreateContext request.
func GetDeviceCreateContext ¶
func GetDeviceCreateContext(c *xgb.XConn) (GetDeviceCreateContextReply, error)
GetDeviceCreateContext sends a checked request.
func (*GetDeviceCreateContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetDeviceCreateContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetDeviceCreateContextReply value.
type GetPropertyContextReply ¶
type GetPropertyContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetPropertyContextReply represents the data returned from a GetPropertyContext request.
func GetPropertyContext ¶
func GetPropertyContext(c *xgb.XConn, Window xproto.Window, Property xproto.Atom) (GetPropertyContextReply, error)
GetPropertyContext sends a checked request.
func (*GetPropertyContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetPropertyContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetPropertyContextReply value.
type GetPropertyCreateContextReply ¶
type GetPropertyCreateContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetPropertyCreateContextReply represents the data returned from a GetPropertyCreateContext request.
func GetPropertyCreateContext ¶
func GetPropertyCreateContext(c *xgb.XConn) (GetPropertyCreateContextReply, error)
GetPropertyCreateContext sends a checked request.
func (*GetPropertyCreateContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetPropertyCreateContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetPropertyCreateContextReply value.
type GetPropertyDataContextReply ¶
type GetPropertyDataContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetPropertyDataContextReply represents the data returned from a GetPropertyDataContext request.
func GetPropertyDataContext ¶
func GetPropertyDataContext(c *xgb.XConn, Window xproto.Window, Property xproto.Atom) (GetPropertyDataContextReply, error)
GetPropertyDataContext sends a checked request.
func (*GetPropertyDataContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetPropertyDataContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetPropertyDataContextReply value.
type GetPropertyUseContextReply ¶
type GetPropertyUseContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetPropertyUseContextReply represents the data returned from a GetPropertyUseContext request.
func GetPropertyUseContext ¶
func GetPropertyUseContext(c *xgb.XConn) (GetPropertyUseContextReply, error)
GetPropertyUseContext sends a checked request.
func (*GetPropertyUseContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetPropertyUseContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetPropertyUseContextReply value.
type GetSelectionContextReply ¶
type GetSelectionContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetSelectionContextReply represents the data returned from a GetSelectionContext request.
func GetSelectionContext ¶
func GetSelectionContext(c *xgb.XConn, Selection xproto.Atom) (GetSelectionContextReply, error)
GetSelectionContext sends a checked request.
func (*GetSelectionContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetSelectionContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetSelectionContextReply value.
type GetSelectionCreateContextReply ¶
type GetSelectionCreateContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetSelectionCreateContextReply represents the data returned from a GetSelectionCreateContext request.
func GetSelectionCreateContext ¶
func GetSelectionCreateContext(c *xgb.XConn) (GetSelectionCreateContextReply, error)
GetSelectionCreateContext sends a checked request.
func (*GetSelectionCreateContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetSelectionCreateContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetSelectionCreateContextReply value.
type GetSelectionDataContextReply ¶
type GetSelectionDataContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetSelectionDataContextReply represents the data returned from a GetSelectionDataContext request.
func GetSelectionDataContext ¶
func GetSelectionDataContext(c *xgb.XConn, Selection xproto.Atom) (GetSelectionDataContextReply, error)
GetSelectionDataContext sends a checked request.
func (*GetSelectionDataContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetSelectionDataContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetSelectionDataContextReply value.
type GetSelectionUseContextReply ¶
type GetSelectionUseContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetSelectionUseContextReply represents the data returned from a GetSelectionUseContext request.
func GetSelectionUseContext ¶
func GetSelectionUseContext(c *xgb.XConn) (GetSelectionUseContextReply, error)
GetSelectionUseContext sends a checked request.
func (*GetSelectionUseContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetSelectionUseContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetSelectionUseContextReply value.
type GetWindowContextReply ¶
type GetWindowContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetWindowContextReply represents the data returned from a GetWindowContext request.
func GetWindowContext ¶
func GetWindowContext(c *xgb.XConn, Window xproto.Window) (GetWindowContextReply, error)
GetWindowContext sends a checked request.
func (*GetWindowContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetWindowContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetWindowContextReply value.
type GetWindowCreateContextReply ¶
type GetWindowCreateContextReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ContextLen uint32 // padding: 20 bytes Context string // size: internal.Pad4((int(ContextLen) * 1)) }
GetWindowCreateContextReply represents the data returned from a GetWindowCreateContext request.
func GetWindowCreateContext ¶
func GetWindowCreateContext(c *xgb.XConn) (GetWindowCreateContextReply, error)
GetWindowCreateContext sends a checked request.
func (*GetWindowCreateContextReply) Unmarshal ¶ added in v1.1.0
func (v *GetWindowCreateContextReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetWindowCreateContextReply value.
type ListItem ¶
type ListPropertiesReply ¶
type ListPropertiesReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes PropertiesLen uint32 // padding: 20 bytes Properties []ListItem // size: ListItemListSize(Properties) }
ListPropertiesReply represents the data returned from a ListProperties request.
func ListProperties ¶
func ListProperties(c *xgb.XConn, Window xproto.Window) (ListPropertiesReply, error)
ListProperties sends a checked request.
func (*ListPropertiesReply) Unmarshal ¶ added in v1.1.0
func (v *ListPropertiesReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a ListPropertiesReply value.
type ListSelectionsReply ¶
type ListSelectionsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes SelectionsLen uint32 // padding: 20 bytes Selections []ListItem // size: ListItemListSize(Selections) }
ListSelectionsReply represents the data returned from a ListSelections request.
func ListSelections ¶
func ListSelections(c *xgb.XConn) (ListSelectionsReply, error)
ListSelections sends a checked request.
func (*ListSelectionsReply) Unmarshal ¶ added in v1.1.0
func (v *ListSelectionsReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a ListSelectionsReply value.
type QueryVersionReply ¶
type QueryVersionReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ServerMajor uint16 ServerMinor uint16 }
QueryVersionReply represents the data returned from a QueryVersion request.
func QueryVersion ¶
func QueryVersion(c *xgb.XConn, ClientMajor byte, ClientMinor byte) (QueryVersionReply, error)
QueryVersion sends a checked request.
func (*QueryVersionReply) Unmarshal ¶ added in v1.1.0
func (v *QueryVersionReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a QueryVersionReply value.