Skip to content

Commit

Permalink
Adding doxygen template to all core .c files
Browse files Browse the repository at this point in the history
Please fill in after the :: to explain the function of this file.
  • Loading branch information
oej committed Oct 10, 2009
1 parent 7eb41a8 commit 1d0661d
Show file tree
Hide file tree
Showing 70 changed files with 494 additions and 4 deletions.
7 changes: 7 additions & 0 deletions action.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@
* 2009-05-04 switched IF_T to rval_expr (andrei)
* 2009-09-15 added SET_{FWD,RPL}_NO_CONNECT, SET_{FWD,RPL}_CLOSE (andrei)
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/



#include "comp_defs.h"
Expand Down
7 changes: 7 additions & 0 deletions atomic_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
* 2006-03-08 created by andrei
* 2007-05-11 added lock_set support (andrei)
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#include "atomic_ops_init.h"
#include "atomic_ops.h"
Expand Down
7 changes: 7 additions & 0 deletions basex.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
* --------
* 2008-06-11 created by andrei
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#include "basex.h"

Expand Down
7 changes: 7 additions & 0 deletions bit_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
* --------
* 2007-06-23 created by andrei
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#include "bit_scan.h"

Expand Down
7 changes: 7 additions & 0 deletions cfg_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
* 2007-12-03 Initial version (Miklos)
* 2008-01-31 added DNS resolver parameters (Miklos)
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#include "dprint.h"
#ifdef USE_DST_BLACKLIST
Expand Down
7 changes: 7 additions & 0 deletions cfg_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


/** Example 1: Options without values
*
Expand Down
7 changes: 7 additions & 0 deletions core_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#include <time.h>
#include <sys/types.h>
Expand Down
7 changes: 7 additions & 0 deletions crc.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/



#include <stdio.h>
Expand Down
7 changes: 7 additions & 0 deletions daemonize.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
* 2007-06-07 added mlock_pages (no swap) support (andrei)
* added set_rt_prio() (andrei)
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/



#include <sys/types.h>
Expand Down
7 changes: 7 additions & 0 deletions data_lump.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
* 2003-10-28 added extra checks (paranoia) for {anchor,del}_lump (andrei)
* 2005-03-24 the type of type attribute changed to enum _hdr_types_t (janakj)
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/



#include "data_lump.h"
Expand Down
7 changes: 7 additions & 0 deletions data_lump_rpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
* returns a lump_rpl**, making a specific lump removal much
* more easy (andrei)
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/



#include <string.h>
Expand Down
7 changes: 7 additions & 0 deletions dns_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@
* 2009-03-30 EBL record support (andrei)
* 2009-04-01 PTR record support (andrei)
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#ifdef USE_DNS_CACHE

Expand Down
7 changes: 7 additions & 0 deletions dprint.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/



#include "globals.h"
Expand Down
7 changes: 7 additions & 0 deletions dset.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/

#include <string.h>
#include "dprint.h"
#include "config.h"
Expand Down
7 changes: 7 additions & 0 deletions dst_blacklist.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
* 2009-02-26 added dst_blacklist_su* variant (andrei)
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#ifdef USE_DST_BLACKLIST

Expand Down
7 changes: 7 additions & 0 deletions endianness.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
* 2008-06-13 created by andrei
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/

#include "endianness.h"

int _endian_test_int=1 /* used for the runtime endian tests */;
Expand Down
7 changes: 7 additions & 0 deletions error.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
* 2003-04-04 phrase length corrected not to include trailer 0 (jiri)
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#include <stdio.h>
#include "error.h"
Expand Down
7 changes: 7 additions & 0 deletions events.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/

#include "dprint.h"
#include "mem/mem.h"
#include "events.h"
Expand Down
7 changes: 7 additions & 0 deletions flags.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
* 2006-02-02 named flags support (andrei)
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#include <limits.h>
#include "sr_module.h"
Expand Down
7 changes: 7 additions & 0 deletions forward.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@
* socket is multicast (andrei)
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/



#include <string.h>
Expand Down
7 changes: 7 additions & 0 deletions hash_func.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/



#ifndef _CRC_H_
Expand Down
7 changes: 7 additions & 0 deletions id.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/

#include "id.h"
#include "parser/parse_from.h"
#include "parser/parse_uri.h"
Expand Down
7 changes: 7 additions & 0 deletions io_wait.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
* 2005-07-04 added /dev/poll (andrei)
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/



#ifndef NO_IO_WAIT
Expand Down
7 changes: 7 additions & 0 deletions ip_addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
* 2004-10-01 mk_net fixes bad network addresses now (andrei)
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#include <stdlib.h>
#include <stdio.h>
Expand Down
7 changes: 7 additions & 0 deletions local_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
* 2006-02-03 created by andrei
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#include "timer.h"
#include "timer_funcs.h"
Expand Down
8 changes: 8 additions & 0 deletions lock_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
* 2007-05-14 created by andrei
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/


#include "ut.h"
#include "dprint.h"
#include "lock_ops.h"
Expand Down
7 changes: 7 additions & 0 deletions lvalue.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
* delete the lvalue (similar to perl) (andrei)
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/

#include "lvalue.h"
#include "dprint.h"
#include "route.h"
Expand Down
14 changes: 14 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,20 @@
* (e.g. -l (eth0, 1.2.3.4, foo.bar) ) (andrei)
*/

/*!
* \file
* \brief SIP-router core ::
* \ingroup core
* Module: \ref core
*/

/*! \defgroup core SIP-router core
*
* This modules implements a SIP server with a module interface
* for extendability.
*
*/


#include <stdio.h>
#include <stdlib.h>
Expand Down
Loading

0 comments on commit 1d0661d

Please sign in to comment.