up-qos-item

up-qos-item — Helper object representing one item of QOS data.

Functions

Description

This object represents one item of data which may be returned from the daemon in response to a query.

See also: UpDevice, UpClient

Functions

up_qos_item_get_cmdline ()

const gchar *
up_qos_item_get_cmdline (UpQosItem *qos_item);

Gets the item cmdline.

Parameters

qos_item

UpQosItem

 

Returns

the value

Since 0.9.0


up_qos_item_get_cookie ()

guint
up_qos_item_get_cookie (UpQosItem *qos_item);

Gets the item cookie.

Parameters

qos_item

UpQosItem

 

Returns

the value

Since 0.9.0


up_qos_item_get_kind ()

UpQosKind
up_qos_item_get_kind (UpQosItem *qos_item);

Gets the item type.

Parameters

qos_item

UpQosItem

 

Returns

the value

Since 0.9.0


up_qos_item_get_persistent ()

gboolean
up_qos_item_get_persistent (UpQosItem *qos_item);

Gets the item persistent.

Parameters

qos_item

UpQosItem

 

Returns

the value

Since 0.9.0


up_qos_item_get_pid ()

guint
up_qos_item_get_pid (UpQosItem *qos_item);

Gets the item pid.

Parameters

qos_item

UpQosItem

 

Returns

the value

Since 0.9.0


up_qos_item_get_sender ()

const gchar *
up_qos_item_get_sender (UpQosItem *qos_item);

Gets the item sender.

Parameters

qos_item

UpQosItem

 

Returns

the value

Since 0.9.0


up_qos_item_get_timespec ()

guint64
up_qos_item_get_timespec (UpQosItem *qos_item);

Gets the item timespec.

Parameters

qos_item

UpQosItem

 

Returns

the value

Since 0.9.0


up_qos_item_get_uid ()

guint
up_qos_item_get_uid (UpQosItem *qos_item);

Gets the item uid.

Parameters

qos_item

UpQosItem

 

Returns

the value

Since 0.9.0


up_qos_item_get_value ()

gint
up_qos_item_get_value (UpQosItem *qos_item);

Gets the item value.

Parameters

qos_item

UpQosItem

 

Returns

the value

Since 0.9.0


up_qos_item_new ()

UpQosItem *
up_qos_item_new (void);

Returns

a new UpQosItem object.

Since 0.9.0


up_qos_item_set_cmdline ()

void
up_qos_item_set_cmdline (UpQosItem *qos_item,
                         const gchar *cmdline);

Sets the item cmdline.

Parameters

qos_item

UpQosItem

 

cmdline

the new value

 

Since 0.9.0


up_qos_item_set_cookie ()

void
up_qos_item_set_cookie (UpQosItem *qos_item,
                        guint cookie);

Sets the item cookie.

Parameters

qos_item

UpQosItem

 

cookie

the new value

 

Since 0.9.0


up_qos_item_set_kind ()

void
up_qos_item_set_kind (UpQosItem *qos_item,
                      UpQosKind type);

Sets the item type.

Parameters

qos_item

UpQosItem

 

type

the new value

 

Since 0.9.0


up_qos_item_set_persistent ()

void
up_qos_item_set_persistent (UpQosItem *qos_item,
                            gboolean persistent);

Sets the item persistent.

Parameters

qos_item

UpQosItem

 

persistent

the new value

 

Since 0.9.0


up_qos_item_set_pid ()

void
up_qos_item_set_pid (UpQosItem *qos_item,
                     guint pid);

Sets the item pid.

Parameters

qos_item

UpQosItem

 

pid

the new value

 

Since 0.9.0


up_qos_item_set_sender ()

void
up_qos_item_set_sender (UpQosItem *qos_item,
                        const gchar *sender);

Sets the item sender.

Parameters

qos_item

UpQosItem

 

sender

the new value

 

Since 0.9.0


up_qos_item_set_timespec ()

void
up_qos_item_set_timespec (UpQosItem *qos_item,
                          guint64 timespec);

Sets the item timespec.

Parameters

qos_item

UpQosItem

 

timespec

the new value

 

Since 0.9.0


up_qos_item_set_uid ()

void
up_qos_item_set_uid (UpQosItem *qos_item,
                     guint uid);

Sets the item uid.

Parameters

qos_item

UpQosItem

 

uid

the new value

 

Since 0.9.0


up_qos_item_set_value ()

void
up_qos_item_set_value (UpQosItem *qos_item,
                       gint value);

Sets the item value.

Parameters

qos_item

UpQosItem

 

value

the new value

 

Since 0.9.0

Types and Values