Method

PurpleConnectionerror

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.

Parameters

reason PurpleConnectionError
 

Why the connection is closing.

description 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.