Constructor

PurpleRoomlistnew

Declaration [src]

PurpleRoomlist*
purple_roomlist_new (
  PurpleAccount* account
)

Description [src]

Returns a newly created room list object.

Parameters

account

Type: PurpleAccount

The account that’s listing rooms.

The data is owned by the caller of the function.

Return value

Type: PurpleRoomlist

The new room list handle.

The caller of the function takes ownership of the data, and is responsible for freeing it.