Dmitry Podgorny e4a4bdd3a3 Implemented public SHA1 interface
A number of XEPs require SHA1. Publishing its interface helps user to
reduce number of dependencies.
2016-04-29 22:51:23 +00:00
2016-04-29 22:51:23 +00:00
2014-04-25 19:22:45 +02:00
2016-04-28 22:37:27 +00:00
2014-05-09 17:04:10 +02:00
2012-02-07 23:32:18 -07:00
2016-04-29 22:51:23 +00:00
2014-04-25 19:22:45 +02:00
2014-04-26 12:03:14 +02:00
2016-04-29 22:51:23 +00:00
2014-10-23 08:44:52 +02:00
2014-04-25 19:22:45 +02:00

libstrophe
==========

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

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
and libtool.

In addition, if you wish to run the unit tests, you will need the
check package.

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`.
Description
Languages
C 95.1%
M4 2.9%
Makefile 1.7%
Shell 0.3%