libstrophe is a lightweight XMPP client library written in C. It has minimal dependencies and is configurable for various environments. It runs well on Linux, Unix and Windows based platforms.
Its goals are:
- usable quickly
- well documented
If you are building from a source control checkout, run:
to generate the
From the top-level directory, run the following commands:
The public API is defined in
strophe.h which is in the
examples directory contains some examples of how to
use the library; these may be helpful in addition to the
To install on your system, as root (or using sudo):
Note, the default install path is
/usr/local/, to specify
another path use the
--prefix option during configure, e.g.:
build-android.sh and follow the instructions. You will
need expat sources and android-ndk.
- expat or libxml2 - expat is the default; use --with-libxml2 to switch
- openssl on UNIX systems
To build libstrophe using autotools you will need autoconf, automake, libtool and pkg-config.
libstrophe package has been added to popular Linux distributions, BSD systems and OSX package managers.
API documentation is inline with the code and conforms to Doxygen standards. You can generate an HTML version of the API documentation by running: