Please fill in after the :: to explain the function of this file.
@@ -52,6 +52,13 @@
* 2009-05-04 switched IF_T to rval_expr (andrei)
* 2009-09-15 added SET_{FWD,RPL}_NO_CONNECT, SET_{FWD,RPL}_CLOSE (andrei)
*/
+/*!
+ * \file
+ * \brief SIP-router core ::
+ * \ingroup core
+ * Module: \ref core
+ */
+
#include "comp_defs.h"
@@ -24,6 +24,13 @@
* 2006-03-08 created by andrei
* 2007-05-11 added lock_set support (andrei)
#include "atomic_ops_init.h"
#include "atomic_ops.h"
@@ -26,6 +26,13 @@
* --------
* 2008-06-11 created by andrei
#include "basex.h"
@@ -23,6 +23,13 @@
* 2007-06-23 created by andrei
#include "bit_scan.h"
@@ -29,6 +29,13 @@
* 2007-12-03 Initial version (Miklos)
* 2008-01-31 added DNS resolver parameters (Miklos)
#include "dprint.h"
#ifdef USE_DST_BLACKLIST
@@ -21,6 +21,13 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/** Example 1: Options without values
*
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <time.h>
#include <sys/types.h>
#include <stdio.h>
@@ -35,6 +35,13 @@
* 2007-06-07 added mlock_pages (no swap) support (andrei)
* added set_rt_prio() (andrei)
@@ -34,6 +34,13 @@
* 2003-10-28 added extra checks (paranoia) for {anchor,del}_lump (andrei)
* 2005-03-24 the type of type attribute changed to enum _hdr_types_t (janakj)
#include "data_lump.h"
* returns a lump_rpl**, making a specific lump removal much
* more easy (andrei)
#include <string.h>
@@ -48,6 +48,13 @@
* 2009-03-30 EBL record support (andrei)
* 2009-04-01 PTR record support (andrei)
#ifdef USE_DNS_CACHE
@@ -27,6 +27,13 @@
#include "globals.h"
#include "config.h"
@@ -37,6 +37,13 @@
* 2009-02-26 added dst_blacklist_su* variant (andrei)
* 2008-06-13 created by andrei
#include "endianness.h"
int _endian_test_int=1 /* used for the runtime endian tests */;
@@ -30,6 +30,13 @@
* 2003-04-04 phrase length corrected not to include trailer 0 (jiri)
#include "error.h"
@@ -18,6 +18,13 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "mem/mem.h"
#include "events.h"
@@ -31,6 +31,13 @@
* 2006-02-02 named flags support (andrei)
#include <limits.h>
#include "sr_module.h"
@@ -56,6 +56,13 @@
* socket is multicast (andrei)
@@ -25,6 +25,13 @@
#ifndef _CRC_H_
#include "id.h"
#include "parser/parse_from.h"
#include "parser/parse_uri.h"
* 2005-07-04 added /dev/poll (andrei)
#ifndef NO_IO_WAIT
* 2004-10-01 mk_net fixes bad network addresses now (andrei)
#include <stdlib.h>
* 2006-02-03 created by andrei
#include "timer.h"
#include "timer_funcs.h"
@@ -24,6 +24,14 @@
* 2007-05-14 created by andrei
#include "ut.h"
#include "lock_ops.h"
* delete the lvalue (similar to perl) (andrei)
#include "lvalue.h"
#include "route.h"
@@ -80,6 +80,20 @@
* (e.g. -l (eth0, 1.2.3.4, foo.bar) ) (andrei)
+/*! \defgroup core SIP-router core
+ *
+ * This modules implements a SIP server with a module interface
+ * for extendability.
@@ -26,6 +26,13 @@ These notices must be retained in any copies of any part of this
documentation and/or software.
#include "md5global.h"
@@ -22,6 +22,13 @@ jku: added support to deal with vectors
#define MD 5
* 2008-11-25 initial version (andrei)
#include "mod_fix.h"
@@ -33,6 +33,13 @@
* 2005-07-01 PARAM_STRING & PARAM_STR support
#include "modparam.h"
@@ -117,6 +117,13 @@
*--andrei
#include <sys/socket.h>
#include <netdb.h>
* 2006-11-29 created by andrei
#include "nonsip_hooks.h"
@@ -36,6 +36,13 @@
* 2008-04-30 added MSG_WAITALL emulation for cygwin (andrei)
#ifdef USE_TCP
#include "pass_fd.h"
* 2003-03-19 replaced all mallocs/frees w/ pkg_malloc/pkg_free (andrei)
@@ -38,6 +38,13 @@
* 2007-07-04 added register_fds() and get_max_open_fds(() (andrei)
#include "pt.h"
#include "tcp_init.h"
@@ -22,6 +22,13 @@
* absolutely necessary (use/create a new module instead).
#include "pv_core.h"
#include "pvar.h"
#include "str.h"
@@ -22,9 +22,12 @@
/*!
* \file
- * \brief PV API specification
+ * \brief SIP-router core :: PV API specification
@@ -31,6 +31,14 @@
* 2004-04-25 created (janakj)
+ * \brief SIP-router core :: Handling of the q value
#include "qvalue.h"
* 2004-11-12 minor api extension, added *count (andrei)
+ * \brief SIP-router core :: regexp and regexp substitutions implementations
@@ -40,6 +40,13 @@
* 2006-11-29 nonsip_msg hooks called for non-sip msg (e.g HTTP) (andrei)
@@ -49,6 +49,13 @@
#include <netinet/in.h>
@@ -53,6 +53,13 @@
#include <regex.h>
* 2005-12-19 select framework added SELECT_O and SELECT_ST (mma)
#include "route_struct.h"
* 2009-05-11 initial version (andrei)
#include "rpc.h"
#include "str_hash.h"
@@ -46,6 +46,13 @@
expr == (type_of(expr))undef
#include "rvalue.h"
#include <stdlib.h> /* abort() */
* of route blocks. (Miklos)
#include "script_cb.h"
* 2009-05-26 runtime cfg support (andrei)
#ifdef USE_SCTP
* 2009-04-28 sctp stats & events macros (andrei)
@@ -32,6 +32,13 @@
* 2007-01-26 date, identity, identity_info support added (gergo)
#include "select.h"
#include "select_core.h"
* 2006-12-14 fixed calculation of body length (vlada)
#ifdef USE_STUN
#include <arpa/inet.h>
* 2005-10-05 split from main.c (andrei)
#include "signals.h"
* 2009-07-22 initial version: functions moved from tm/sip_msg.c (andrei)
#include "sip_msg_clone.h"
@@ -42,6 +42,13 @@
#include <errno.h>
#include <unistd.h>
@@ -15,10 +15,13 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-/**
- * @file
- * @brief ser/kamailio/openser compatibility macros & vars.
+ * \brief SIP-router core :: ser/kamailio/openser compatibility macros & vars.
/*
* History:
@@ -41,6 +41,12 @@
* 2008-11-26 added fparam_free_contents() and fix_param_types (andrei)
* 2003-03-19: added support for route type in find_export (janakj)
#ifdef STATS
#include "stats.h"
* 2009-02-19 string and RE switch support added (andrei)
#include "switch.h"
@@ -105,6 +105,13 @@
* send flags (andrei)
* 2009-03-05 use cfg framework (andrei)
#include "tcp_options.h"
@@ -44,6 +44,13 @@
* 2009-04-09 tcp ev and tcp stats macros added (andrei)
#include "timer_ticks.h"
* 2009-03-10 initial version (andrei)
#include "timer_proc.h"
#include "mem/shm_mem.h"
* 2006-02-03 tsend* will wait forever if timeout==-1 (andrei)
#include <sys/poll.h>
#include <assert.h>
#include <ctype.h>
#include <pwd.h>
#include <grp.h>