Method

MsgDriveServiceupdate_finish

Declaration [src]

MsgDriveItem*
msg_drive_service_update_finish (
  MsgDriveService* self,
  MsgDriveItem* item,
  GOutputStream* stream,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Finish a update session of given #item.

Parameters

item MsgDriveItem
 

A MsgDriveItem.

 The data is owned by the caller of the function.
stream GOutputStream
 

Stream where data is store and needs to be transfered.

 The data is owned by the caller of the function.
cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: MsgDriveItem
 

A new MsgDriveItem or NULL on error.

 The caller of the method takes ownership of the data, and is responsible for freeing it.