Function

Purpleuri_list_extract_filenames

Declaration [src]

GList*
purple_uri_list_extract_filenames (
  const gchar* uri_list
)

Description [src]

This function extracts a list of filenames from a “text/uri-list” string. It was “borrowed” from gnome_uri_list_extract_filenames.

Parameters

uri_list const gchar*
 

A uri-list in the standard format.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: A list of utf8
 

A list of strings that contain the filenames in the uri-list. Note that unlike the purple_uri_list_extract_uris() function, this will discard any non-file uri from the result value.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 Each element is a NUL terminated UTF-8 string.