Browse code

core : Update include files - delete IDs, update doxygen, delete history

Olle E. Johansson authored on 03/01/2015 10:55:48
Showing 43 changed files
... ...
@@ -1,22 +1,14 @@
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
15
- * other than those described here, or to purchase support for this
16
- * software, please contact iptel.org by e-mail at the following addresses:
17
- *    info@iptel.org
18
- *
19
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
20 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 14
  * GNU General Public License for more details.
... ...
@@ -28,7 +20,7 @@
28 28
 
29 29
 /*!
30 30
  * \file
31
- * \brief SIP-router core ::
31
+ * \brief SIP-router core :: Actions
32 32
  * \ingroup core
33 33
  * Module: \ref core
34 34
  */
... ...
@@ -1,7 +1,7 @@
1
-/**
1
+/*
2 2
  * Copyright (C) 2014 Daniel-Constantin Mierla (asipto.com)
3 3
  *
4
- * This file is part of Extensible SIP Router, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
5 5
  *
6 6
  * Permission to use, copy, modify, and distribute this software for any
7 7
  * purpose with or without fee is hereby granted, provided that the above
... ...
@@ -16,6 +16,10 @@
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  */
18 18
 
19
+/** Kamailio core :: Aync tasks
20
+ * @ingroup core
21
+ * Module: core
22
+ */
19 23
 
20 24
 #ifndef _ASYNC_TASK_H_
21 25
 #define _ASYNC_TASK_H_
... ...
@@ -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,13 +16,14 @@
18 18
 
19 19
 /*!
20 20
  * \file
21
- * \brief SIP-router core :: Atomic operations and memory barriers
21
+ * \brief Kamailio core :: Atomic operations and memory barriers
22
+ * Copyright (C) 2006 iptelorg GmbH
22 23
  * \ingroup core
23 24
  * Module: \ref core
24 25
  * See \ref atomic
25 26
  */
26 27
 
27
-/*
28
+/**
28 29
  * \page atomicops  Atomic operations and memory barriers
29 30
  *
30 31
  *  WARNING: atomic ops do not include memory barriers
... ...
@@ -1,16 +1,14 @@
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
12 10
  *
13
- * ser 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.
... ...
@@ -22,7 +20,9 @@
22 22
 
23 23
 /*!
24 24
  * \file
25
- * \brief SIP-router core :: atomic_ops init functions
25
+ * \brief Kamailio core :: atomic_ops init functions
26
+ *
27
+ * Copyright (C) 2006 iptelorg GmbH
26 28
  *
27 29
  * \ingroup core
28 30
  * Module: \ref core
... ...
@@ -30,11 +30,6 @@
30 30
  * Needed for lock intializing if no native asm locks are available
31 31
  *  for the current arch./compiler combination, see \ref atomic_ops.c
32 32
  */
33
-/* 
34
- * History:
35
- * --------
36
- *  2006-03-30  created by andrei
37
- */
38 33
 
39 34
 #ifndef __atomic_ops_init_h
40 35
 #define __atomic_ops_init_h
... ...
@@ -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
... ...
@@ -22,6 +20,7 @@
22 22
  * \file
23 23
  * \brief SIP-router core :: convert/decode to/from ascii using various bases
24 24
  *
25
+ * Copyright (C) 2008 iptelorg GmbH
25 26
  * \ingroup core
26 27
  *
27 28
  * Module: \ref core
... ...
@@ -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,16 +13,18 @@
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)
21 18
  */
22 19
 
23
-/* Implements the bit counting function:
20
+/** Kamailio core ::  Implements the bit counting function:
21
+ * Copyright (C) 2010 iptelorg GmbH
22
+ * @ingroup core
23
+ * Module: core
24
+ *
24 25
  *   int bit_count(unsigned int u)
25 26
  *   Returns the number of bits in u.
26 27
  */
27 28
 
29
+
28 30
 #ifndef _BIT_COUNT_H
29 31
 #define _BIT_COUNT_H
30 32
 
... ...
@@ -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
... ...
@@ -17,7 +15,9 @@
17 17
  */
18 18
 /*!
19 19
  * \file
20
- * \brief SIP-router core :: bit scan operations
20
+ * \brief Kamailio core :: bit scan operations
21
+ *
22
+ * Copyright (C) 2007 iptelorg GmbH
21 23
  * \ingroup core
22 24
  * Module: \ref core
23 25
  *
... ...
@@ -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,13 +13,13 @@
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)
21
- *  2011-01-05	bit_test_and_reset added (Miklos)
22 18
  */
23 19
 
24
-/* Bit test functions:
20
+/** Kamailio core :: Bit test functions
21
+ * @ingroup core
22
+ * Module: core
23
+ *
24
+ * Bit test functions:
25 25
  *  - int bit_test(int offset, unsigned int *addr)
26 26
  *      Returns the bit found at offset position 
27 27
  *      in a bitstring pointed by addr.
... ...
@@ -1,21 +1,14 @@
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
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -24,6 +17,15 @@
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
+ */
29
+
30
+/** Kamailio core :: runtime configuration variables
31
+ * @file cfg_core.h
32
+ * @ingroup core
33
+ *
34
+ * Module: @ref core
35
+ *
27 36
  * HOWTO:
28 37
  *	If you need a new configuration variable within the core, put it into
29 38
  *	struct cfg_goup_core, and define it in cfg_core.c:core_cfg_def array.
... ...
@@ -31,16 +33,6 @@
31 31
  *	cfg_core.c:default_core_cfg
32 32
  *	Include this header file in your source code, and retrieve the
33 33
  *	value with cfg_get(core, core_cfg, variable_name).
34
- *
35
- * History
36
- * -------
37
- *  2007-12-03	Initial version (Miklos)
38
- */
39
-/** core runtime config.
40
- * @file cfg_core.h
41
- * @ingroup core
42
- *
43
- * Module: @ref core
44 34
  */
45 35
 
46 36
 
... ...
@@ -1,18 +1,17 @@
1 1
 /*
2
- * $Id$
3 2
  * Standalone Configuration File Parser
4 3
  *
5 4
  * Copyright (C) 2008 iptelorg GmbH
6 5
  * Written by Jan Janak <jan@iptel.org>
7 6
  *
8
- * This file is part of SER, a free SIP server.
7
+ * This file is part of Kamailio, a free SIP server.
9 8
  *
10
- * SER is free software; you can redistribute it and/or modify it under the
9
+ * Kamailio is free software; you can redistribute it and/or modify it under the
11 10
  * terms of the GNU General Public License as published by the Free Software
12 11
  * Foundation; either version 2 of the License, or (at your option) any later
13 12
  * version.
14 13
  *
15
- * SER is distributed in the hope that it will be useful, but WITHOUT ANY
14
+ * Kamailio is distributed in the hope that it will be useful, but WITHOUT ANY
16 15
  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17 16
  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
18 17
  * details.
... ...
@@ -25,6 +24,7 @@
25 25
 /*!
26 26
  * \file
27 27
  * \brief SIP-router core :: Standalone Configuration File Parser
28
+ * Written by Jan Janak <jan@iptel.org>
28 29
  *
29 30
  * \ingroup core
30 31
  * Module: \ref core
... ...
@@ -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,20 +13,13 @@
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
- * char_msg_val.h
20
- */
21
-/*
22
- * History:
23
- * --------
24
- *  2010-02-10  moved from parser/msg_parser.h and added tag only mode
25
- *               by default (andrei)
26
-*/
18
+
27 19
 /** compute the characteristic value of a message.
28 20
  * @file
29 21
  * @ingroup core
30
- */
31
-/* Defines:
22
+ * \author andrei
23
+ *
24
+ * Defines:
32 25
  *  BRANCH_INCLUDE_FROMTO_BODY - if defined the old (pre 3.1) mode of
33 26
  *   including the full from & to bodies will be used (instead of only the
34 27
  *   tags).
... ...
@@ -1,18 +1,16 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * circular list maintenance macros
5 3
  *
6 4
  * Copyright (C) 2005 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
14 12
  *
15
- * ser is distributed in the hope that it will be useful,
13
+ * Kamailio is distributed in the hope that it will be useful,
16 14
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 15
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 16
  * GNU General Public License for more details.
... ...
@@ -24,16 +22,13 @@
24 24
 
25 25
 /*!
26 26
  * \file
27
- * \brief SIP-router core :: circular list maintenance macros
27
+ * \brief Kamailio core :: circular list maintenance macros
28 28
  *
29
+ * \author andrei
29 30
  * \ingroup core
30 31
  * Module: \ref core
31 32
  */
32 33
 
33
-/* History:
34
- * --------
35
- *  2005-08-08  created by andrei
36
- */
37 34
 
38 35
 #ifndef _clist_h
39 36
 #define _clist_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 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
12 10
  *
13
- * ser 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,8 +17,13 @@
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
-
23
-/*! \brief compatibility defs for emergency roll-back if things do not work ;
22
+/*!
23
+ * \file
24
+ * \brief Kamailio core :: compatibility defs for emergency roll-back if things do not work 
25
+ *      
26
+ * \ingroup core 
27
+ * Module: \ref core                    
28
+ *  
24 29
  * if that happens:
25 30
  * 	- a) define PRESERVE_ZT (affects most of parser)
26 31
  * 	- b) define DONT_REMOVE_ZT (affects first line)
... ...
@@ -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
... ...
@@ -18,8 +16,9 @@
18 18
 
19 19
 /*!
20 20
  * \file
21
- * \brief SIP-router core :: Compiler specific optimizations
21
+ * \brief Kamailio core :: Compiler specific optimizations
22 22
  * \see \ref CompilerOptions
23
+ * \auth Andrei
23 24
  *
24 25
  * \ingroup core
25 26
  * Module: \ref core
... ...
@@ -45,12 +44,6 @@
45 45
 \endverbatim
46 46
  */
47 47
 
48
-/* 
49
- * History:
50
- * --------
51
- *  2007-05-14  created by andrei
52
- */
53
-
54 48
 #ifndef __compiler_opt_h
55 49
 #define __compiler_opt_h
56 50
 
... ...
@@ -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,17 +17,12 @@
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-04-05  DEFAULT_*_URL introduced (jiri)
25
- * 2003-07-04  fixed SRV lookup prefix for TLS/sips (andrei)
26
- * 2005-04-25  MAX_BRANCH_PARAM_LEN too small, fixed (andrei)
27
- *
28 22
  */
29 23
 
30 24
 /*!
31 25
  * \file
32 26
  * \brief SIP-router core :: Configuration options
27
+ * \author jiri, andrei
33 28
  *
34 29
  * These settings are settable by the user before compilation
35 30
  *
... ...
@@ -1,21 +1,14 @@
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
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -27,7 +20,7 @@
27 27
 
28 28
 /*!
29 29
  * \file
30
- * \brief SIP-router core :: 
30
+ * \brief Kamailio core :: Register RPC
31 31
  * \ingroup core
32 32
  * Module: \ref core
33 33
  */
... ...
@@ -21,14 +21,9 @@
21 21
  * they won't do anything).
22 22
  * @file
23 23
  * @ingroup core
24
+ * @author andrei
24 25
  */
25 26
  
26
-/*
27
- * History:
28
- * --------
29
- *  2010-02-01  initial version (andrei)
30
-*/
31
-
32 27
 #ifndef __core_stats_h
33 28
 #define __core_stats_h
34 29
 
... ...
@@ -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,7 +13,8 @@
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
-/** counter/stats.
18
+/** Kamailio core :: counter/stats.
19
+ * @author andrei
19 20
  * @file counters.h
20 21
  * @ingroup:  core
21 22
  *
... ...
@@ -31,11 +30,6 @@
31 31
  *  4. get a counter value (the handle can be obtained like above)
32 32
  *    val = counter_get(h);
33 33
  */
34
-/*
35
- * History:
36
- * --------
37
- *  2010-08-06  initial version (andrei)
38
-*/
39 34
 
40 35
 #ifndef __counters_h
41 36
 #define __counters_h
... ...
@@ -1,4 +1,3 @@
1
-/* $Id$*/
2 1
 
3 2
 #ifndef _CRC_H_
4 3
 #define _CRC_H_
... ...
@@ -1,5 +1,4 @@
1 1
 /*
2
- * $Id$
3 2
  *
4 3
  * Copyright (C) 2001-2003 FhG Fokus
5 4
  *
... ...
@@ -15,13 +14,15 @@
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
-/*
18
+/*!
19
+ * \file
20
+ * \brief SIP-router core :: Daemonize
21
+ * \author andrei
22
+ *      
23
+ * \ingroup core 
24
+ * Module: \ref core                    
25
+ *  
19 26
  * 
20
- * History:
21
- * --------
22
- *  2004-02-20  created by andrei
23
- *  2007-06-07  added mem_lock_pages() (andrei)
24
- *  2010-08-19  send status via pipe code derived from 9167c1 (ibc) (andrei)
25 27
  */
26 28
 
27 29
 #ifndef _daemonize_h
... ...
@@ -1,18 +1,16 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * adding/removing headers or any other data chunk from a message
5 3
  *
6 4
  * Copyright (C) 2001-2003 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
14 12
  *
15
- * ser is distributed in the hope that it will be useful,
13
+ * Kamailio is distributed in the hope that it will be useful,
16 14
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 15
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 16
  * GNU General Public License for more details.
... ...
@@ -22,20 +20,11 @@
22 22
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
23 23
  */
24 24
 
25
-/* History:
26
- * --------
27
- *  2003-01-29  s/int/enum ... more convenient for gdb (jiri)
28
- *  2003-03-31  added subst lumps -- they expand in ip addr, port a.s.o (andrei)
29
- *  2003-04-01  added opt (condition) lumps (andrei)
30
- *  2003-04-02  added more subst lumps: SUBST_{SND,RCV}_ALL  
31
- *              => ip:port;transport=proto (andrei)
32
- *  2005-03-22  the type of type attribute changed to enum _hdr_types_t (janakj)
33
- *
34
- */
35
-
36 25
 /*!
37 26
  * \file
38 27
  * \brief SIP-router core :: Data_lumps
28
+ * \author jiri, andrei, janakj
29
+ * adding/removing headers or any other data chunk from a message
39 30
  * \ingroup core
40 31
  * Module: \ref core
41 32
  */
... ...
@@ -1,17 +1,14 @@
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
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
15 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 14
  * GNU General Public License for more details.
... ...
@@ -20,20 +17,12 @@
20 20
  * along with this program; if not, write to the Free Software 
21 21
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22 22
  *
23
- * History:
24
- * 2002-02-14 : created by bogdan
25
- * 2003-09-11 : lump_rpl type added - LUMP_RPL_BODY & LUMP_RPL_HDR (bogdan)
26
- * 2003-11-11 : build_lump_rpl merged into add_lump_rpl; type removed;
27
- *              flags LUMP_RPL_BODY, LUMP_RPL_NODUP and LUMP_RPL_NOFREE
28
- *              added (bogdan)
29
- * 2006-10-16   add_lump_rpl2 added: same as the old add_lump_rpl, but
30
- *               returns a lump_rpl**, making a specific lump removal much
31
- *               more easy (andrei)
32 23
  */
33 24
 
34 25
 /*!
35 26
  * \file
36 27
  * \brief SIP-router core :: Data lumps
28
+ * \author bogdan, andrei
37 29
  * \ingroup core
38 30
  * Module: \ref core
39 31
  */
... ...
@@ -1,18 +1,16 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * resolver/dns related functions, dns cache and failover
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
14 12
  *
15
- * ser is distributed in the hope that it will be useful,
13
+ * Kamailio is distributed in the hope that it will be useful,
16 14
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 15
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 16
  * GNU General Public License for more details.
... ...
@@ -22,16 +20,11 @@
22 22
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
23 23
  */
24 24
 
25
-/* History:
26
- * --------
27
- *  2006-07-13  created by andrei
28
- *  2007-06-16  naptr support (andrei)
29
- *  2007-07-30  DNS cache measurements added (Gergo)
30
- */
31 25
 
32 26
 /**
33 27
  * @file
34 28
  * @brief SIP-router core :: resolver/dns related functions, dns cache and failover
29
+ * @author andrei
35 30
  * @ingroup core
36 31
  * Module: @ref core
37 32
  */
... ...
@@ -1,6 +1,4 @@
1 1
 /* 
2
- * $Id$
3
- * 
4 2
  * Copyright (C) 2013 mariuszbi@gmail.com
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -15,14 +13,15 @@
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
- * DNS Wrapper functions 
20
- */
21
-/*
22
- * History:
23
- * --------
24
- *  2013-03  initial version (marius)
25
-*/
18
+/*!
19
+ * \file
20
+ * \brief Kamailio core :: DNS wrapper functions
21
+ * \author mariuszbi@gmail.com
22
+ *      
23
+ * \ingroup core 
24
+ * Module: \ref core                    
25
+ *  
26
+ *
26 27
 
27 28
 #ifndef DNS_FUNC_H
28 29
 #define DNS_FUNC_H
... ...
@@ -1,23 +1,16 @@
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
14 12
  *
15
- * For a license to use the ser software under conditions
16
- * other than those described here, or to purchase support for this
17
- * software, please contact iptel.org by e-mail at the following addresses:
18
- *    info@iptel.org
19
- *
20
- * ser is distributed in the hope that it will be useful,
13
+ * Kamailio is distributed in the hope that it will be useful,
21 14
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 15
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 16
  * GNU General Public License for more details.
... ...
@@ -26,14 +19,11 @@
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-23  created by andrei
32
- */
33 29
 
34 30
 /**
35 31
  * @file
36 32
  * @brief SIP-router core :: resolver related functions
33
+ * @author andrei
37 34
  * @ingroup core
38 35
  * Module: @ref core
39 36
  */
... ...
@@ -42,7 +32,6 @@
42 42
 #define __dns_wrappers_h
43 43
 
44 44
 struct hostent* dns_resolvehost(char* name);
45
-struct hostent* dns_sip_resolvehost(str* name, unsigned short* port,
46
-										char* proto);
45
+struct hostent* dns_sip_resolvehost(str* name, unsigned short* port, char* proto);
47 46
 
48 47
 #endif
... ...
@@ -1,14 +1,14 @@
1 1
 /*
2 2
  * Copyright (C) 2001-2003 FhG Fokus
3 3
  *
4
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
5 5
  *
6
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
7 7
  * it under the terms of the GNU General Public License as published by
8 8
  * the Free Software Foundation; either version 2 of the License, or
9 9
  * (at your option) any later version
10 10
  *
11
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
12 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 14
  * GNU General Public License for more details.
... ...
@@ -1,16 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2004 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
12 10
  *
13
- * ser 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.
... ...
@@ -1,14 +1,14 @@
1 1
 /*
2 2
  * Copyright (C) 2006 iptelorg GmbH
3 3
  *
4
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
5 5
  *
6
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
7 7
  * it under the terms of the GNU General Public License as published by
8 8
  * the Free Software Foundation; either version 2 of the License, or
9 9
  * (at your option) any later version
10 10
  *
11
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
12 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 14
  * GNU General Public License for more details.
... ...
@@ -20,18 +20,11 @@
20 20
 
21 21
 /** SIP-router core :: Destination blacklists.
22 22
  * @file
23
+ * @author andrei, Gergo
23 24
  * @ingroup core
24 25
  * Module: @ref core
25 26
  */
26 27
 
27
-/* History:
28
- * --------
29
- *  2006-07-29  created by andrei
30
- *  2007-07-30  dst blacklist measurements added (Gergo)
31
- *  2009-12-22  blacklist ignore mask support and dst_blacklist_{add,su}
32
- *               switched to macros (andrei)
33
- */
34
-
35 28
 #ifndef dst_black_list_h
36 29
 #define dst_black_list_h
37 30
 
... ...
@@ -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
... ...
@@ -17,11 +15,10 @@
17 17
  */
18 18
 
19 19
 /** @file
20
- *  endianness compile and runtime  tests
20
+ *  Kamailio core :: endianness compile and runtime  tests
21
+ *  @author andrei
22
+ *  @ingroup core
21 23
  * 
22
- * History:
23
- * --------
24
- *  2008-06-13  created by andrei
25 24
  *
26 25
  * Defines:
27 26
  *  -  __IS_LITTLE_ENDIAN if the system is little endian and
... ...
@@ -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 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
12 10
  *
13
- * ser 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.
... ...
@@ -1,9 +1,8 @@
1 1
 /**
2
- * $Id$
3 2
  *
4 3
  * Copyright (C) 2009 SIP-Router.org
5 4
  *
6
- * This file is part of Extensible SIP Router, a free SIP server.
5
+ * This file is part of Kamailio, a free SIP server.
7 6
  *
8 7
  * Permission to use, copy, modify, and distribute this software for any
9 8
  * purpose with or without fee is hereby granted, provided that the above
... ...
@@ -1,10 +1,6 @@
1 1
 /*
2 2
  * fast architecture specific locking
3 3
  *
4
- * $Id$
5
- *
6
- * 
7
- *
8 4
  * Copyright (C) 2001-2003 FhG Fokus
9 5
  *
10 6
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -19,38 +15,12 @@
19 19
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
20 20
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 21
  */
22
-/*
23
- *
24
- *History:
25
- *--------
26
- *  2002-02-05  created by andrei
27
- *  2003-01-16  added PPC locking code contributed by Dinos Dorkofikis
28
- *               <kdor@intranet.gr>
29
- *  2004-09-12  added MIPS locking for ISA>=2 (>r3000)  (andrei)
30
- *  2004-12-16  for now use the same locking code for sparc32 as for sparc64
31
- *               (it will work only if NOSMP is defined) (andrei)
32
- *  2005-04-27  added alpha locking code (andrei)
33
- *  2005-05-25  PPC locking code enabled for PPC64; added a lwsync to
34
- *               the tsl part and replaced the sync with a lwsync for the
35
- *               unlock part (andrei)
36
- *  2006-03-08  mips2 NOSMP (skip sync), optimized x86 & mips clobbers and
37
- *               input/output constraints (andrei)
38
- *  2006-04-03  optimization: call lock_get memory barrier outside tsl,in the 
39
- *               calling function, only if the lock operation succeeded
40
- *               (membar_getlock()) (andrei)
41
- *              added try_lock(); more x86 optimizations, x86  release_lock
42
- *               fix (andrei)
43
- * 2006-04-04  sparc* optimizations, sparc32 smp support, armv6 no smp support,
44
- *              ppc, mips*, alpha optimizations (andrei)
45
- * 2006-04-05  ppc fixes (s/stw/stwx/, s/lwz/lwzx), early clobber added
46
- *             where needed (andrei)
47
- * 2006-11-22  arm early clobber added: according to the swp instruction 
48
- *              specification the address register must be != from the other 2
49
- *              (Julien Blache <jblache@debian.org>)
50
- *
51
- */
52
-
53
-/*
22
+/*!
23
+* \file
24
+* \brief Kamailio core :: fast architecture specific locking
25
+* \author andrei
26
+* \ingroup core
27
+* Module: \ref core
54 28
  * WARNING: the code was not tested on the following architectures:
55 29
  *           - arm6  (cross-compiles ok, no test)
56 30
  *           - alpha (cross-compiles ok, no test)
... ...
@@ -1,6 +1,4 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * here, we delete message lumps which are generated in
5 3
  * core functions using pkg_malloc and applied to shmem
6 4
  * requests; not doing so would result ugly memory problems
... ...
@@ -9,14 +7,14 @@
9 9
  *
10 10
  * Copyright (C) 2001-2003 FhG Fokus
11 11
  *
12
- * This file is part of ser, a free SIP server.
12
+ * This file is part of Kamailio, a free SIP server.
13 13
  *
14
- * ser is free software; you can redistribute it and/or modify
14
+ * Kamailio is free software; you can redistribute it and/or modify
15 15
  * it under the terms of the GNU General Public License as published by
16 16
  * the Free Software Foundation; either version 2 of the License, or
17 17
  * (at your option) any later version
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 +23,17 @@
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
-/*
29
- * History:
30
- * -------
31
- *  2003-11-24  changed free_via_lump to free_via_clen_lump and make it
32
- *              handle CONTENTLENGTH lumps also (andrei)
33
- *  2005-07-04  lumps in SHM or dup'ed lumps are not freed and an warning
34
- *               message is logged (temporary fix) (andrei)
35
- */
28
+/*!
29
+* \file
30
+* \brief Kamailio core :: Lump handling
31
+* \ingroup core
32
+* Module: \ref core
33
+ * here, we delete message lumps which are generated in
34
+ * core functions using pkg_malloc and applied to shmem
35
+ * requests; not doing so would result ugly memory problems
36
+ *
37
+ * I admit it is not a nice hack; -jiri 
38
+*/
36 39
 
37 40
 
38 41
 
... ...
@@ -1,21 +1,14 @@
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
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -24,6 +17,12 @@
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
+* \file
29
+* \brief Kamailio core :: Flag handling
30
+* \ingroup core
31
+* Module: \ref core
32
+*/
27 33
 
28 34
 
29 35
 
... ...
@@ -1,21 +1,14 @@
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
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -24,22 +17,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
- * History:
29
- * -------
30
- *  2001-??-?? created by andrei
31
- *  ????-??-?? lots of changes by a lot of people
32
- *  2003-02-11 added inline msg_send (andrei)
33
- *  2003-04-07 changed all ports to host byte order (andrei)
34
- *  2003-04-12  FORCE_RPORT_T added (andrei)
35
- *  2003-04-15  added tcp_disable support (andrei)
36
- *  2006-04-12  reduced msg_send() parameter list: it uses now a struct 
37
- *               dest_info param. (andrei)
38
- *  2007-10-08  msg_send() will ignore a mcast send_sock and choose another
39
- *               one by itself (andrei)
40
- */
41
-
42
-
27
+/*!
28
+* \file
29
+* \brief Kamailio core :: Message forwarding
30
+* \author andrei
31
+* \ingroup core
32
+* Module: \ref core
33
+*/
43 34
 
44 35
 #ifndef forward_h
45 36
 #define forward_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,7 +13,13 @@
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
-/*
18
+/*!
19
+* \file
20
+* \brief Kamailio core :: locks
21
+* \author andrei
22
+* \ingroup core
23
+* Module: \ref core
24
+ *
19 25
  * futex based lock (mutex) implementation  (linux 2.6+ only)
20 26
  * based on Ulrich Drepper implementation in "Futexes Are Tricky"
21 27
  * (http://people.redhat.com/drepper/futex.pdf)
... ...
@@ -29,12 +33,6 @@
29 29
  *
30 30
  *  Config defines:
31 31
  */
32
-/* 
33
- * History:
34
- * --------
35
- *  2007-05-13  created by andrei
36
- *  2007-06-12  added ADAPTIVE_WAIT busy waiting (andrei)
37
- */
38 32
 
39 33
 #ifndef _futexlock_h
40 34
 #define _futexlock_h
... ...
@@ -1,24 +1,17 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * global variables
5 3
  *
6 4
  *
7 5
  * Copyright (C) 2001-2003 FhG Fokus
8 6
  *
9
- * This file is part of ser, a free SIP server.
7
+ * This file is part of Kamailio, a free SIP server.
10 8
  *
11
- * ser is free software; you can redistribute it and/or modify
9
+ * Kamailio is free software; you can redistribute it and/or modify
12 10
  * it under the terms of the GNU General Public License as published by
13 11
  * the Free Software Foundation; either version 2 of the License, or
14 12
  * (at your option) any later version
15 13
  *
16
- * For a license to use the ser software under conditions
17
- * other than those described here, or to purchase support for this
18
- * software, please contact iptel.org by e-mail at the following addresses:
19
- *    info@iptel.org
20
- *
21
- * ser is distributed in the hope that it will be useful,
14
+ * Kamailio is distributed in the hope that it will be useful,
22 15
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 16
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24 17
  * GNU General Public License for more details.
... ...
@@ -27,6 +20,12 @@
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
+* \file
32
+* \brief Kamailio core :: Global variables
33
+* \ingroup core
34
+* Module: \ref core
35
+*/
30 36
 
31 37
 
32 38
 
... ...
@@ -1,21 +1,14 @@
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
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -24,6 +17,12 @@
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
+* \file
29
+* \brief Kamailio core :: Hash support
30
+* \ingroup core
31
+* Module: \ref core
32
+*/
27 33
 
28 34
 
29 35
 
... ...
@@ -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
... ...
@@ -15,14 +13,13 @@
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
- * History:
20
- * --------
21
- *  2006-02-02  created by andrei
22
- *  2006-11-24  added numeric string optimized hash function (andrei)
23
- *  2006-12-13  split into hashes.h (more generic) and str_hash.h (andrei)
24
- *  2007-02-22  added case insensitive versions (andrei)
25
- */
18
+/*!
19
+* \file
20
+* \brief Kamailio core :: hash support
21
+* \author Andrei
22
+* \ingroup core
23
+* Module: \ref core
24
+*/
26 25
 
27 26
 
28 27
 #ifndef _hashes_h
... ...
@@ -32,7 +29,7 @@
32 32
 
33 33
 
34 34
 
35
-/* internal use: hash update
35
+/** internal use: hash update
36 36
  * params: char* s   - string start,
37 37
  *         char* end - end
38 38
  *         char* p,  and unsigned v temporary vars (used)
... ...
@@ -57,7 +54,7 @@
57 57
 		(h)+=(v)^((v)>>3); \
58 58
 	}while(0)
59 59
 
60
-/* like hash_update_str, but case insensitive 
60
+/** like hash_update_str, but case insensitive 
61 61
  * params: char* s   - string start,
62 62
  *         char* end - end
63 63
  *         char* p,  and unsigned v temporary vars (used)
... ...
@@ -75,12 +72,12 @@
75 75
 	}while(0)
76 76
 
77 77
 
78
-/* internal use: call it to adjust the h from hash_update_str */
78
+/** internal use: call it to adjust the h from hash_update_str */
79 79
 #define hash_finish(h) (((h)+((h)>>11))+(((h)>>13)+((h)>>23)))
80 80
 
81 81
 
82 82
 
83
-/* "raw" 2 strings hash
83
+/** "raw" 2 strings hash
84 84
  * returns an unsigned int (which you can use modulo table_size as hash value)
85 85
  */
86 86
 inline static unsigned int get_hash2_raw(const str* key1, const str* key2)
... ...
@@ -98,7 +95,7 @@ inline static unsigned int get_hash2_raw(const str* key1, const str* key2)
98 98
 
99 99
 
100 100
 
101
-/* "raw" 1 string hash
101
+/** "raw" 1 string hash
102 102
  * returns an unsigned int (which you can use modulo table_size as hash value)
103 103
  */
104 104
 inline static unsigned int get_hash1_raw(const char* s, int len)
... ...
@@ -115,7 +112,7 @@ inline static unsigned int get_hash1_raw(const char* s, int len)
115 115
 
116 116
 
117 117
 
118
-/* a little slower than hash_* , but better distribution for 
118
+/** a little slower than hash_* , but better distribution for 
119 119
  * numbers and about the same for strings */
120 120
 #define hash_update_str2(s, end, p, v, h) \
121 121
 	do{ \
... ...
@@ -128,7 +125,7 @@ inline static unsigned int get_hash1_raw(const char* s, int len)
128 128
 		(h)=16777259*(h)+((v)^((v)<<17)); \
129 129
 	}while(0)
130 130
 
131
-/*  like hash_update_str2 but case insensitive */
131
+/**  like hash_update_str2 but case insensitive */
132 132
 #define hash_update_case_str2(s, end, p, v, h) \
133 133
 	do{ \
134 134
 		for ((p)=(s); (p)<=((end)-4); (p)+=4){ \
... ...
@@ -141,12 +138,12 @@ inline static unsigned int get_hash1_raw(const char* s, int len)
141 141
 		(h)=16777259*(h)+((v)^((v)<<17)); \
142 142
 	}while(0)
143 143
 
144
-/* internal use: call it to adjust the h from hash_update_str */
144
+/** internal use: call it to adjust the h from hash_update_str */
145 145
 #define hash_finish2(h) (((h)+((h)>>7))+(((h)>>13)+((h)>>23)))
146 146
 
147 147
 
148 148
 
149
-/* a little slower than get_hash1_raw() , but better distribution for 
149
+/** a little slower than get_hash1_raw() , but better distribution for 
150 150
  * numbers and about the same for strings */
151 151
 inline static unsigned int get_hash1_raw2(const char* s, int len)
152 152
 {
... ...
@@ -1,21 +1,14 @@
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
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -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,10 +13,16 @@
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
18
+/*!
19
+* \file
20
+* \brief Kamailio core :: tcp io wait common stuff used by tcp_main.c & tcp_read.c
21
+* \ingroup core
22
+* Module: \ref core
23
+* \author andrei
24
+*
20 25
  * All the functions are inline because of speed reasons and because they are
21 26
  * used only from 2 places.
27
+ *
22 28
  * You also have to define:
23 29
  *     int handle_io(struct fd_map* fm, short events, int idx) (see below)
24 30
  *     (this could be trivially replaced by a callback pointer entry attached
... ...
@@ -33,22 +37,6 @@
33 33
  *     local_free   (defaults to pkg_free)
34 34
  *
35 35
  */
36
-/*
37
- * History:
38
- * --------
39
- *  2005-06-13  created by andrei
40
- *  2005-06-26  added kqueue (andrei)
41
- *  2005-07-01  added /dev/poll (andrei)
42
- *  2006-05-30  sigio 64 bit workarround enabled for kernels < 2.6.5 (andrei)
43
- *  2007-11-22  when handle_io() is called in a loop check & stop if the fd was
44
- *               removed inside handle_io() (andrei)
45
- *  2007-11-29  support for write (POLLOUT); added io_watch_chg() (andrei)
46
- *  2008-02-04  POLLRDHUP & EPOLLRDHUP support (automatically enabled if POLLIN
47
- *               is set) (andrei)
48
- *  2010-06-17  re-enabled & enhanced the EV_ERROR for kqueue (andrei)
49
- */
50
-
51
-
52 36
 
53 37
 #ifndef _io_wait_h
54 38
 #define _io_wait_h
... ...
@@ -1,4 +1,4 @@
1
-/* $Id$
1
+/*