| Top |
| DfuImage * | dfu_image_new () |
| GPtrArray * | dfu_image_get_elements () |
| DfuElement * | dfu_image_get_element () |
| DfuElement * | dfu_image_get_element_default () |
| guint8 | dfu_image_get_alt_setting () |
| const gchar * | dfu_image_get_name () |
| guint32 | dfu_image_get_size () |
| void | dfu_image_add_element () |
| void | dfu_image_set_alt_setting () |
| void | dfu_image_set_name () |
| gchar * | dfu_image_to_string () |
A DfuImage is typically made up of several DfuElements, although typically there will only be one.
See also: DfuElement
GPtrArray *
dfu_image_get_elements (DfuImage *image);
Gets the element data.
Since: 0.5.4
DfuElement * dfu_image_get_element (DfuImage *image,guint8 idx);
Gets the element.
Since: 0.5.4
DfuElement *
dfu_image_get_element_default (DfuImage *image);
Gets the default element.
Since: 0.7.1
guint8
dfu_image_get_alt_setting (DfuImage *image);
Gets the alternate setting.
Since: 0.5.4
const gchar *
dfu_image_get_name (DfuImage *image);
Gets the target name.
Since: 0.5.4
guint32
dfu_image_get_size (DfuImage *image);
Gets the size of all the elements in the image.
This only returns actual data that would be sent to the device and does not include any padding.
Since: 0.5.4
void dfu_image_add_element (DfuImage *image,DfuElement *element);
Adds an element to the image.
Since: 0.5.4
void dfu_image_set_alt_setting (DfuImage *image,guint8 alt_setting);
Sets the vendor ID.
Since: 0.5.4
void dfu_image_set_name (DfuImage *image,const gchar *name);
Sets the target name.
Since: 0.5.4