Function

Purpleescape_filename

since: 2.0

Declaration [src]

const char*
purple_escape_filename (
  const char* str
)

Description [src]

Escapes filesystem-unfriendly characters from a filename.

Available since: 2.0

Parameters

str

Type: const char*

The string to translate.

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

Return value

Type: const char*

The resulting string.

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