Method

PurpleBuddyget_alias

since: 2.0

Declaration [src]

const char*
purple_buddy_get_alias (
  PurpleBuddy* buddy
)

Description [src]

Returns the correct name to display for a buddy. In order of precedence: the buddy’s local alias; the buddy’s server alias; the buddy’s contact alias; the buddy’s user name.

Available since: 2.0

Return value

Type: const char*

The appropriate name or alias, or NULL.

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