Contains basic functionality, that is needed to form the server and its components.
More...Files | |
| file | base64.cc |
Functions to handle Base64 encoding and decoding. | |
| file | crc32.cc |
Implementation of CRC32 using precomputed remainders. | |
| file | expat.cc |
reading/writing xmlnodes from/to files, reading xmlnodes from strings | |
| file | hash.cc |
hashing algorithms | |
| file | hmac.cc |
This file implements HMAC-SHA1. | |
| file | jabberdlib.h [code] |
| file | jabberid.cc |
representation, normalization and comparison of JabberIDs (addresses in XMPP) | |
| file | jid.cc |
compatibility functions for old JID handling | |
| file | jpacket.cc |
a jpacket is a wrapper around an xmlnode that contains an XMPP stanza | |
| file | jutil.cc |
various utilities mainly for handling xmlnodes containing stanzas | |
| file | karma.cc |
implements bandwidth limits | |
| file | lwresc.cc |
accessing a lwresd | |
| file | messages.cc |
support for internationalized messages | |
| file | pool.cc |
Handling of memory pools. | |
| file | rate.cc |
calculate rate limits | |
| file | socket.cc |
some misc functions to handle sockets | |
| file | str.cc |
utilities for string handling | |
| file | xhash.cc |
implements a hashmap using STL containers | |
| file | xmlnode.cc |
handling of XML documents in a DOM like way | |
| file | xstream.cc |
handling of incoming XML stream based events | |
Contains basic functionality, that is needed to form the server and its components.
In this directory there is the basic functionality on which the jabber server is build.
Maybe the most basic file in here is pool.cc which contains the memory management of jabberd14. Memory in jabberd14 is managed in this pools, which means, that all memory allocated on a pool gets freed together when this pool is freed. This allows, that we do not need that many single memory freeings, and therefore the risk that freeing memory is forgotten gets reduced.
Another basic module is in jid.cc which contains the functionality to manage XMPP addresses (JIDs). It can be used to modify and compare JIDs as well as to get them normalized.
The third most basic module is in xmlnode.cc which contains a DOM-like interface to XML trees. Based on this XML interface jabberd14 builds the jpacket_struct which combines an XML document (a stanza) with fields of relevant information about this stanza (stanza type, sender and receipient, ...) jpackets are implemented in jpacket.cc.
1.6.3