Method

PurpleAttachmentget_filename

unstable since: 3.0

Declaration [src]

char*
purple_attachment_get_filename (
  PurpleAttachment* attachment
)

Description [src]

Gets the base filename for attachment. Remote URI will be checked before local URI, but the basename of one of those is what will be returned.

Available since: 3.0

Return value

Type: char*

The filename for attachment.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.