PDC List Configs indication

PDC List Configs indication — Methods to manage the PDC List Configs indication.

Functions

Types and Values

Object Hierarchy

    GBoxed
    ├── QmiIndicationPdcListConfigsOutput
    ╰── QmiIndicationPdcListConfigsOutputConfigsElement

Description

Collection of methods to parse indications of the PDC List Configs message.

Functions

qmi_indication_pdc_list_configs_output_ref ()

QmiIndicationPdcListConfigsOutput *
qmi_indication_pdc_list_configs_output_ref
                               (QmiIndicationPdcListConfigsOutput *self);

Atomically increments the reference count of self by one.

Parameters

Returns

the new reference to self .

Since: 1.18


qmi_indication_pdc_list_configs_output_unref ()

void
qmi_indication_pdc_list_configs_output_unref
                               (QmiIndicationPdcListConfigsOutput *self);

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

Parameters

Since: 1.18


qmi_indication_pdc_list_configs_output_get_configs ()

gboolean
qmi_indication_pdc_list_configs_output_get_configs
                               (QmiIndicationPdcListConfigsOutput *self,
                                GArray **value_configs,
                                GError **error);

Get the 'Configs' field from self .

[skip]

Parameters

self

a QmiIndicationPdcListConfigsOutput.

 

value_configs

a placeholder for the output GArray of QmiIndicationPdcListConfigsOutputConfigsElement elements, or NULL if not required. Do not free it, it is owned by self .

[out][optional][element-type QmiIndicationPdcListConfigsOutputConfigsElement][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.18


qmi_indication_pdc_list_configs_output_get_configs_gir ()

gboolean
qmi_indication_pdc_list_configs_output_get_configs_gir
                               (QmiIndicationPdcListConfigsOutput *self,
                                GPtrArray **value_configs_ptr,
                                GError **error);

Get the 'Configs' field from self .

Version of qmi_indication_pdc_list_configs_output_get_configs() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

[rename-to qmi_indication_pdc_list_configs_output_get_configs]

Parameters

self

a QmiIndicationPdcListConfigsOutput.

 

value_configs_ptr

a placeholder for the output array of QmiIndicationPdcListConfigsOutputConfigsElement elements, or NULL if not required. Do not free or modify it, it is owned by self .

[out][optional][element-type QmiIndicationPdcListConfigsOutputConfigsElement][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.32


qmi_indication_pdc_list_configs_output_get_indication_result ()

gboolean
qmi_indication_pdc_list_configs_output_get_indication_result
                               (QmiIndicationPdcListConfigsOutput *self,
                                guint16 *value_indication_result,
                                GError **error);

Get the 'Indication Result' field from self .

Parameters

self

a QmiIndicationPdcListConfigsOutput.

 

value_indication_result

a placeholder for the output guint16, or NULL if not required.

[out][optional]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.18


qmi_indication_pdc_list_configs_output_get_token ()

gboolean
qmi_indication_pdc_list_configs_output_get_token
                               (QmiIndicationPdcListConfigsOutput *self,
                                guint32 *value_token,
                                GError **error);

Get the 'Token' field from self .

Parameters

self

a QmiIndicationPdcListConfigsOutput.

 

value_token

a placeholder for the output guint32, or NULL if not required.

[out][optional]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.18


qmi_indication_pdc_list_configs_indication_parse ()

QmiIndicationPdcListConfigsOutput *
qmi_indication_pdc_list_configs_indication_parse
                               (QmiMessage *message,
                                GError **error);

Parses a QmiMessage and builds a QmiIndicationPdcListConfigsOutput out of it. The operation fails if the message is of the wrong type.

Parameters

message

a QmiMessage.

 

error

return location for error or NULL.

 

Returns

a QmiIndicationPdcListConfigsOutput, or NULL if error is set. The returned value should be freed with qmi_indication_pdc_list_configs_output_unref().

Since: 1.34

Types and Values

QmiIndicationPdcListConfigsOutput

typedef struct _QmiIndicationPdcListConfigsOutput QmiIndicationPdcListConfigsOutput;

The QmiIndicationPdcListConfigsOutput structure contains private data and should only be accessed using the provided API.

Since: 1.18


QmiIndicationPdcListConfigsOutputConfigsElement

typedef struct {
    QmiPdcConfigurationType config_type;
    GArray *id;
} QmiIndicationPdcListConfigsOutputConfigsElement;

A QmiIndicationPdcListConfigsOutputConfigsElement struct.

Members

QmiPdcConfigurationType config_type;

a QmiPdcConfigurationType.

 

GArray *id;

a GArray of guint8 elements.

 

Since: 1.18