list_sync


Description:

[ Version ( since = "1.0" ) ]
public bool list_sync (out FirmwareProperties selected, out List<FirmwareProperties> installed, Cancellable? cancellable = null) throws Error

Synchronously gets the list of available firmware images.

The calling thread is blocked until a reply is received. See list for the asynchronous version of this method.

Parameters:

this

A ModemFirmware.

selected

The selected firmware slot, or NULL if no slot is selected (such as if all slots are empty, or no slots exist). The returned value should be freed with unref.

installed

A list of FirmwareProperties objects specifying the installed images. The returned value should be freed with g_list_free_full using unref as DestroyNotify.

cancellable

A Cancellable or null.

Returns:

true if the list was correctly retrieved, false if error is set.




2022 vala-language.org