Method
MsgDriveServicedownload_url
Declaration [src]
GInputStream*
msg_drive_service_download_url (
MsgDriveService* self,
const char* url,
GCancellable* cancellable,
GError** error
)
Parameters
url |
const char* |
Url to download. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
cancellable |
GCancellable |
A |
|
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: | GInputStream |
A new |
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. |