gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Structs.TCQdisc

Description

No description available in the introspection data.

Synopsis

Exported types

newtype TCQdisc Source #

Memory-managed wrapper type.

Constructors

TCQdisc (ManagedPtr TCQdisc) 

Instances

Instances details
Eq TCQdisc Source # 
Instance details

Defined in GI.NM.Structs.TCQdisc

Methods

(==) :: TCQdisc -> TCQdisc -> Bool #

(/=) :: TCQdisc -> TCQdisc -> Bool #

GBoxed TCQdisc Source # 
Instance details

Defined in GI.NM.Structs.TCQdisc

ManagedPtrNewtype TCQdisc Source # 
Instance details

Defined in GI.NM.Structs.TCQdisc

TypedObject TCQdisc Source # 
Instance details

Defined in GI.NM.Structs.TCQdisc

Methods

glibType :: IO GType #

HasParentTypes TCQdisc Source # 
Instance details

Defined in GI.NM.Structs.TCQdisc

IsGValue (Maybe TCQdisc) Source #

Convert TCQdisc to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.NM.Structs.TCQdisc

type ParentTypes TCQdisc Source # 
Instance details

Defined in GI.NM.Structs.TCQdisc

type ParentTypes TCQdisc = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

dup, equal, ref, unref.

Getters

getAttribute, getAttributeNames, getHandle, getKind, getParent.

Setters

setAttribute, setHandle.

dup

tCQdiscDup Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCQdisc

qdisc: the TCQdisc

-> m TCQdisc

Returns: a copy of qdisc

Creates a copy of qdisc

Since: 1.12

equal

tCQdiscEqual Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCQdisc

qdisc: the TCQdisc

-> TCQdisc

other: the TCQdisc to compare qdisc to.

-> m Bool

Returns: True if the objects contain the same values, False if they do not.

Determines if two TCQdisc objects contain the same kind, * handle and parent.

Since: 1.12

getAttribute

tCQdiscGetAttribute Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCQdisc

qdisc: the TCQdisc

-> Text

name: the name of an qdisc attribute

-> m GVariant

Returns: the value of the attribute with name name on qdisc, or Nothing if qdisc has no such attribute.

Gets the value of the attribute with name name on qdisc

Since: 1.18

getAttributeNames

tCQdiscGetAttributeNames Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCQdisc

qdisc: the TCQdisc

-> m [Text]

Returns: a Nothing-terminated array of attribute names or Nothing if no attributes are set.

Gets an array of attribute names defined on qdisc.

Since: 1.18

getHandle

tCQdiscGetHandle Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCQdisc

qdisc: the TCQdisc

-> m Word32

Returns: the queueing discipline handle

No description available in the introspection data.

Since: 1.12

getKind

tCQdiscGetKind Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCQdisc

qdisc: the TCQdisc

-> m Text 

No description available in the introspection data.

Since: 1.12

getParent

tCQdiscGetParent Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCQdisc

qdisc: the TCQdisc

-> m Word32

Returns: the parent class

No description available in the introspection data.

Since: 1.12

new

tCQdiscNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

kind: name of the queueing discipline

-> Word32

parent: the parent queueing discipline

-> m TCQdisc

Returns: the new TCQdisc object, or Nothing on error (Can throw GError)

Creates a new TCQdisc object.

Since: 1.12

ref

tCQdiscRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCQdisc

qdisc: the TCQdisc

-> m () 

Increases the reference count of the object.

Since: 1.12

setAttribute

tCQdiscSetAttribute Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCQdisc

qdisc: the TCQdisc

-> Text

name: the name of an qdisc attribute

-> Maybe GVariant

value: the value

-> m () 

Sets or clears the named attribute on qdisc to the given value.

Since: 1.18

setHandle

tCQdiscSetHandle Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCQdisc

qdisc: the TCQdisc

-> Word32

handle: the queueing discipline handle

-> m () 

Sets the queueing discipline handle.

Since: 1.12

unref

tCQdiscUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCQdisc

qdisc: the TCQdisc

-> m () 

Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.

Since: 1.12