Namespace

Xeme – 1.0

Xeme High Level XMPP Parsing Library

Version0.1.0
AuthorsXeme Developers
LicenseLGPL-2.1-or-later
Websitehttps://keep.imfreedom.org/xeme/xeme/
Sourcehttps://keep.imfreedom.org/xeme/xeme/

Build

C headersxeme.h
pkg-config filesxeme

Dependencies

GLib—2.0 General-purpose, portable utility library.
Browse documentation
GObject—2.0 The base type system library.
Browse documentation
Gio—2.0 Stream based io library.
Browse documentation

Additional documentation

Classes

Connection

A client to server connection.

since: 0.1

Extension

The base class for extension elements.

since: 0.1

ExtensionMap

A collection for keeping track of and handling extension elements.

since: 0.1

InputStream

An object that handles the incoming stream from a remote connection.

since: 0.1

Message

An XMPP Message stanza.

since: 0.1

OutputStream

An XMPP output stream. This is used to send stanzas to the other end of the connection.

since: 0.1

Stanza

The base class for XMPP stanzas including Message, IQ, and Presence.

since: 0.1

Stream

A base class for all streams.

since: 0.1

Enumerations

TlsMode

An enumeration representing which mode of TLS to use.

since: 0.1

Functions

address_parse

Splits address according to the rules of RFC 6122 and returns the results into the optional local, domain, and resource.

since: 0.1

check_version

Checks that the xeme version is compatible with the requested version.

since: 0.1

Function Macros

CHECK_VERSION

Checks the version of xeme being compiled against. See xeme_check_version() for a runtime check.

since: 0.1

Constants

PORT_CLEAR

A constant representing the default clear text port.

PORT_TLS

A constant representing the default TLS port.

SERVICE_XMPP_CLIENT

A constant representing the xmpp-client service DNS record for clear text connections.

SERVICE_XMPPS_CLIENT

A constant representing the xmpps-client service DNS record for TLS connections.

STREAM_PI

A constant for the XML processing instruction with a UTF-8 encoding.

STREAM_VERSION

The version of the XMPP stream protocol.

STREAM_XMLNS

The XML namespace that is used as the default namespace for the stream.

STREAM_XMLNS_STREAM

The XML namespace that is used for the streams namespace.

VERSION_MIN_REQUIRED

A macro that should be defined by the user prior to including the xeme.h header.