Giter VIP home page Giter VIP logo

libstrophe's Introduction

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 both 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

This will create a static library, also in the top-level directory, which can be linked into other programs. The public API is defined in strophe.h which is also 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
  • libresolv on UNIX systems - make sure you include -lresolv if you are compiling by hand.
  • libtool

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

OS X (with Homebrew package manager)

You can install libstrophe with:

brew install libstrophe

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.

libstrophe's People

Contributors

metajack avatar pasis avatar rillian avatar tdi avatar boothj5 avatar dustin avatar fabianfreyer avatar cwtitan avatar luiscuriel avatar melo avatar fpeterschmitt avatar mwild1 avatar kassak avatar flosse avatar ingenthr avatar shooding avatar h0ru5 avatar vladmihaisima avatar vitalyster avatar tpetazzoni avatar sharjeelaziz avatar madprogrammer avatar hoelzro avatar kmwhite avatar dlo avatar ghimli avatar cicku avatar arcriley avatar talisein avatar ittner avatar

Watchers

James Cloos avatar tuhuayuan avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.