Constructor

ChattyPpAccountnew

Declaration [src]

ChattyPpAccount*
chatty_pp_account_new (
  ChattyProtocol protocol,
  const char* username,
  const char* server_url,
  gboolean has_encryption
)

Description

No description available.

This constructor is not directly available to language bindings.

Parameters

protocol

Type: ChattyProtocol

No description available.

username

Type: const char*

No description available.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
server_url

Type: const char*

No description available.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
has_encryption

Type: gboolean

No description available.

Return value

Type: ChattyPpAccount

No description available.

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