Browse code

Core Removed history, svn $id$ and doxygen udpates on the .c files

Olle E. Johansson authored on 03/01/2015 09:53:17
Showing 82 changed files
... ...
@@ -1,6 +1,5 @@
1 1
 
2 2
 /*
3
- * $Id$
4 3
  *
5 4
  * Copyright (C) 2001-2003 FhG Fokus
6 5
  *
... ...
@@ -25,34 +24,6 @@
25 25
  * along with this program; if not, write to the Free Software
26 26
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  *
28
- * History:
29
- * ---------
30
- *  2003-02-28  scratchpad compatibility abandoned (jiri)
31
- *  2003-01-29  removed scratchpad (jiri)
32
- *  2003-03-19  fixed set* len calculation bug & simplified a little the code
33
- *              (should be a little faster now) (andrei)
34
- *              replaced all mallocs/frees w/ pkg_malloc/pkg_free (andrei)
35
- *  2003-04-01  Added support for loose routing in forward (janakj)
36
- *  2003-04-12  FORCE_RPORT_T added (andrei)
37
- *  2003-04-22  strip_tail added (jiri)
38
- *  2003-10-02  added SET_ADV_ADDR_T & SET_ADV_PORT_T (andrei)
39
- *  2003-10-29  added FORCE_TCP_ALIAS_T (andrei)
40
- *  2004-11-30  added FORCE_SEND_SOCKET_T (andrei)
41
- *  2005-12-12  return & drop/exit differentiation (andrei)
42
- *  2005-12-19  select framework (mma)
43
- *  2006-04-12  updated *_send() calls to use a struct dest_info (andrei)
44
- *  2006-07-27  dns cache and dns based send address failover support (andrei)
45
- *  2006-12-06  on popular request last_retcode set also by module functions
46
- *              (andrei)
47
- *  2007-06-14  run_actions & do_action need a ctx or handle now, no more
48
- *               static vars (andrei)
49
- *  2008-11-18  support for variable parameter module functions (andrei)
50
- *  2008-12-03  use lvalues/rvalues for assignments (andrei)
51
- *  2008-12-17  added UDP_MTU_TRY_PROTO_T (andrei)
52
- *  2009-05-04  switched IF_T to rval_expr (andrei)
53
- *  2009-09-15  added SET_{FWD,RPL}_NO_CONNECT, SET_{FWD,RPL}_CLOSE (andrei)
54
- *  2010-06-01  special hack/support for fparam fixups so that they can handle
55
- *               variable RVEs (andrei)
56 28
  */
57 29
 
58 30
 /*!
... ...
@@ -1,6 +1,4 @@
1 1
 /* 
2
- * $Id$
3
- * 
4 2
  * Copyright (C) 2006 iptelorg GmbH
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -18,12 +16,7 @@
18 18
 /*
19 19
  *  atomic operations init
20 20
  */
21
-/* 
22
- * History:
23
- * --------
24
- *  2006-03-08  created by andrei
25
- *  2007-05-11  added lock_set support (andrei)
26
- */
21
+
27 22
 /*!
28 23
  * \file
29 24
  * \brief SIP-router core :: 
... ...
@@ -1,6 +1,4 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * convert/decode to/from ascii using various bases
5 3
  *
6 4
  * Copyright (C) 2008 iptelorg GmbH
... ...
@@ -16,15 +14,10 @@
16 16
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17 17
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18 18
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19
- */
20
-/*
19
+ *
21 20
  * Defines:
22 21
  *  BASE64_LOOKUP_TABLE - use small lookup tables for conversions (faster
23 22
  *                         in general)
24
- *
25
- * History:
26
- * --------
27
- *  2008-06-11  created by andrei
28 23
  */
29 24
 /*!
30 25
  * \file
... ...
@@ -1,6 +1,4 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2010 iptelorg GmbH
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -15,9 +13,12 @@
15 15
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  *
18
- * History
19
- * -------
20
- *  2010-04-26	Initial version (Miklos)
18
+ */
19
+/*!
20
+ * \file 
21
+ * \brief SIP-router core ::
22
+ * \ingroup core
23
+ * Module: \ref core
21 24
  */
22 25
 
23 26
 #include "bit_count.h"
... ...
@@ -1,6 +1,4 @@
1 1
 /* 
2
- * $Id$
3
- * 
4 2
  * Copyright (C) 2007 iptelorg GmbH
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -15,17 +13,10 @@
15 15
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  */
18
-/*
19
- *  bit scan operations, see bit_scan.h.
20
- */
21
-/* 
22
- * History:
23
- * --------
24
- *  2007-06-23  created by andrei
25
- */
18
+
26 19
 /*!
27 20
  * \file
28
- * \brief SIP-router core :: 
21
+ * \brief SIP-router core ::  bit scan operations, see bit_scan.h.
29 22
  * \ingroup core
30 23
  * Module: \ref core
31 24
  */
... ...
@@ -1,6 +1,4 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2007 iptelorg GmbH
5 3
  *
6 4
  * This file is part of SIP-router, a free SIP server.
... ...
@@ -19,11 +17,8 @@
19 19
  * along with this program; if not, write to the Free Software
20 20
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21 21
  *
22
- * History
23
- * -------
24
- *  2007-12-03	Initial version (Miklos)
25
- *  2008-01-31  added DNS resolver parameters (Miklos)
26 22
  */
23
+
27 24
 /** core runtime config.
28 25
  * @file cfg_core.c
29 26
  * @ingroup core
... ...
@@ -1,5 +1,4 @@
1 1
 /*
2
- * $Id$
3 2
  * Standalone Configuration File Parser
4 3
  *
5 4
  * Copyright (C) 2008 iptelorg GmbH
... ...
@@ -23,7 +22,7 @@
23 23
  */
24 24
 /*!
25 25
  * \file
26
- * \brief SIP-router core :: 
26
+ * \brief SIP-router core :: Standalone Configuration File Parser
27 27
  * \ingroup core
28 28
  *
29 29
  * Module: \ref core
... ...
@@ -1,6 +1,4 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2005 iptelorg GmbH
5 3
  *
6 4
  * This file is part of SIP-router, a free SIP server.
... ...
@@ -20,13 +20,6 @@
20 20
  * @ingroup: core
21 21
  */
22 22
 
23
-/*
24
- * History:
25
- * --------
26
- *  2010-08-06  initial version (andrei)
27
- *  2010-08-24  counters can be used (inc,add) before prefork_init (andrei)
28
-*/
29
-
30 23
 #include "counters.h"
31 24
 #include "str_hash.h"
32 25
 #include "str.h"
... ...
@@ -1,6 +1,4 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  *  Crc - 32 + 16 BIT ANSI X3.66 + CCITT CRC checksum files
5 3
  *
6 4
  * Copyright (C) 2001-2003 FhG Fokus
... ...
@@ -1,6 +1,4 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -15,17 +13,7 @@
15 15
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  */
18
-/*
19
- * 
20
- * History:
21
- * --------
22
- *  2004-02-20  removed from ser main.c into its own file (andrei)
23
- *  2004-03-04  moved setuid/setgid in do_suid() (andrei)
24
- *  2004-03-25  added increase_open_fds & set_core_dump (andrei)
25
- *  2004-05-03  applied pgid patch from janakj
26
- *  2007-06-07  added mlock_pages (no swap) support (andrei)
27
-  *             added set_rt_prio() (andrei)
28
- */
18
+
29 19
 /*!
30 20
  * \file
31 21
  * \brief SIP-router core :: 
... ...
@@ -1,6 +1,4 @@
1
-/* $Id$
2
- *
3
- *
1
+/*
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6 4
  * This file is part of SIP-router, a free SIP server.
... ...
@@ -19,19 +17,10 @@
19 19
  * along with this program; if not, write to the Free Software 
20 20
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21 21
  *
22
- * History:
23
- * --------
24
- *  2003-01-19  support for duplication lump lists added (jiri)
25
- *  2003-03-31  added subst lumps --they expand in ip addr, port a.s.o (andrei)
26
- *  2003-04-01  added conditional lump support functions (andrei)
27
- *  2003-10-20  anchor_lump & del_lump will automatically choose the lump list
28
- *              based on  msg->eoh comparisons (andrei)
29
- *  2003-10-28  added extra checks (paranoia) for {anchor,del}_lump (andrei)
30
- *  2005-03-24  the type of type attribute changed to enum _hdr_types_t (janakj)
31 22
  */
32 23
 /*!
33 24
  * \file
34
- * \brief SIP-router core :: 
25
+ * \brief SIP-router core :: Data lumps
35 26
  * \ingroup core
36 27
  * Module: \ref core
37 28
  */
... ...
@@ -1,22 +1,19 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
13 10
  *
14
- * For a license to use the ser software under conditions
11
+ * For a license to use the Kamailio software under conditions
15 12
  * other than those described here, or to purchase support for this
16 13
  * software, please contact iptel.org by e-mail at the following addresses:
17 14
  *    info@iptel.org
18 15
  *
19
- * ser is distributed in the hope that it will be useful,
16
+ * Kamailio is distributed in the hope that it will be useful,
20 17
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 18
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 19
  * GNU General Public License for more details.
... ...
@@ -25,18 +22,10 @@
25 25
  * along with this program; if not, write to the Free Software 
26 26
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  *
28
- * History:
29
- * 2002-02-14 : created by bogdan
30
- * 2003-09-11 : lump_rpl type added - LUMP_RPL_BODY & LUMP_RPL_HDR (bogdan)
31
- * 2003-11-11 : build_lump_rpl merged into add_lump_rpl; types -> flags ;
32
- *              flags LUMP_RPL_NODUP and LUMP_RPL_NOFREE added (bogdan)
33
- * 2006-10-16   add_lump_rpl2 added: same as the old add_lump_rpl, but
34
- *               returns a lump_rpl**, making a specific lump removal much
35
- *               more easy (andrei)
36 28
  */
37 29
 /*!
38 30
  * \file
39
- * \brief SIP-router core :: 
31
+ * \brief SIP-router core :: Data lump handling
40 32
  * \ingroup core
41 33
  * Module: \ref core
42 34
  */
... ...
@@ -1,6 +1,4 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * resolver related functions
5 3
  *
6 4
  * Copyright (C) 2006 iptelorg GmbH
... ...
@@ -26,31 +24,10 @@
26 26
  * along with this program; if not, write to the Free Software
27 27
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
28 28
  */
29
-/* History:
30
- * --------
31
- *  2006-07-13  created by andrei
32
- *  2006-10-06  port fix (andrei)
33
- *  2007-06-14  dns iterate through A & AAAA records fix (andrei)
34
- *  2007-06-15  srv rr weight based load balancing support (andrei)
35
- *  2007-06-16  naptr support (andrei)
36
- *  2008-07-18  DNS watchdog support -- can be used to inform the core
37
- *              that the DNS servers are down (Miklos)
38
- *  2008-07-25  various rpc commands to manipulate the content
39
- *		of the cache (Miklos)
40
- *  2007-07-30  DNS cache measurements added (Gergo)
41
- *  2007-08-17  dns_cache_del_nonexp config option is introduced (Miklos)
42
- *  2008-02-04  DNS cache options are adapted for the configuration
43
- *		framework (Miklos)
44
- *  2008-02-11  dns_cache_init cfg parameter is introduced (Miklos)
45
- *  2008-10-17  fixed srv continue with 0 hostname (when falling back to
46
-                  aaaa) (andrei)
47
- *  2009-03-30  TXT record support, more rpcs (andrei)
48
- *  2009-03-30  EBL record support (andrei)
49
- *  2009-04-01  PTR record support (andrei)
50
- */
29
+
51 30
 /*!
52 31
  * \file
53
- * \brief SIP-router core :: 
32
+ * \brief SIP-router core :: DNS cache handling
54 33
  * \ingroup core
55 34
  * Module: \ref core
56 35
  */
... ...
@@ -1,7 +1,5 @@
1 1
 
2 2
 /* 
3
- * $Id$
4
- * 
5 3
  * Copyright (C) 2013  mariuszbi@gmail.com
6 4
  *
7 5
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -16,14 +14,12 @@
16 16
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 17
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 18
  */
19
-/*
20
- * DNS wrappers
19
+/*!
20
+ * \file 
21
+ * \brief SIP-router core :: DNS wrappers
22
+ * \ingroup core
23
+ * Module: \ref core
21 24
  */
22
-/*
23
- * History:
24
- * --------
25
- *  2013-03 initial version (marius)
26
-*/
27 25
 
28 26
 #include "dns_func.h"
29 27
 
... ...
@@ -1,24 +1,21 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * debug print 
5 3
  *
6
- *
7 4
  * Copyright (C) 2001-2003 FhG Fokus
8 5
  *
9
- * This file is part of ser, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
10 7
  *
11
- * ser is free software; you can redistribute it and/or modify
8
+ * Kamailio is free software; you can redistribute it and/or modify
12 9
  * it under the terms of the GNU General Public License as published by
13 10
  * the Free Software Foundation; either version 2 of the License, or
14 11
  * (at your option) any later version
15 12
  *
16
- * For a license to use the ser software under conditions
13
+ * For a license to use the Kamailio software under conditions
17 14
  * other than those described here, or to purchase support for this
18 15
  * software, please contact iptel.org by e-mail at the following addresses:
19 16
  *    info@iptel.org
20 17
  *
21
- * ser is distributed in the hope that it will be useful,
18
+ * Kamailio is distributed in the hope that it will be useful,
22 19
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 20
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24 21
  * GNU General Public License for more details.
... ...
@@ -29,7 +26,7 @@
29 29
  */
30 30
 /*!
31 31
  * \file
32
- * \brief SIP-router core :: 
32
+ * \brief SIP-router core :: Debug print
33 33
  * \ingroup core
34 34
  * Module: \ref core
35 35
  */
... ...
@@ -1,13 +1,11 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * destination set
5 3
  *
6 4
  * Copyright (C) 2001-2004 FhG FOKUS
7 5
  *
8
- * This file is part of ser, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
9 7
  *
10
- * ser is free software; you can redistribute it and/or modify
8
+ * Kamailio is free software; you can redistribute it and/or modify
11 9
  * it under the terms of the GNU General Public License as published by
12 10
  * the Free Software Foundation; either version 2 of the License, or
13 11
  * (at your option) any later version
... ...
@@ -17,7 +15,7 @@
17 17
  * software, please contact iptel.org by e-mail at the following addresses:
18 18
  *    info@iptel.org
19 19
  *
20
- * ser is distributed in the hope that it will be useful,
20
+ * Kamailio is distributed in the hope that it will be useful,
21 21
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 22
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 23
  * GNU General Public License for more details.
... ...
@@ -1,13 +1,11 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * resolver related functions
5 3
  *
6 4
  * Copyright (C) 2006 iptelorg GmbH
7 5
  *
8
- * This file is part of ser, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
9 7
  *
10
- * ser is free software; you can redistribute it and/or modify
8
+ * Kamailio is free software; you can redistribute it and/or modify
11 9
  * it under the terms of the GNU General Public License as published by
12 10
  * the Free Software Foundation; either version 2 of the License, or
13 11
  * (at your option) any later version
... ...
@@ -17,7 +15,7 @@
17 17
  * software, please contact iptel.org by e-mail at the following addresses:
18 18
  *    info@iptel.org
19 19
  *
20
- * ser is distributed in the hope that it will be useful,
20
+ * Kamailio is distributed in the hope that it will be useful,
21 21
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 22
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 23
  * GNU General Public License for more details.
... ...
@@ -26,20 +24,10 @@
26 26
  * along with this program; if not, write to the Free Software
27 27
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
28 28
  */
29
-/* History:
30
- * --------
31
- *  2006-07-29  created by andrei
32
- *  2007-05-39  added hooks for add; more locks to reduce contention (andrei)
33
- *  2007-06-26  added hooks for search (andrei)
34
- *  2007-07-30  added dst_blacklist_del() and dst_blacklist_add_to()  (andrei)
35
- *  2007-07-30  dst blacklist measurements added (Gergo)
36
- *  2008-02-11  dns_blacklist_init cfg parameter is introduced (Miklos)
37
- *  2009-02-26  added dst_blacklist_su* variant (andrei)
38
- */
39 29
 
40 30
 /*!
41 31
  * \file
42
- * \brief SIP-router core :: 
32
+ * \brief Kamailio core :: resolver related functions
43 33
  * \ingroup core
44 34
  * Module: \ref core
45 35
  */
... ...
@@ -1,6 +1,4 @@
1 1
 /* 
2
- * $Id$
3
- * 
4 2
  * Copyright (C) 2008 iptelorg GmbH
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -15,17 +13,10 @@
15 15
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  */
18
-/*
19
- *  endianness compile and runtime  tests
20
- * 
21
- * History:
22
- * --------
23
- *  2008-06-13  created by andrei
24
- */
25 18
 
26 19
 /*!
27 20
  * \file
28
- * \brief SIP-router core :: 
21
+ * \brief Kamailio core :: endianness compile and runtime  tests
29 22
  * \ingroup core
30 23
  * Module: \ref core
31 24
  */
... ...
@@ -1,12 +1,9 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
... ...
@@ -16,7 +13,7 @@
16 16
  * software, please contact iptel.org by e-mail at the following addresses:
17 17
  *    info@iptel.org
18 18
  *
19
- * ser is distributed in the hope that it will be useful,
19
+ * Kamailio is distributed in the hope that it will be useful,
20 20
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 21
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 22
  * GNU General Public License for more details.
... ...
@@ -25,14 +22,11 @@
25 25
  * along with this program; if not, write to the Free Software 
26 26
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  *
28
- * History:
29
- * --------
30
- * 2003-04-04 phrase length corrected not to include trailer 0 (jiri)
31 28
  */
32 29
 
33 30
 /*!
34 31
  * \file
35
- * \brief SIP-router core :: 
32
+ * \brief SIP-router core :: Error handling
36 33
  * \ingroup core
37 34
  * Module: \ref core
38 35
  */
... ...
@@ -1,9 +1,7 @@
1 1
 /**
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2009 SIP-Router.org
5 3
  *
6
- * This file is part of Extensible SIP Router, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8 6
  * Permission to use, copy, modify, and distribute this software for any
9 7
  * purpose with or without fee is hereby granted, provided that the above
... ...
@@ -20,7 +18,7 @@
20 20
 
21 21
 /*!
22 22
  * \file
23
- * \brief SIP-router core :: 
23
+ * \brief SIP-router core :: event handling
24 24
  * \ingroup core
25 25
  * Module: \ref core
26 26
  */
... ...
@@ -1,11 +1,9 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
... ...
@@ -15,7 +13,7 @@
15 15
  * software, please contact iptel.org by e-mail at the following addresses:
16 16
  *    info@iptel.org
17 17
  *
18
- * ser is distributed in the hope that it will be useful,
18
+ * Kamailio is distributed in the hope that it will be useful,
19 19
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 20
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 21
  * GNU General Public License for more details.
... ...
@@ -24,16 +22,10 @@
24 24
  * along with this program; if not, write to the Free Software 
25 25
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  */
27
-/*
28
- * History:
29
- * --------
30
- *  2003-03-19  replaced all mallocs/frees w/ pkg_malloc/pkg_free (andrei)
31
- *  2006-02-02  named flags support (andrei)
32
- */
33 27
 
34 28
 /*!
35 29
  * \file
36
- * \brief SIP-router core :: 
30
+ * \brief Kamailio core :: Flags
37 31
  * \ingroup core
38 32
  * Module: \ref core
39 33
  */
... ...
@@ -1,11 +1,9 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
... ...
@@ -15,7 +13,7 @@
15 15
  * software, please contact iptel.org by e-mail at the following addresses:
16 16
  *    info@iptel.org
17 17
  *
18
- * ser is distributed in the hope that it will be useful,
18
+ * Kamailio is distributed in the hope that it will be useful,
19 19
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 20
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 21
  * GNU General Public License for more details.
... ...
@@ -24,41 +22,11 @@
24 24
  * along with this program; if not, write to the Free Software 
25 25
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  *
27
- * History:
28
- * -------
29
- *  2001-??-??  created by andrei
30
- *  ????-??-??  lots of changes by a lot of people
31
- *  2003-01-23  support for determination of outbound interface added :
32
- *               get_out_socket (jiri)
33
- *  2003-01-24  reply to rport support added, contributed by
34
- *               Maxim Sobolev <sobomax@FreeBSD.org> and modified by andrei
35
- *  2003-02-11  removed calls to upd_send & tcp_send & replaced them with
36
- *               calls to msg_send (andrei)
37
- *  2003-03-19  replaced all mallocs/frees w/ pkg_malloc/pkg_free (andrei)
38
- *  2003-04-02  fixed get_send_socket for tcp fwd to udp (andrei)
39
- *  2003-04-03  added su_setport (andrei)
40
- *  2003-04-04  update_sock_struct_from_via now differentiates between
41
- *               local replies  & "normal" replies (andrei)
42
- *  2003-04-12  update_sock_struct_from via uses also FL_FORCE_RPORT for
43
- *               local replies (andrei)
44
- *  2003-08-21  check_self properly handles ipv6 addresses & refs   (andrei)
45
- *  2003-10-21  check_self updated to handle proto (andrei)
46
- *  2003-10-24  converted to the new socket_info lists (andrei)
47
- *  2004-10-10  modified check_self to use grep_sock_info (andrei)
48
- *  2004-11-08  added force_send_socket support in get_send_socket (andrei)
49
- *  2005-12-11  onsend_router support; forward_request to no longer
50
- *              pkg_malloc'ed (andrei)
51
- *  2006-04-12  forward_{request,reply} use now struct dest_info (andrei)
52
- *  2006-04-21  basic comp via param support (andrei)
53
- *  2006-07-31  forward_request can resolve destination on its own, uses the 
54
- *              dns cache and falls back on send error to other ips (andrei)
55
- *  2007-10-08  get_send_socket() will ignore force_send_socket if the forced
56
- *               socket is multicast (andrei)
57 27
  */
58 28
 
59 29
 /*!
60 30
  * \file
61
- * \brief SIP-router core :: 
31
+ * \brief Kamailio core :: Message forwarding
62 32
  * \ingroup core
63 33
  * Module: \ref core
64 34
  */
... ...
@@ -391,7 +359,7 @@ static struct _check_self_func {
391 391
 	struct _check_self_func *next;
392 392
 } *_check_self_func_list = NULL;
393 393
 
394
-/* check if _check_self_func_list is set
394
+/** check if _check_self_func_list is set
395 395
  * - return 1 if yes, 0 if no
396 396
  */
397 397
 int is_check_self_func_list_set(void)
... ...
@@ -399,7 +367,7 @@ int is_check_self_func_list_set(void)
399 399
 	return (_check_self_func_list)?1:0;
400 400
 }
401 401
 
402
-/* register a function to be called when matching for myself
402
+/** register a function to be called when matching for myself
403 403
  * - return 0 on success, -1 on error
404 404
  * - f must have same prototype as check_self() and return same kind of values
405 405
  */
... ...
@@ -418,7 +386,7 @@ int register_check_self_func(check_self_f f)
418 418
 	return 0;
419 419
 }
420 420
 
421
-/* run registered check self functions
421
+/** run registered check self functions
422 422
  * returns 1 if true, 0 if false
423 423
  */
424 424
 int run_check_self_func(str* host, unsigned short port, unsigned short proto)
... ...
@@ -433,7 +401,8 @@ int run_check_self_func(str* host, unsigned short port, unsigned short proto)
433 433
 	return 0;
434 434
 }
435 435
 
436
-/* checks if the proto: host:port is one of the address we listen on;
436
+/** checks if the proto: host:port is one of the address we listen on;
437
+ *
437 438
  * if port==0, the  port number is ignored
438 439
  * if proto==0 (PROTO_NONE) the protocol is ignored
439 440
  * returns 1 if true, 0 if false, -1 on error
... ...
@@ -453,7 +422,7 @@ found:
453 453
 	return 1;
454 454
 }
455 455
 
456
-/* checks if the proto:port is one of the ports we listen on;
456
+/** checks if the proto:port is one of the ports we listen on;
457 457
  * if proto==0 (PROTO_NONE) the protocol is ignored
458 458
  * returns 1 if true, 0 if false, -1 on error
459 459
  */
... ...
@@ -468,7 +437,7 @@ int check_self_port(unsigned short port, unsigned short proto)
468 468
 
469 469
 
470 470
 
471
-/* forwards a request to dst
471
+/** forwards a request to dst
472 472
  * parameters:
473 473
  *   msg       - sip msg
474 474
  *   dst       - destination name, if non-null it will be resolved and
... ...
@@ -750,7 +719,7 @@ int update_sock_struct_from_via( union sockaddr_union* to,
750 750
 
751 751
 
752 752
 
753
-/* removes first via & sends msg to the second
753
+/** removes first via & sends msg to the second
754 754
  * - mode param controls if modules sip response callbacks are executed */
755 755
 static int do_forward_reply(struct sip_msg* msg, int mode)
756 756
 {
... ...
@@ -879,13 +848,13 @@ error:
879 879
 	return -1;
880 880
 }
881 881
 
882
-/* removes first via & sends msg to the second */
882
+/** removes first via & sends msg to the second */
883 883
 int forward_reply(struct sip_msg* msg)
884 884
 {
885 885
 	return do_forward_reply(msg, 0);
886 886
 }
887 887
 
888
-/* removes first via & sends msg to the second - no module callbacks */
888
+/** removes first via & sends msg to the second - no module callbacks */
889 889
 int forward_reply_nocb(struct sip_msg* msg)
890 890
 {
891 891
 	return do_forward_reply(msg, 1);
... ...
@@ -1,11 +1,9 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
... ...
@@ -15,7 +13,7 @@
15 15
  * software, please contact iptel.org by e-mail at the following addresses:
16 16
  *    info@iptel.org
17 17
  *
18
- * ser is distributed in the hope that it will be useful,
18
+ * Kamailio is distributed in the hope that it will be useful,
19 19
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 20
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 21
  * GNU General Public License for more details.
... ...
@@ -27,7 +25,7 @@
27 27
 
28 28
 /*!
29 29
  * \file
30
- * \brief SIP-router core :: 
30
+ * \brief Kamailio core :: Hash functions
31 31
  * \ingroup core
32 32
  * Module: \ref core
33 33
  */
... ...
@@ -1,11 +1,9 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2005 iptelorg GmbH
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
... ...
@@ -15,7 +13,7 @@
15 15
  * software, please contact iptel.org by e-mail at the following addresses:
16 16
  *    info@iptel.org
17 17
  *
18
- * ser is distributed in the hope that it will be useful,
18
+ * Kamailio is distributed in the hope that it will be useful,
19 19
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 20
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 21
  * GNU General Public License for more details.
... ...
@@ -27,7 +25,7 @@
27 27
 
28 28
 /*!
29 29
  * \file
30
- * \brief SIP-router core :: 
30
+ * \brief Kamailio core :: UID handling
31 31
  * \ingroup core
32 32
  * Module: \ref core
33 33
  */
... ...
@@ -42,7 +40,7 @@ static str uid_name = STR_STATIC_INIT(AVP_UID);
42 42
 static str did_name = STR_STATIC_INIT(AVP_DID);
43 43
 
44 44
 
45
-/*
45
+/**
46 46
  * Set From UID
47 47
  */
48 48
 int set_from_uid(str* uid)
... ...
@@ -63,7 +61,7 @@ int set_from_uid(str* uid)
63 63
 }
64 64
 
65 65
 
66
-/* Extract username attribute from authorized credentials */
66
+/** Extract username attribute from authorized credentials */
67 67
 static inline str* cred_user(struct sip_msg* msg)
68 68
 {
69 69
 	struct hdr_field* h;
... ...
@@ -77,7 +75,7 @@ static inline str* cred_user(struct sip_msg* msg)
77 77
 	return &cred->digest.username.user;
78 78
 }
79 79
 
80
-/*
80
+/**
81 81
  * Set From UID
82 82
  */
83 83
 int get_from_uid(str* uid, struct sip_msg* msg)
... ...
@@ -125,7 +123,8 @@ int get_from_uid(str* uid, struct sip_msg* msg)
125 125
 	}
126 126
 }
127 127
 
128
-
128
+/** Get to UID
129
+ */
129 130
 int get_to_uid(str* uid, struct sip_msg* msg)
130 131
 {
131 132
 	static char buf[MAX_URI_SIZE];
... ...
@@ -181,7 +180,7 @@ int get_to_uid(str* uid, struct sip_msg* msg)
181 181
 }
182 182
 
183 183
 
184
-/*
184
+/**
185 185
  * Set To UID
186 186
  */
187 187
 int set_to_uid(str* uid)
... ...
@@ -202,7 +201,7 @@ int set_to_uid(str* uid)
202 202
 }
203 203
 
204 204
 
205
-/*
205
+/**
206 206
  * Return current To domain id
207 207
  */
208 208
 int get_to_did(str* did, struct sip_msg* msg)
... ...
@@ -218,7 +217,7 @@ int get_to_did(str* did, struct sip_msg* msg)
218 218
 }
219 219
 
220 220
 
221
-/*
221
+/**
222 222
  * Return current To domain id
223 223
  */
224 224
 int get_from_did(str* did, struct sip_msg* msg)
... ...
@@ -1,6 +1,4 @@
1 1
 /* 
2
- * $Id$
3
- * 
4 2
  * Copyright (C) 2005 iptelorg GmbH
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -15,21 +13,11 @@
15 15
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  */
18
-/* 
19
- * tcp io wait common stuff used by tcp_main.c & tcp_read.c
20
- * (see io_wait.h)
21
- */
22
-/* 
23
- * History:
24
- * --------
25
- *  2005-06-15  created by andrei
26
- *  2005-06-26  added kqueue (andrei)
27
- *  2005-07-04  added /dev/poll (andrei)
28
- */
29 18
 
30 19
 /*!
31 20
  * \file
32
- * \brief SIP-router core :: 
21
+ * \brief Kamailio core :: tcp io wait common stuff used by tcp_main.c & tcp_read.c
22
+ * (see io_wait.h)
33 23
  * \ingroup core
34 24
  * Module: \ref core
35 25
  */
... ...
@@ -1,14 +1,11 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * ip address & address family related functions
6 3
  *
7 4
  * Copyright (C) 2001-2003 FhG Fokus
8 5
  *
9
- * This file is part of ser, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
10 7
  *
11
- * ser is free software; you can redistribute it and/or modify
8
+ * Kamailio is free software; you can redistribute it and/or modify
12 9
  * it under the terms of the GNU General Public License as published by
13 10
  * the Free Software Foundation; either version 2 of the License, or
14 11
  * (at your option) any later version
... ...
@@ -18,7 +15,7 @@
18 18
  * software, please contact iptel.org by e-mail at the following addresses:
19 19
  *    info@iptel.org
20 20
  *
21
- * ser is distributed in the hope that it will be useful,
21
+ * Kamailio is distributed in the hope that it will be useful,
22 22
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 23
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24 24
  * GNU General Public License for more details.
... ...
@@ -27,14 +24,8 @@
27 27
  * along with this program; if not, write to the Free Software 
28 28
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
29 29
  */
30
-/*
31
- * History:
32
- * --------
33
- *  2003-03-19  replaced all mallocs/frees w/ pkg_malloc/pkg_free
34
- *  2004-10-01  mk_net fixes bad network addresses now (andrei)
35
- */
36 30
 
37
-/** inernal ip addresses representation functions.
31
+/** Kamailio core :: internal ip addresses representation functions.
38 32
  * @file ip_addr.c
39 33
  * @ingroup core
40 34
  * Module: @ref core
... ...
@@ -1,11 +1,9 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2007 iptelorg GmbH
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
... ...
@@ -15,7 +13,7 @@
15 15
  * software, please contact iptel.org by e-mail at the following addresses:
16 16
  *    info@iptel.org
17 17
  *
18
- * ser is distributed in the hope that it will be useful,
18
+ * Kamailio is distributed in the hope that it will be useful,
19 19
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 20
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 21
  * GNU General Public License for more details.
... ...
@@ -24,19 +22,13 @@
24 24
  * along with this program; if not, write to the Free Software 
25 25
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  */
27
-/* local, per process timer routines
28
- * WARNING: this should be used only within the same process, the timers
29
- *  are not multi-process safe or multi-thread safe
30
- *  (there are no locks)
31
- *
32
- * History:
33
- * --------
34
- *  2006-02-03  created by andrei
35
- */
36 27
 
37 28
 /*!
38 29
  * \file
39
- * \brief SIP-router core :: 
30
+ * \brief Kamailio core :: local, per process timer routines
31
+ * WARNING: this should be used only within the same process, the timers
32
+ *  are not multi-process safe or multi-thread safe
33
+ *  (there are no locks)
40 34
  * \ingroup core
41 35
  * Module: \ref core
42 36
  */
... ...
@@ -53,7 +45,7 @@
53 53
 
54 54
 
55 55
 
56
-/* init a local_timer handle
56
+/** init a local_timer handle
57 57
  * returns 0 on success, -1 on error */
58 58
 int init_local_timer(struct local_timer *t, ticks_t crt_ticks)
59 59
 {
... ...
@@ -83,7 +75,7 @@ void destroy_local_timer(struct local_timer* lt)
83 83
 
84 84
 
85 85
 
86
-/* generic add timer entry to the timer lists function (see _timer_add)
86
+/** generic add timer entry to the timer lists function (see _timer_add)
87 87
  * tl->expire must be set previously, delta is the difference in ticks
88 88
  * from current time to the timer desired expire (should be tl->expire-*tick)
89 89
  * If you don't know delta, you probably want to call _timer_add instead.
... ...
@@ -124,7 +116,7 @@ static inline void local_timer_redist(struct local_timer* l,
124 124
 
125 125
 
126 126
 
127
-/* local timer add function (no lock, not multithread or multiprocess safe,
127
+/** local timer add function (no lock, not multithread or multiprocess safe,
128 128
  * designed for local process use only)
129 129
  * t = current ticks
130 130
  * tl must be filled (the intial_timeout and flags must be set)
... ...
@@ -141,7 +133,7 @@ static inline int _local_timer_add(struct local_timer *h, ticks_t t,
141 141
 
142 142
 
143 143
 
144
-/* "public", safe timer add functions (local process use only)
144
+/** "public", safe timer add functions (local process use only)
145 145
  * adds a timer at delta ticks from the current time
146 146
  * returns -1 on error, 0 on success
147 147
  * WARNING: to re-add a deleted or expired timer you must call
... ...
@@ -173,7 +165,7 @@ error:
173 173
 
174 174
 
175 175
 
176
-/* safe timer delete
176
+/** safe timer delete
177 177
  * deletes tl and inits the list pointer to 0
178 178
  * WARNING: to be able to reuse a deleted timer you must call
179 179
  *          timer_reinit(tl) on it
... ...
@@ -199,7 +191,7 @@ void local_timer_del(struct local_timer* h, struct timer_ln* tl)
199 199
 
200 200
 
201 201
 
202
-/* called from timer_handle*/
202
+/** called from timer_handle*/
203 203
 inline static void local_timer_list_expire(struct local_timer* l, 
204 204
 											ticks_t t, struct timer_head* h)
205 205
 {
... ...
@@ -226,7 +218,7 @@ inline static void local_timer_list_expire(struct local_timer* l,
226 226
 
227 227
 
228 228
 
229
-/* run all the handler that expire at t ticks */
229
+/** run all the handler that expire at t ticks */
230 230
 static inline void local_timer_expire(struct local_timer* h, ticks_t t)
231 231
 {
232 232
 	/* trust the compiler for optimizing */
... ...
@@ -245,7 +237,7 @@ static inline void local_timer_expire(struct local_timer* h, ticks_t t)
245 245
 
246 246
 
247 247
 
248
-/* "main" local timer routine, should be called with a proper ticks value
248
+/** "main" local timer routine, should be called with a proper ticks value
249 249
  * WARNING: it should never be called twice for the same ticks value
250 250
  * (it could cause too fast expires for long timers), ticks must be also
251 251
  *  always increasing */
... ...
@@ -1,6 +1,4 @@
1 1
 /* 
2
- * $Id$
3
- * 
4 2
  * Copyright (C) 2007 iptelorg GmbH
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -15,18 +13,10 @@
15 15
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  */
18
-/*
19
- *  lock operations init
20
- */
21
-/* 
22
- * History:
23
- * --------
24
- *  2007-05-14  created by andrei
25
- */
26 18
 
27 19
 /*!
28 20
  * \file
29
- * \brief SIP-router core :: 
21
+ * \brief Kamailio core ::  lock operations init
30 22
  * \ingroup core
31 23
  *
32 24
  * Module: \ref core
... ...
@@ -16,22 +16,11 @@
16 16
 
17 17
 /**
18 18
  * @file 
19
- * @brief SIP-router core :: lvalues (assignment)
19
+ * @brief Kamailio core :: lvalues (assignment)
20 20
  * \ingroup core
21 21
  * Module: \ref core
22 22
  */
23 23
 
24
-/* 
25
- * History:
26
- * --------
27
- *  2008-11-30  initial version (andrei)
28
- *  2009-04-24  delete avps after finding their new value and not before
29
- *               (fixed $avp=$avp)
30
- *              when assigning something undefined (e.g. non-existing avp),
31
- *              delete the lvalue (similar to perl)  (andrei)
32
- */
33
-
34
-
35 24
 #include "lvalue.h"
36 25
 #include "dprint.h"
37 26
 #include "route.h"
... ...
@@ -1,16 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of SIP-router, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * SIP-router is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * SIP-router is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
14 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 14
  * GNU General Public License for more details.
... ...
@@ -19,73 +17,15 @@
19 19
  * along with this program; if not, write to the Free Software
20 20
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21 21
  *
22
- * History:
23
- * -------
24
- *  2002-01-29  argc/argv globalized via my_{argc|argv} (jiri)
25
- *  2003-01-23  mhomed added (jiri)
26
- *  2003-03-19  replaced all malloc/frees w/ pkg_malloc/pkg_free (andrei)
27
- *  2003-03-29  pkg cleaners for fifo and script callbacks introduced (jiri)
28
- *  2003-03-31  removed snmp part (obsolete & no place in core) (andrei)
29
- *  2003-04-06  child_init called in all processes (janakj)
30
- *  2003-04-08  init_mallocs split into init_{pkg,shm}_mallocs and
31
- *               init_shm_mallocs called after cmd. line parsing (andrei)
32
- *  2003-04-15  added tcp_disable support (andrei)
33
- *  2003-05-09  closelog() before openlog to force opening a new fd
34
- *               (needed on solaris) (andrei)
35
- *  2003-06-11  moved all signal handlers init. in install_sigs and moved it
36
- *               after daemonize (so that we won't catch anymore our own
37
- *               SIGCHLD generated when becoming session leader) (andrei)
38
- *              changed is_main default value to 1 (andrei)
39
- *  2003-06-28  kill_all_children is now used instead of kill(0, sig)
40
- *                see comment above it for explanations. (andrei)
41
- *  2003-06-29  replaced port_no_str snprintf w/ int2str (andrei)
42
- *  2003-10-10  added switch for config check (-c) (andrei)
43
- *  2003-10-24  converted to the new socket_info lists (andrei)
44
- *  2004-03-30  core dump is enabled by default
45
- *              added support for increasing the open files limit    (andrei)
46
- *  2004-04-28  sock_{user,group,uid,gid,mode} added
47
- *              user2uid() & user2gid() added  (andrei)
48
- *  2004-09-11  added timeout on children shutdown and final cleanup
49
- *               (if it takes more than 60s => something is definitely wrong
50
- *                => kill all or abort)  (andrei)
51
- *              force a shm_unlock before cleaning-up, in case we have a
52
- *               crashed childvwhich still holds the lock  (andrei)
53
- *  2004-12-02  removed -p, extended -l to support [proto:]address[:port],
54
- *               added parse_phostport, parse_proto (andrei)
55
- *  2005-06-16  always record the pid in pt[process_no].pid twice: once in the
56
- *               parent & once in the child to avoid a short window when one
57
- *               of them might use it "unset" (andrei)
58
- *  2005-07-25  use sigaction for setting the signal handlers (andrei)
59
- *  2006-07-13  added dns cache/failover init. (andrei)
60
- *  2006-10-13  added global variables stun_refresh_interval, stun_allow_stun
61
- *               and stun_allow_fp (vlada)
62
- *  2006-10-25  don't log messages from signal handlers if NO_SIG_DEBUG is
63
- *               defined; improved exit kill timeout (andrei)
64
- *              init_childs(PROC_MAIN) before starting tcp_main, to allow
65
- *               tcp usage for module started processes (andrei)
66
- * 2007-01-18  children shutdown procedure moved into shutdown_children;
67
- *               safer shutdown on start-up error (andrei)
68
- * 2007-02-09  TLS support split into tls-in-core (CORE_TLS) and generic TLS
69
- *             (USE_TLS)  (andrei)
70
- * 2007-06-07  added support for locking pages in mem. and using real time
71
- *              scheduling policies (andrei)
72
- * 2007-07-30  dst blacklist and DNS cache measurements added (Gergo)
73
- * 2008-08-08  sctp support (andrei)
74
- * 2008-08-19  -l support for mmultihomed addresses/addresses lists
75
- *                (e.g. -l (eth0, 1.2.3.4, foo.bar) ) (andrei)
76
- * 2010-04-19  added daemon_status_fd pipe to communicate the parent process
77
- *              with the main process in daemonize mode, so the parent process
78
- *              can return the proper exit status code (ibc)
79
- * 2010-08-19  moved the daemon status stuff to daemonize.c (andrei)
80 22
  */
81 23
 
82
-/** main file (init, daemonize, startup) 
24
+/** Kamailio core :: main file (init, daemonize, startup) 
83 25
  * @file main.c
84 26
  * @ingroup core
85 27
  * Module: core
86 28
  */
87 29
 
88
-/*! @defgroup core SIP-router core
30
+/*! @defgroup core Kamailio core
89 31
  *
90 32
  * sip router core part.
91 33
  */
... ...
@@ -23,7 +23,7 @@
23 23
 
24 24
 /*!
25 25
  * \file
26
- * \brief SIP-router core :: md5 hash support
26
+ * \brief Kamailio core :: md5 hash support
27 27
  * \ingroup core
28 28
  * Module: \ref core
29 29
  */
... ...
@@ -14,15 +14,9 @@
14 14
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 15
  */
16 16
 
17
-/* 
18
- * History:
19
- * --------
20
- *  2008-11-25  initial version (andrei)
21
- */
22
-
23 17
 /*!
24 18
  * \file
25
- * \brief SIP-router core :: kamailio compatible fixups
19
+ * \brief Kamailio core :: kamailio compatible fixups
26 20
  * \ingroup core
27 21
  * Module: \ref core
28 22
  */
... ...
@@ -1,12 +1,9 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
... ...
@@ -16,7 +13,7 @@
16 16
  * software, please contact iptel.org by e-mail at the following addresses:
17 17
  *    info@iptel.org
18 18
  *
19
- * ser is distributed in the hope that it will be useful,
19
+ * Kamailio is distributed in the hope that it will be useful,
20 20
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 21
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 22
  * GNU General Public License for more details.
... ...
@@ -25,17 +22,11 @@
25 25
  * along with this program; if not, write to the Free Software
26 26
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  *
28
- * History:
29
- * -------
30
- * 2003-03-20  regex support in modparam (janakj)
31
- * 2004-03-12  extra flag USE_FUNC_PARAM added to modparam type -
32
- *             instead of copying the param value, a func is called (bogdan)
33
- * 2005-07-01  PARAM_STRING & PARAM_STR support
34 28
  */
35 29
 
36 30
 /*!
37 31
  * \file
38
- * \brief SIP-router core :: 
32
+ * \brief Kamailio core :: Configuration parameters for modules (modparams)
39 33
  * \ingroup core
40 34
  * Module: \ref core
41 35
  */
... ...
@@ -1,12 +1,9 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
... ...
@@ -16,7 +13,7 @@
16 16
  * software, please contact iptel.org by e-mail at the following addresses:
17 17
  *    info@iptel.org
18 18
  *
19
- * ser is distributed in the hope that it will be useful,
19
+ * Kamailio is distributed in the hope that it will be useful,
20 20
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 21
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 22
  * GNU General Public License for more details.
... ...
@@ -26,48 +23,9 @@
26 26
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  *
28 28
  *
29
- * History:
30
- * --------
31
- * 2003-01-20  bug_fix: use of return value of snprintf aligned to C99 (jiri)
32
- * 2003-01-23  added rport patches, contributed by
33
- *              Maxim Sobolev <sobomax@FreeBSD.org> and heavily modified by me
34
- *              (andrei)
35
- * 2003-01-24  added i param to via of outgoing requests (used by tcp),
36
- *              modified via_builder params (andrei)
37
- * 2003-01-27  more rport fixes (make use of new via_param->start)  (andrei)
38
- * 2003-01-27  next baby-step to removing ZT - PRESERVE_ZT (jiri)
39
- * 2003-01-29  scratchpad removed (jiri)
40
- * 2003-02-28  scratchpad compatibility abandoned (jiri)
41
- * 2003-03-01  VOICE_MAIL defs removed (jiri)
42
- * 2003-03-06  totags in outgoing replies bookmarked to enable
43
- *             ACK/200 tag matching (andrei)
44
- * 2003-03-18  killed the build_warning snprintf (andrei)
45
- * 2003-03-31  added subst lump support (andrei)
46
- * 2003-04-01  added opt (conditional) lump support (andrei)
47
- * 2003-04-02  added more subst lumps: SUBST_{SND,RCV}_ALL
48
- *              => ip:port;transport=proto (andrei)
49
- * 2003-04-12  added FL_FORCE_RPORT support (andrei)
50
- * 2003-04-13  updated warning builder -- fixed (andrei)
51
- * 2003-07-10  check_via_address knows now how to compare with ipv6 address
52
- *              references (e.g [::1]) (andrei)
53
- *             build_req_fomr_sip_req no longer adds 1 for ipv6 via parameter
54
- *              position calculations ([] are part of host.s now) (andrei)
55
- * 2003-10-02  via+lump dst address/port can be set to preset values (andrei)
56
- * 2003-10-08  receive_test function-alized (jiri)
57
- * 2003-10-20  added body_lump list (sip_msg), adjust_clen (andrei & jan)
58
- * 2003-11-11  type of rpl_lumps replaced by flags (bogdan)
59
- * 2006-04-20  build_req_from_sip_req, via_builder and lump_* functions
60
- *              use now struct dest_info; lumps & via comp param support
61
- *              (rfc3486) (andrei)
62
- * 2007-08-31  id_builder() and via_builder() are grouped into one function:
63
- *             create_via_hf() -- tm module needs them as well (Miklos)
64
- * 2008-12-17  build_req_from_sip_req() will now fallback to tcp, tls or sctp
65
- *              if packet size > udp_mtu and fallback is enabled 
66
- *             build_req_from_sip_req() uses now global_req_flags along
67
- *               msg->msg_flags  (andrei)
68 29
  *
69 30
  */
70
-/* Via special params:
31
+/** Via special params:
71 32
  * requests:
72 33
  * - if the address in via is different from the src_ip or an existing
73 34
  *   received=something is found, received=src_ip is added (and any preexisting
... ...
@@ -119,7 +77,7 @@
119 119
 
120 120
 /*!
121 121
  * \file
122
- * \brief SIP-router core :: 
122
+ * \brief Kamailio core :: Message translations
123 123
  * \ingroup core
124 124
  * Module: \ref core
125 125
  */
... ...
@@ -1,11 +1,9 @@
1 1
 /* 
2
- * $Id$
3
- * 
4 2
  * Copyright (C) 2006 iptelorg GmbH
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
... ...
@@ -15,7 +13,7 @@
15 15
  * software, please contact iptel.org by e-mail at the following addresses:
16 16
  *    info@iptel.org
17 17
  *
18
- * ser is distributed in the hope that it will be useful,
18
+ * Kamailio is distributed in the hope that it will be useful,
19 19
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 20
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 21
  * GNU General Public License for more details.
... ...
@@ -24,20 +22,13 @@
24 24
  * along with this program; if not, write to the Free Software
25 25
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  */
27
-/*
28
- * non-sip callbacks, called whenever a message with protocol != SIP/2.0
29
- * is received (the message must have at least a sip like first line or
30
- * else they will be dropped before this callbacks are called
31
- */
32
-/* 
33
- * History:
34
- * --------
35
- *  2006-11-29  created by andrei
36
- */
37 27
 
38 28
 /*!
39 29
  * \file
40
- * \brief SIP-router core :: 
30
+ * \brief Kamailio core :: non-sip callbacks, called whenever a message with protocol != SIP/2.0
31
+ * is received (the message must have at least a sip like first line or
32
+ * else they will be dropped before this callbacks are called
33
+ *
41 34
  * \ingroup core
42 35
  * Module: \ref core
43 36
  */
...