Constructor

PurpleChannelJoinDetailsnew

unstable since: 3.0

Declaration [src]

PurpleChannelJoinDetails*
purple_channel_join_details_new (
  int name_max_length,
  gboolean nickname_supported,
  int nickname_max_length,
  gboolean password_supported,
  int password_max_length
)

Description [src]

Creates a new PurpleChannelJoinDetails.

Available since: 3.0

Parameters

name_max_length

Type: int

The maximum length for a channel name.

nickname_supported

Type: gboolean

Whether or not nicknames are supported.

nickname_max_length

Type: int

The maximum length for a nickname.

password_supported

Type: gboolean

Whether or not passwords are supported.

password_max_length

Type: int

The maximum length for a password.

Return value

Type: PurpleChannelJoinDetails

The new instance.

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