Pārlūkot izejas kodu

drouting: removed svn ids and history

Daniel-Constantin Mierla 7 gadi atpakaļ
vecāks
revīzija
2dd28a6285

+ 0 - 6
src/modules/drouting/dr_load.c

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005-2009 Voice Sistem SRL
  *
  * This file is part of Kamailio, a free SIP server.
@@ -19,10 +17,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * History:
- * ---------
- *  2005-02-20  first version (cristian)
- *  2005-02-27  ported to 0.9.0 (bogdan)
  */
 
 

+ 0 - 6
src/modules/drouting/dr_load.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005-2009 Voice Sistem SRL
  *
  * This file is part of Kamailio, a free SIP server.
@@ -19,10 +17,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * History:
- * ---------
- *  2005-02-20  first version (cristian)
- *  2005-02-27  ported to 0.9.0 (bogdan)
  */
 
 

+ 0 - 5
src/modules/drouting/dr_time.c

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005-2009 Voice Sistem SRL
  *
  * This file is part of Kamailio, a free SIP server.
@@ -19,9 +17,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * History:
- * ---------
- *  2005-02-27  ported to 0.9.0 (bogdan)
  */
 
 #include <stdio.h>

+ 0 - 5
src/modules/drouting/dr_time.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005-2009 Voice Sistem SRL
  *
  * This file is part of Kamailio, a free SIP server.
@@ -19,9 +17,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * History:
- * ---------
- *  2005-02-27  ported to 0.9.0 (bogdan)
  */
 
 

+ 0 - 8
src/modules/drouting/drouting.c

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005-2009 Voice Sistem SRL
  *
  * This file is part of Kamailio, a free SIP server.
@@ -18,12 +16,6 @@
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
-
-
- * History:
- * ---------
- *  2005-02-20  first version (cristian)
- *  2005-02-27  ported to 0.9.0 (bogdan)
  */
 
 #include "stdlib.h"

+ 0 - 5
src/modules/drouting/parse.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005-2009 Voice Sistem SRL
  *
  * This file is part of Kamailio, a free SIP server.
@@ -19,9 +17,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * History:
- * ---------
- *  2005-07-27  first version (bogdan)
  */
 
 

+ 10 - 16
src/modules/drouting/prefix_tree.c

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005-2009 Voice Sistem SRL
  *
  * This file is part of Kamailio, a free SIP server.
@@ -19,10 +17,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * History:
- * ---------
- *  2005-02-20  first version (cristian)
- *  2005-02-27  ported to 0.9.0 (bogdan)
  */
 
 
@@ -41,7 +35,7 @@ extern int unode;
 
 
 
-static inline int 
+static inline int
 check_time(
 		tmrec_t *time_rec
 		)
@@ -84,7 +78,7 @@ internal_check_rt(
 	rg=ptn->rg;
 	for(i=0;(i<rg_pos) && (rg[i].rgid!=rgid);i++);
 	if(i<rg_pos) {
-		LM_DBG("found rgid %d (rule list %p)\n", 
+		LM_DBG("found rgid %d (rule list %p)\n",
 				rgid, rg[i].rtlw);
 		rtlw=rg[i].rtlw;
 		while(rtlw!=NULL) {
@@ -98,7 +92,7 @@ internal_check_rt(
 }
 
 
-rt_info_t* 
+rt_info_t*
 check_rt(
 	ptree_node_t *ptn,
 	unsigned int rgid
@@ -124,7 +118,7 @@ get_prefix(
 	if(NULL == prefix)
 		goto err_exit;
 	tmp = prefix->s;
-	/* go the tree down to the last digit in the 
+	/* go the tree down to the last digit in the
 	 * prefix string or down to a leaf */
 	while(tmp< (prefix->s+prefix->len)) {
 		idx = get_node_index(*tmp);
@@ -181,13 +175,13 @@ err_exit:
 }
 
 
-int 
+int
 add_prefix(
 	ptree_t *ptree,
 	str* prefix,
 	rt_info_t *r,
 	unsigned int rg
-	) 
+	)
 {
 	char* tmp=NULL;
 	int res = 0;
@@ -204,7 +198,7 @@ add_prefix(
 		}
 		if( tmp == (prefix->s+prefix->len-1) ) {
 			/* last symbol in the prefix string */
-			
+
 			LM_DBG("adding info %p, %d at: "
 				"%p (%d)\n", r, rg, &(ptree->ptnode[insert_index]), insert_index);
 			res = add_rt_info(&(ptree->ptnode[insert_index]), r,rg);
@@ -220,14 +214,14 @@ add_prefix(
 			INIT_PTREE_NODE(ptree, ptree->ptnode[insert_index].next);
 			inode+=PTREE_CHILDREN;
 #if 0
-			printf("new tree node: %p (bp: %p)\n", 
+			printf("new tree node: %p (bp: %p)\n",
 					ptree->ptnode[insert_index].next,
 					ptree->ptnode[insert_index].next->bp
 					);
 #endif
 		}
 		ptree = ptree->ptnode[insert_index].next;
-		tmp++; 
+		tmp++;
 	}
 
 ok_exit:
@@ -237,7 +231,7 @@ err_exit:
 	return -1;
 }
 
-int 
+int
 del_tree(
 		ptree_t* t
 		)

+ 0 - 6
src/modules/drouting/prefix_tree.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005-2009 Voice Sistem SRL
  *
  * This file is part of Kamailio, a free SIP server.
@@ -19,10 +17,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * History:
- * ---------
- *  2005-02-20  first version (cristian)
- *  2005-02-27  ported to 0.9.0 (bogdan)
  */
 
 

+ 0 - 6
src/modules/drouting/routing.c

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005-2009 Voice Sistem SRL
  *
  * This file is part of Kamailio, a free SIP server.
@@ -19,10 +17,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * History:
- * ---------
- *  2005-02-20  first version (cristian)
- *  2005-02-27  ported to 0.9.0 (bogdan)
  */
 
 

+ 3 - 9
src/modules/drouting/routing.h

@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (C) 2005-2009 Voice Sistem SRL
  *
  * This file is part of Kamailio, a free SIP server.
@@ -19,10 +17,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * History:
- * ---------
- *  2005-02-20  first version (cristian)
- *  2005-02-27  ported to 0.9.0 (bogdan)
  */
 
 
@@ -46,7 +40,7 @@ typedef struct hb_ {
 
 /* routing data is comprised of:
 	- a list of PSTN gw
-	- a hash over routing groups containing 
+	- a hash over routing groups containing
 	pointers to the coresponding prefix trees
 */
 typedef struct rt_data_ {
@@ -83,7 +77,7 @@ add_dst(
 	rt_data_t*,
 	/* id */
 	int ,
-	/* ip address */ 
+	/* ip address */
 	char*,
 	/* strip len */
 	int,
@@ -112,7 +106,7 @@ del_pgw_list(
 		pgw_t *pgw_l
 		);
 
-void 
+void
 free_rt_data(
 		rt_data_t*,
 		int