Function
PurpleBuddyicons_set_for_user
Declaration [src]
void
purple_buddy_icons_set_for_user (
PurpleAccount* account,
const char* username,
void* icon_data,
size_t icon_len,
const char* checksum
)
Parameters
account
-
Type:
PurpleAccount
The account the user is on.
The data is owned by the caller of the function. username
-
Type:
const char*
The username of the user.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. icon_data
-
Type:
void*
The buddy icon data.
The argument can be NULL
.The called function takes ownership of the data, and is responsible for freeing it. icon_len
-
Type:
size_t
The length of the icon data.
checksum
-
Type:
const char*
A protocol checksum from the protocol or
NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.