Method

PurpleConnectionerror

since: 2.0

Declaration [src]

void
purple_connection_error (
  PurpleConnection* gc,
  PurpleConnectionError reason,
  const char* description
)

Description [src]

Closes a connection with an error and a human-readable description of the error.

Available since: 2.0

Parameters

reason

Type: PurpleConnectionError

Why the connection is closing.

description

Type: const char*

A localized description of the error (not NULL ).

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