Constructor

XemeConnectionnew

since: 0.1

Declaration [src]

XemeConnection*
xeme_connection_new (
  const char* jid
)

Description [src]

Creates a new connection.

If jid includes a resource, it will be parsed out and stored in XemeConnection:resource.

Available since: 0.1

Parameters

jid

Type: const char*

The JID of the originator of this connection.

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

Return value

Type: XemeConnection

The new instance.

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