Browse Source

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

Olle E. Johansson 10 years ago
parent
commit
02ca141bb8
43 changed files with 232 additions and 431 deletions
  1. 4 12
      action.h
  2. 6 2
      async_task.h
  3. 3 4
      atomic_ops.h
  4. 6 11
      atomic_ops_init.h
  5. 1 2
      basex.h
  6. 6 6
      bit_count.h
  7. 3 3
      bit_scan.h
  8. 5 7
      bit_test.h
  9. 12 20
      cfg_core.h
  10. 4 4
      cfg_parser.h
  11. 4 13
      char_msg_val.h
  12. 5 10
      clist.h
  13. 10 7
      comp_defs.h
  14. 2 9
      compiler_opt.h
  15. 4 11
      config.h
  16. 4 11
      core_cmd.h
  17. 1 6
      core_stats.h
  18. 2 8
      counters.h
  19. 0 1
      crc.h
  20. 8 7
      daemonize.h
  21. 5 16
      data_lump.h
  22. 4 15
      data_lump_rpl.h
  23. 4 11
      dns_cache.h
  24. 9 10
      dns_func.h
  25. 5 16
      dns_wrappers.h
  26. 3 3
      dprint.h
  27. 3 5
      dset.h
  28. 4 11
      dst_blacklist.h
  29. 3 6
      endianness.h
  30. 3 5
      error.h
  31. 1 2
      events.h
  32. 6 36
      fastlock.h
  33. 14 13
      fix_lumps.h
  34. 9 10
      flags.h
  35. 10 26
      forward.h
  36. 7 9
      futexlock.h
  37. 9 10
      globals.h
  38. 9 10
      hash_func.h
  39. 16 19
      hashes.h
  40. 3 10
      id.h
  41. 8 20
      io_wait.h
  42. 7 12
      ip_addr.h
  43. 0 2
      kstats_types.h

+ 4 - 12
action.h

@@ -1,22 +1,14 @@
 /*
- * $Id$
- *
- *
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * For a license to use the ser software under conditions
- * other than those described here, or to purchase support for this
- * software, please contact iptel.org by e-mail at the following addresses:
- *    [email protected]
- *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -28,7 +20,7 @@
 
 /*!
  * \file
- * \brief SIP-router core ::
+ * \brief SIP-router core :: Actions
  * \ingroup core
  * Module: \ref core
  */

+ 6 - 2
async_task.h

@@ -1,7 +1,7 @@
-/**
+/*
  * Copyright (C) 2014 Daniel-Constantin Mierla (asipto.com)
  *
- * This file is part of Extensible SIP Router, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -16,6 +16,10 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+/** Kamailio core :: Aync tasks
+ * @ingroup core
+ * Module: core
+ */
 
 #ifndef _ASYNC_TASK_H_
 #define _ASYNC_TASK_H_

+ 3 - 4
atomic_ops.h

@@ -1,6 +1,4 @@
 /* 
- * $Id$
- * 
  * Copyright (C) 2006 iptelorg GmbH
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -18,13 +16,14 @@
 
 /*!
  * \file
- * \brief SIP-router core :: Atomic operations and memory barriers
+ * \brief Kamailio core :: Atomic operations and memory barriers
+ * Copyright (C) 2006 iptelorg GmbH
  * \ingroup core
  * Module: \ref core
  * See \ref atomic
  */
 
-/*
+/**
  * \page atomicops  Atomic operations and memory barriers
  *
  *  WARNING: atomic ops do not include memory barriers

+ 6 - 11
atomic_ops_init.h

@@ -1,16 +1,14 @@
 /* 
- * $Id$
- * 
  * Copyright (C) 2006 iptelorg GmbH
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -22,7 +20,9 @@
 
 /*!
  * \file
- * \brief SIP-router core :: atomic_ops init functions
+ * \brief Kamailio core :: atomic_ops init functions
+ *
+ * Copyright (C) 2006 iptelorg GmbH
  *
  * \ingroup core
  * Module: \ref core
@@ -30,11 +30,6 @@
  * Needed for lock intializing if no native asm locks are available
  *  for the current arch./compiler combination, see \ref atomic_ops.c
  */
-/* 
- * History:
- * --------
- *  2006-03-30  created by andrei
- */
 
 #ifndef __atomic_ops_init_h
 #define __atomic_ops_init_h

+ 1 - 2
basex.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * convert/decode to/from ascii using various bases
  *
  * Copyright (C) 2008 iptelorg GmbH
@@ -22,6 +20,7 @@
  * \file
  * \brief SIP-router core :: convert/decode to/from ascii using various bases
  *
+ * Copyright (C) 2008 iptelorg GmbH
  * \ingroup core
  *
  * Module: \ref core

+ 6 - 6
bit_count.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2010 iptelorg GmbH
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -15,16 +13,18 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  *
- * History
- * -------
- *  2010-04-26	Initial version (Miklos)
  */
 
-/* Implements the bit counting function:
+/** Kamailio core ::  Implements the bit counting function:
+ * Copyright (C) 2010 iptelorg GmbH
+ * @ingroup core
+ * Module: core
+ *
  *   int bit_count(unsigned int u)
  *   Returns the number of bits in u.
  */
 
+
 #ifndef _BIT_COUNT_H
 #define _BIT_COUNT_H
 

+ 3 - 3
bit_scan.h

@@ -1,6 +1,4 @@
 /* 
- * $Id$
- * 
  * Copyright (C) 2007 iptelorg GmbH
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -17,7 +15,9 @@
  */
 /*!
  * \file
- * \brief SIP-router core :: bit scan operations
+ * \brief Kamailio core :: bit scan operations
+ *
+ * Copyright (C) 2007 iptelorg GmbH
  * \ingroup core
  * Module: \ref core
  *

+ 5 - 7
bit_test.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2010 iptelorg GmbH
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -15,13 +13,13 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  *
- * History
- * -------
- *  2010-04-26	Initial version (Miklos)
- *  2011-01-05	bit_test_and_reset added (Miklos)
  */
 
-/* Bit test functions:
+/** Kamailio core :: Bit test functions
+ * @ingroup core
+ * Module: core
+ *
+ * Bit test functions:
  *  - int bit_test(int offset, unsigned int *addr)
  *      Returns the bit found at offset position 
  *      in a bitstring pointed by addr.

+ 12 - 20
cfg_core.h

@@ -1,21 +1,14 @@
 /*
- * $Id$
- *
  * Copyright (C) 2007 iptelorg GmbH
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * For a license to use the ser software under conditions
- * other than those described here, or to purchase support for this
- * software, please contact iptel.org by e-mail at the following addresses:
- *    [email protected]
- *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -24,6 +17,15 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  *
+ *
+ */
+
+/** Kamailio core :: runtime configuration variables
+ * @file cfg_core.h
+ * @ingroup core
+ *
+ * Module: @ref core
+ *
  * HOWTO:
  *	If you need a new configuration variable within the core, put it into
  *	struct cfg_goup_core, and define it in cfg_core.c:core_cfg_def array.
@@ -31,16 +33,6 @@
  *	cfg_core.c:default_core_cfg
  *	Include this header file in your source code, and retrieve the
  *	value with cfg_get(core, core_cfg, variable_name).
- *
- * History
- * -------
- *  2007-12-03	Initial version (Miklos)
- */
-/** core runtime config.
- * @file cfg_core.h
- * @ingroup core
- *
- * Module: @ref core
  */
 
 

+ 4 - 4
cfg_parser.h

@@ -1,18 +1,17 @@
 /*
- * $Id$
  * Standalone Configuration File Parser
  *
  * Copyright (C) 2008 iptelorg GmbH
  * Written by Jan Janak <[email protected]>
  *
- * This file is part of SER, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * SER is free software; you can redistribute it and/or modify it under the
+ * Kamailio is free software; you can redistribute it and/or modify it under the
  * terms of the GNU General Public License as published by the Free Software
  * Foundation; either version 2 of the License, or (at your option) any later
  * version.
  *
- * SER is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Kamailio is distributed in the hope that it will be useful, but WITHOUT ANY
  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
  * details.
@@ -25,6 +24,7 @@
 /*!
  * \file
  * \brief SIP-router core :: Standalone Configuration File Parser
+ * Written by Jan Janak <[email protected]>
  *
  * \ingroup core
  * Module: \ref core

+ 4 - 13
char_msg_val.h

@@ -1,6 +1,4 @@
 /* 
- * $Id$
- * 
  * Copyright (C) 2010 iptelorg GmbH
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -15,20 +13,13 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-/*
- * char_msg_val.h
- */
-/*
- * History:
- * --------
- *  2010-02-10  moved from parser/msg_parser.h and added tag only mode
- *               by default (andrei)
-*/
+
 /** compute the characteristic value of a message.
  * @file
  * @ingroup core
- */
-/* Defines:
+ * \author andrei
+ *
+ * Defines:
  *  BRANCH_INCLUDE_FROMTO_BODY - if defined the old (pre 3.1) mode of
  *   including the full from & to bodies will be used (instead of only the
  *   tags).

+ 5 - 10
clist.h

@@ -1,18 +1,16 @@
 /*
- * $Id$
- *
  * circular list maintenance macros
  *
  * Copyright (C) 2005 iptelorg GmbH
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -24,16 +22,13 @@
 
 /*!
  * \file
- * \brief SIP-router core :: circular list maintenance macros
+ * \brief Kamailio core :: circular list maintenance macros
  *
+ * \author andrei
  * \ingroup core
  * Module: \ref core
  */
 
-/* History:
- * --------
- *  2005-08-08  created by andrei
- */
 
 #ifndef _clist_h
 #define _clist_h

+ 10 - 7
comp_defs.h

@@ -1,16 +1,14 @@
 /*
- * $Id$
- *
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -19,8 +17,13 @@
  * along with this program; if not, write to the Free Software 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
-
-/*! \brief compatibility defs for emergency roll-back if things do not work ;
+/*!
+ * \file
+ * \brief Kamailio core :: compatibility defs for emergency roll-back if things do not work 
+ *      
+ * \ingroup core 
+ * Module: \ref core                    
+ *  
  * if that happens:
  * 	- a) define PRESERVE_ZT (affects most of parser)
  * 	- b) define DONT_REMOVE_ZT (affects first line)

+ 2 - 9
compiler_opt.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- * 
  * Copyright (C) 2007 iptelorg GmbH
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -18,8 +16,9 @@
 
 /*!
  * \file
- * \brief SIP-router core :: Compiler specific optimizations
+ * \brief Kamailio core :: Compiler specific optimizations
  * \see \ref CompilerOptions
+ * \auth Andrei
  *
  * \ingroup core
  * Module: \ref core
@@ -45,12 +44,6 @@
 \endverbatim
  */
 
-/* 
- * History:
- * --------
- *  2007-05-14  created by andrei
- */
-
 #ifndef __compiler_opt_h
 #define __compiler_opt_h
 

+ 4 - 11
config.h

@@ -1,16 +1,14 @@
 /*
- *  $Id$
- *
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of SIP-router, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * SIP-router is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * SIP-router is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -19,17 +17,12 @@
  * along with this program; if not, write to the Free Software 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  *
- * History:
- * --------
- * 2003-04-05  DEFAULT_*_URL introduced (jiri)
- * 2003-07-04  fixed SRV lookup prefix for TLS/sips (andrei)
- * 2005-04-25  MAX_BRANCH_PARAM_LEN too small, fixed (andrei)
- *
  */
 
 /*!
  * \file
  * \brief SIP-router core :: Configuration options
+ * \author jiri, andrei
  *
  * These settings are settable by the user before compilation
  *

+ 4 - 11
core_cmd.h

@@ -1,21 +1,14 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005 iptelorg GmbH
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * For a license to use the ser software under conditions
- * other than those described here, or to purchase support for this
- * software, please contact iptel.org by e-mail at the following addresses:
- *    [email protected]
- *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -27,7 +20,7 @@
 
 /*!
  * \file
- * \brief SIP-router core :: 
+ * \brief Kamailio core :: Register RPC
  * \ingroup core
  * Module: \ref core
  */

+ 1 - 6
core_stats.h

@@ -21,14 +21,9 @@
  * they won't do anything).
  * @file
  * @ingroup core
+ * @author andrei
  */
  
-/*
- * History:
- * --------
- *  2010-02-01  initial version (andrei)
-*/
-
 #ifndef __core_stats_h
 #define __core_stats_h
 

+ 2 - 8
counters.h

@@ -1,6 +1,4 @@
 /* 
- * $Id$
- * 
  * Copyright (C) 2010 iptelorg GmbH
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +13,8 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-/** counter/stats.
+/** Kamailio core :: counter/stats.
+ * @author andrei
  * @file counters.h
  * @ingroup:  core
  *
@@ -31,11 +30,6 @@
  *  4. get a counter value (the handle can be obtained like above)
  *    val = counter_get(h);
  */
-/*
- * History:
- * --------
- *  2010-08-06  initial version (andrei)
-*/
 
 #ifndef __counters_h
 #define __counters_h

+ 0 - 1
crc.h

@@ -1,4 +1,3 @@
-/* $Id$*/
 
 #ifndef _CRC_H_
 #define _CRC_H_

+ 8 - 7
daemonize.h

@@ -1,5 +1,4 @@
 /*
- * $Id$
  *
  * Copyright (C) 2001-2003 FhG Fokus
  *
@@ -15,13 +14,15 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-/*
+/*!
+ * \file
+ * \brief SIP-router core :: Daemonize
+ * \author andrei
+ *      
+ * \ingroup core 
+ * Module: \ref core                    
+ *  
  * 
- * History:
- * --------
- *  2004-02-20  created by andrei
- *  2007-06-07  added mem_lock_pages() (andrei)
- *  2010-08-19  send status via pipe code derived from 9167c1 (ibc) (andrei)
  */
 
 #ifndef _daemonize_h

+ 5 - 16
data_lump.h

@@ -1,18 +1,16 @@
 /*
- * $Id$
- *
  * adding/removing headers or any other data chunk from a message
  *
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -22,20 +20,11 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-/* History:
- * --------
- *  2003-01-29  s/int/enum ... more convenient for gdb (jiri)
- *  2003-03-31  added subst lumps -- they expand in ip addr, port a.s.o (andrei)
- *  2003-04-01  added opt (condition) lumps (andrei)
- *  2003-04-02  added more subst lumps: SUBST_{SND,RCV}_ALL  
- *              => ip:port;transport=proto (andrei)
- *  2005-03-22  the type of type attribute changed to enum _hdr_types_t (janakj)
- *
- */
-
 /*!
  * \file
  * \brief SIP-router core :: Data_lumps
+ * \author jiri, andrei, janakj
+ * adding/removing headers or any other data chunk from a message
  * \ingroup core
  * Module: \ref core
  */

+ 4 - 15
data_lump_rpl.h

@@ -1,17 +1,14 @@
 /*
- * $Id$
- *
- *
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -20,20 +17,12 @@
  * along with this program; if not, write to the Free Software 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  *
- * History:
- * 2002-02-14 : created by bogdan
- * 2003-09-11 : lump_rpl type added - LUMP_RPL_BODY & LUMP_RPL_HDR (bogdan)
- * 2003-11-11 : build_lump_rpl merged into add_lump_rpl; type removed;
- *              flags LUMP_RPL_BODY, LUMP_RPL_NODUP and LUMP_RPL_NOFREE
- *              added (bogdan)
- * 2006-10-16   add_lump_rpl2 added: same as the old add_lump_rpl, but
- *               returns a lump_rpl**, making a specific lump removal much
- *               more easy (andrei)
  */
 
 /*!
  * \file
  * \brief SIP-router core :: Data lumps
+ * \author bogdan, andrei
  * \ingroup core
  * Module: \ref core
  */

+ 4 - 11
dns_cache.h

@@ -1,18 +1,16 @@
 /*
- * $Id$
- *
  * resolver/dns related functions, dns cache and failover
  *
  * Copyright (C) 2006 iptelorg GmbH
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -22,16 +20,11 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-/* History:
- * --------
- *  2006-07-13  created by andrei
- *  2007-06-16  naptr support (andrei)
- *  2007-07-30  DNS cache measurements added (Gergo)
- */
 
 /**
  * @file
  * @brief SIP-router core :: resolver/dns related functions, dns cache and failover
+ * @author andrei
  * @ingroup core
  * Module: @ref core
  */

+ 9 - 10
dns_func.h

@@ -1,6 +1,4 @@
 /* 
- * $Id$
- * 
  * Copyright (C) 2013 [email protected]
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -15,14 +13,15 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-/*
- * DNS Wrapper functions 
- */
-/*
- * History:
- * --------
- *  2013-03  initial version (marius)
-*/
+/*!
+ * \file
+ * \brief Kamailio core :: DNS wrapper functions
+ * \author [email protected]
+ *      
+ * \ingroup core 
+ * Module: \ref core                    
+ *  
+ *
 
 #ifndef DNS_FUNC_H
 #define DNS_FUNC_H

+ 5 - 16
dns_wrappers.h

@@ -1,23 +1,16 @@
 /*
- * $Id$
- *
  * resolver related functions
  *
  * Copyright (C) 2006 iptelorg GmbH
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * For a license to use the ser software under conditions
- * other than those described here, or to purchase support for this
- * software, please contact iptel.org by e-mail at the following addresses:
- *    [email protected]
- *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -26,14 +19,11 @@
  * along with this program; if not, write to the Free Software 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
-/* History:
- * --------
- *  2006-07-23  created by andrei
- */
 
 /**
  * @file
  * @brief SIP-router core :: resolver related functions
+ * @author andrei
  * @ingroup core
  * Module: @ref core
  */
@@ -42,7 +32,6 @@
 #define __dns_wrappers_h
 
 struct hostent* dns_resolvehost(char* name);
-struct hostent* dns_sip_resolvehost(str* name, unsigned short* port,
-										char* proto);
+struct hostent* dns_sip_resolvehost(str* name, unsigned short* port, char* proto);
 
 #endif

+ 3 - 3
dprint.h

@@ -1,14 +1,14 @@
 /*
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.

+ 3 - 5
dset.h

@@ -1,16 +1,14 @@
 /*
- * $Id$
- *
  * Copyright (C) 2001-2004 FhG FOKUS
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.

+ 4 - 11
dst_blacklist.h

@@ -1,14 +1,14 @@
 /*
  * Copyright (C) 2006 iptelorg GmbH
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -20,18 +20,11 @@
 
 /** SIP-router core :: Destination blacklists.
  * @file
+ * @author andrei, Gergo
  * @ingroup core
  * Module: @ref core
  */
 
-/* History:
- * --------
- *  2006-07-29  created by andrei
- *  2007-07-30  dst blacklist measurements added (Gergo)
- *  2009-12-22  blacklist ignore mask support and dst_blacklist_{add,su}
- *               switched to macros (andrei)
- */
-
 #ifndef dst_black_list_h
 #define dst_black_list_h
 

+ 3 - 6
endianness.h

@@ -1,6 +1,4 @@
 /* 
- * $Id$
- * 
  * Copyright (C) 2008 iptelorg GmbH
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -17,11 +15,10 @@
  */
 
 /** @file
- *  endianness compile and runtime  tests
+ *  Kamailio core :: endianness compile and runtime  tests
+ *  @author andrei
+ *  @ingroup core
  * 
- * History:
- * --------
- *  2008-06-13  created by andrei
  *
  * Defines:
  *  -  __IS_LITTLE_ENDIAN if the system is little endian and

+ 3 - 5
error.h

@@ -1,16 +1,14 @@
 /*
- * $Id$
- *
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.

+ 1 - 2
events.h

@@ -1,9 +1,8 @@
 /**
- * $Id$
  *
  * Copyright (C) 2009 SIP-Router.org
  *
- * This file is part of Extensible SIP Router, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above

+ 6 - 36
fastlock.h

@@ -1,10 +1,6 @@
 /*
  * fast architecture specific locking
  *
- * $Id$
- *
- * 
- *
  * Copyright (C) 2001-2003 FhG Fokus
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -19,38 +15,12 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-/*
- *
- *History:
- *--------
- *  2002-02-05  created by andrei
- *  2003-01-16  added PPC locking code contributed by Dinos Dorkofikis
- *               <[email protected]>
- *  2004-09-12  added MIPS locking for ISA>=2 (>r3000)  (andrei)
- *  2004-12-16  for now use the same locking code for sparc32 as for sparc64
- *               (it will work only if NOSMP is defined) (andrei)
- *  2005-04-27  added alpha locking code (andrei)
- *  2005-05-25  PPC locking code enabled for PPC64; added a lwsync to
- *               the tsl part and replaced the sync with a lwsync for the
- *               unlock part (andrei)
- *  2006-03-08  mips2 NOSMP (skip sync), optimized x86 & mips clobbers and
- *               input/output constraints (andrei)
- *  2006-04-03  optimization: call lock_get memory barrier outside tsl,in the 
- *               calling function, only if the lock operation succeeded
- *               (membar_getlock()) (andrei)
- *              added try_lock(); more x86 optimizations, x86  release_lock
- *               fix (andrei)
- * 2006-04-04  sparc* optimizations, sparc32 smp support, armv6 no smp support,
- *              ppc, mips*, alpha optimizations (andrei)
- * 2006-04-05  ppc fixes (s/stw/stwx/, s/lwz/lwzx), early clobber added
- *             where needed (andrei)
- * 2006-11-22  arm early clobber added: according to the swp instruction 
- *              specification the address register must be != from the other 2
- *              (Julien Blache <[email protected]>)
- *
- */
-
-/*
+/*!
+* \file
+* \brief Kamailio core :: fast architecture specific locking
+* \author andrei
+* \ingroup core
+* Module: \ref core
  * WARNING: the code was not tested on the following architectures:
  *           - arm6  (cross-compiles ok, no test)
  *           - alpha (cross-compiles ok, no test)

+ 14 - 13
fix_lumps.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * here, we delete message lumps which are generated in
  * core functions using pkg_malloc and applied to shmem
  * requests; not doing so would result ugly memory problems
@@ -9,14 +7,14 @@
  *
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -25,14 +23,17 @@
  * along with this program; if not, write to the Free Software 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
-/*
- * History:
- * -------
- *  2003-11-24  changed free_via_lump to free_via_clen_lump and make it
- *              handle CONTENTLENGTH lumps also (andrei)
- *  2005-07-04  lumps in SHM or dup'ed lumps are not freed and an warning
- *               message is logged (temporary fix) (andrei)
- */
+/*!
+* \file
+* \brief Kamailio core :: Lump handling
+* \ingroup core
+* Module: \ref core
+ * here, we delete message lumps which are generated in
+ * core functions using pkg_malloc and applied to shmem
+ * requests; not doing so would result ugly memory problems
+ *
+ * I admit it is not a nice hack; -jiri 
+*/
 
 
 

+ 9 - 10
flags.h

@@ -1,21 +1,14 @@
 /*
- * $Id$
- *
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * For a license to use the ser software under conditions
- * other than those described here, or to purchase support for this
- * software, please contact iptel.org by e-mail at the following addresses:
- *    [email protected]
- *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -24,6 +17,12 @@
  * along with this program; if not, write to the Free Software 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
+/*!
+* \file
+* \brief Kamailio core :: Flag handling
+* \ingroup core
+* Module: \ref core
+*/
 
 
 

+ 10 - 26
forward.h

@@ -1,21 +1,14 @@
 /*
- *  $Id$
- *
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * For a license to use the ser software under conditions
- * other than those described here, or to purchase support for this
- * software, please contact iptel.org by e-mail at the following addresses:
- *    [email protected]
- *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -24,22 +17,13 @@
  * along with this program; if not, write to the Free Software 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
-/*
- * History:
- * -------
- *  2001-??-?? created by andrei
- *  ????-??-?? lots of changes by a lot of people
- *  2003-02-11 added inline msg_send (andrei)
- *  2003-04-07 changed all ports to host byte order (andrei)
- *  2003-04-12  FORCE_RPORT_T added (andrei)
- *  2003-04-15  added tcp_disable support (andrei)
- *  2006-04-12  reduced msg_send() parameter list: it uses now a struct 
- *               dest_info param. (andrei)
- *  2007-10-08  msg_send() will ignore a mcast send_sock and choose another
- *               one by itself (andrei)
- */
-
-
+/*!
+* \file
+* \brief Kamailio core :: Message forwarding
+* \author andrei
+* \ingroup core
+* Module: \ref core
+*/
 
 #ifndef forward_h
 #define forward_h

+ 7 - 9
futexlock.h

@@ -1,6 +1,4 @@
 /* 
- * $Id$
- * 
  * Copyright (C) 2007 iptelorg GmbH
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +13,13 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-/*
+/*!
+* \file
+* \brief Kamailio core :: locks
+* \author andrei
+* \ingroup core
+* Module: \ref core
+ *
  * futex based lock (mutex) implementation  (linux 2.6+ only)
  * based on Ulrich Drepper implementation in "Futexes Are Tricky"
  * (http://people.redhat.com/drepper/futex.pdf)
@@ -29,12 +33,6 @@
  *
  *  Config defines:
  */
-/* 
- * History:
- * --------
- *  2007-05-13  created by andrei
- *  2007-06-12  added ADAPTIVE_WAIT busy waiting (andrei)
- */
 
 #ifndef _futexlock_h
 #define _futexlock_h

+ 9 - 10
globals.h

@@ -1,24 +1,17 @@
 /*
- * $Id$
- *
  * global variables
  *
  *
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * For a license to use the ser software under conditions
- * other than those described here, or to purchase support for this
- * software, please contact iptel.org by e-mail at the following addresses:
- *    [email protected]
- *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -27,6 +20,12 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
+/*!
+* \file
+* \brief Kamailio core :: Global variables
+* \ingroup core
+* Module: \ref core
+*/
 
 
 

+ 9 - 10
hash_func.h

@@ -1,21 +1,14 @@
 /*
- * $Id$
- *
  * Copyright (C) 2001-2003 FhG Fokus
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * For a license to use the ser software under conditions
- * other than those described here, or to purchase support for this
- * software, please contact iptel.org by e-mail at the following addresses:
- *    [email protected]
- *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
@@ -24,6 +17,12 @@
  * along with this program; if not, write to the Free Software 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
+/*!
+* \file
+* \brief Kamailio core :: Hash support
+* \ingroup core
+* Module: \ref core
+*/
 
 
 

+ 16 - 19
hashes.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2006 iptelorg GmbH 
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -15,14 +13,13 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-/*
- * History:
- * --------
- *  2006-02-02  created by andrei
- *  2006-11-24  added numeric string optimized hash function (andrei)
- *  2006-12-13  split into hashes.h (more generic) and str_hash.h (andrei)
- *  2007-02-22  added case insensitive versions (andrei)
- */
+/*!
+* \file
+* \brief Kamailio core :: hash support
+* \author Andrei
+* \ingroup core
+* Module: \ref core
+*/
 
 
 #ifndef _hashes_h
@@ -32,7 +29,7 @@
 
 
 
-/* internal use: hash update
+/** internal use: hash update
  * params: char* s   - string start,
  *         char* end - end
  *         char* p,  and unsigned v temporary vars (used)
@@ -57,7 +54,7 @@
 		(h)+=(v)^((v)>>3); \
 	}while(0)
 
-/* like hash_update_str, but case insensitive 
+/** like hash_update_str, but case insensitive 
  * params: char* s   - string start,
  *         char* end - end
  *         char* p,  and unsigned v temporary vars (used)
@@ -75,12 +72,12 @@
 	}while(0)
 
 
-/* internal use: call it to adjust the h from hash_update_str */
+/** internal use: call it to adjust the h from hash_update_str */
 #define hash_finish(h) (((h)+((h)>>11))+(((h)>>13)+((h)>>23)))
 
 
 
-/* "raw" 2 strings hash
+/** "raw" 2 strings hash
  * returns an unsigned int (which you can use modulo table_size as hash value)
  */
 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)
 
 
 
-/* "raw" 1 string hash
+/** "raw" 1 string hash
  * returns an unsigned int (which you can use modulo table_size as hash value)
  */
 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)
 
 
 
-/* a little slower than hash_* , but better distribution for 
+/** a little slower than hash_* , but better distribution for 
  * numbers and about the same for strings */
 #define hash_update_str2(s, end, p, v, h) \
 	do{ \
@@ -128,7 +125,7 @@ inline static unsigned int get_hash1_raw(const char* s, int len)
 		(h)=16777259*(h)+((v)^((v)<<17)); \
 	}while(0)
 
-/*  like hash_update_str2 but case insensitive */
+/**  like hash_update_str2 but case insensitive */
 #define hash_update_case_str2(s, end, p, v, h) \
 	do{ \
 		for ((p)=(s); (p)<=((end)-4); (p)+=4){ \
@@ -141,12 +138,12 @@ inline static unsigned int get_hash1_raw(const char* s, int len)
 		(h)=16777259*(h)+((v)^((v)<<17)); \
 	}while(0)
 
-/* internal use: call it to adjust the h from hash_update_str */
+/** internal use: call it to adjust the h from hash_update_str */
 #define hash_finish2(h) (((h)+((h)>>7))+(((h)>>13)+((h)>>23)))
 
 
 
-/* a little slower than get_hash1_raw() , but better distribution for 
+/** a little slower than get_hash1_raw() , but better distribution for 
  * numbers and about the same for strings */
 inline static unsigned int get_hash1_raw2(const char* s, int len)
 {

+ 3 - 10
id.h

@@ -1,21 +1,14 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005 iptelorg GmbH
  *
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
  *
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version
  *
- * For a license to use the ser software under conditions
- * other than those described here, or to purchase support for this
- * software, please contact iptel.org by e-mail at the following addresses:
- *    [email protected]
- *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.

+ 8 - 20
io_wait.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005 iptelorg GmbH
  *
  * Permission to use, copy, modify, and distribute this software for any
@@ -15,10 +13,16 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-/*
- * tcp io wait common stuff used by tcp_main.c & tcp_read.c
+/*!
+* \file
+* \brief Kamailio core :: tcp io wait common stuff used by tcp_main.c & tcp_read.c
+* \ingroup core
+* Module: \ref core
+* \author andrei
+*
  * All the functions are inline because of speed reasons and because they are
  * used only from 2 places.
+ *
  * You also have to define:
  *     int handle_io(struct fd_map* fm, short events, int idx) (see below)
  *     (this could be trivially replaced by a callback pointer entry attached
@@ -33,22 +37,6 @@
  *     local_free   (defaults to pkg_free)
  *
  */
-/*
- * History:
- * --------
- *  2005-06-13  created by andrei
- *  2005-06-26  added kqueue (andrei)
- *  2005-07-01  added /dev/poll (andrei)
- *  2006-05-30  sigio 64 bit workarround enabled for kernels < 2.6.5 (andrei)
- *  2007-11-22  when handle_io() is called in a loop check & stop if the fd was
- *               removed inside handle_io() (andrei)
- *  2007-11-29  support for write (POLLOUT); added io_watch_chg() (andrei)
- *  2008-02-04  POLLRDHUP & EPOLLRDHUP support (automatically enabled if POLLIN
- *               is set) (andrei)
- *  2010-06-17  re-enabled & enhanced the EV_ERROR for kqueue (andrei)
- */
-
-
 
 #ifndef _io_wait_h
 #define _io_wait_h

+ 7 - 12
ip_addr.h

@@ -1,4 +1,4 @@
-/* $Id$
+/* 
  *
  * ip address family related structures
  *
@@ -25,17 +25,12 @@
  * along with this program; if not, write to the Free Software 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
-/*
- * History:
- * --------
- *  2003-02-13  added struct dest_info (andrei)
- *  2003-04-06  all ports are stored/passed in host byte order now (andrei)
- *  2006-04-20  comp support in recv_info and dest_info (andrei)
- *  2006-04-21  added init_dst_from_rcv (andrei)
- *  2007-06-26  added ip_addr_mk_any() (andrei)
- *  2008-05-21  added su2a(), ip_addr2sbuf(), ip4tosbuf(), ip62sbuf() (andrei)
- *  2009-09-14  added send flags support to dest_info (andrei)
- */
+/*!
+* \file
+* \brief Kamailio core :: ip address family related structures
+* \ingroup core
+* Module: \ref core
+*/
 
 #ifndef ip_addr_h
 #define ip_addr_h

+ 0 - 2
kstats_types.h

@@ -1,6 +1,4 @@
 /* 
- * $Id$
- * 
  * Copyright (C) 2010 iptelorg GmbH
  *
  * Permission to use, copy, modify, and distribute this software for any