A simple, lightweight C library for writing XMPP clients http://strophe.im/libstrophe
Dmitry Podgorny c40b4c12c1 parser/expat: don't cast name to char* 2 months ago
docs Most public API points are now documented. 11 years ago
examples examples: use xmpp_iq_new() 1 year ago
jni Android: added make files 2 years ago
rpm rpm: update dependencies 1 year ago
src parser/expat: don't cast name to char* 2 months ago
tests memory leak in hash values fixed 5 months ago
.gitignore examples: add vcard example 1 year ago
.travis.yml travis-ci: add -Werror flag 6 months ago
AUTHORS Files needed by autoreconf and co. 5 years ago
COPYING COPYING not needed line 5 years ago
ChangeLog ChangeLog: add missed changes 1 year ago
Doxyfile Update Doxyfile 2 years ago
GPL-LICENSE.txt Dual licensed libstrophe under MIT and GPLv3. 10 years ago
LICENSE.txt Dual licensed libstrophe under MIT and GPLv3. 10 years ago
MIT-LICENSE.txt Dual licensed libstrophe under MIT and GPLv3. 10 years ago
Makefile.am autotools: remove AM_CFLAGS 6 months ago
NEWS Files needed by autoreconf and co. 5 years ago
README README needed by autoconf 5 years ago
README.markdown README: remove mention of the check dependency 2 years ago
TODO Files needed by autoreconf and co. 5 years ago
bootstrap.sh autotools: fixed build with old versions of automake 4 years ago
build-android.sh Add warning about disabled TLS in build-android.sh 2 years ago
configure.ac Release libstrophe-0.9.2 1 year ago
libstrophe.pc.in Refactored configure.ac, added pkg-config support 4 years ago
strophe.h stanza: small fixes in xmpp_error_new() 1 year ago
strophepp.h Fix spacing in c++ files 2 years ago

README.markdown

libstrophe Build Status

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
  • reliable

Build Instructions

If you are building from a source control checkout, run:

./bootstrap.sh

to generate the configure script.

From the top-level directory, run the following commands:

./configure
make

The public API is defined in strophe.h which is in the top-level directory.

The examples directory contains some examples of how to use the library; these may be helpful in addition to the API documentation

To install on your system, as root (or using sudo):

make install

Note, the default install path is /usr/local/, to specify another path use the --prefix option during configure, e.g.:

./configure --prefix=/usr

Android

Run script build-android.sh and follow the instructions. You will need expat sources and android-ndk.

Requirements

libstrophe requires:

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

Installation

libstrophe package has been added to popular Linux distributions, BSD systems and OSX package managers.

Documentation

API documentation is inline with the code and conforms to Doxygen standards. You can generate an HTML version of the API documentation by running:

doxygen

Then open docs/html/index.html.