Constructor

PurpleRoomlistnew

Declaration [src]

PurpleRoomlist*
purple_roomlist_new (
  PurpleAccount* account
)

Description [src]

Returns a newly created room list object.

Parameters

account PurpleAccount
 

The account that’s listing rooms.

 The data is owned by the caller of the function.

Return value

Returns: PurpleRoomlist
 

The new room list handle.

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