Forráskód Böngészése

rtpengine: modernize interface, remove legacy interface

Richard Fuchs 11 éve
szülő
commit
7526431e8a

+ 1 - 1
Makefile.groups

@@ -13,7 +13,7 @@ mod_list_basic=async auth benchmark blst cfg_rpc cfgutils corex counters \
 				   mediaproxy mi_datagram mi_fifo mi_rpc mqueue \
 				   nat_traversal nathelper path pike pv ratelimit rr rtimer \
 				   rtpproxy sanity sdpops siputils sl statistics textops \
-				   textopsx tm tmx topoh xlog rtpproxy-ng stun sipt
+				   textopsx tm tmx topoh xlog rtpengine stun sipt
 
 # - extra used modules, with no extra dependency
 mod_list_extra=avp auth_diameter call_control cnxcc dmq domainpolicy msrp pdb \

+ 1 - 1
modules/rtpengine/Makefile

@@ -7,7 +7,7 @@
 
 include ../../Makefile.defs
 auto_gen=
-NAME=rtpproxy-ng.so
+NAME=rtpengine.so
 LIBS=
 
 DEFS+=-DKAMAILIO_MOD_INTERFACE

+ 1 - 1
modules/rtpengine/doc/Makefile

@@ -1,4 +1,4 @@
-docs = rtpproxy-ng.xml
+docs = rtpengine.xml
 
 docbook_dir = ../../../docbook
 include $(docbook_dir)/Makefile.module

+ 3 - 3
modules/rtpengine/doc/rtpengine.xml

@@ -91,13 +91,13 @@
 		<holder><ulink url='http://www.voipembedded.com'>VoIPEmbedded Inc.</ulink></holder>
 	</copyright>
 	<copyright>
-		<year>2013</year>
+		<year>2013-2014</year>
 		<holder>Sipwise GmbH</holder>
 	</copyright>
 	</bookinfo>
 	<toc></toc>
 
-	<xi:include href="rtpproxy_admin.xml"/>
-	<xi:include href="rtpproxy_faq.xml"/>
+	<xi:include href="rtpengine_admin.xml"/>
+	<xi:include href="rtpengine_faq.xml"/>
 
 </book>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 390 - 352
modules/rtpengine/rtpengine.c


+ 2 - 2
modules/rtpengine/rtpengine.h

@@ -24,8 +24,8 @@
 */
 
 
-#ifndef _RTPPROXY_H
-#define _RTPPROXY_H
+#ifndef _RTPENGINE_H
+#define _RTPENGINE_H
 
 #include "bencode.h"
 #include "../../str.h"

+ 1 - 1
modules/rtpengine/rtpengine_funcs.c

@@ -31,7 +31,7 @@
 #include <stdlib.h>
 #include <sys/types.h>
 #include <unistd.h>
-#include "rtpproxy_funcs.h"
+#include "rtpengine_funcs.h"
 #include "../../dprint.h"
 #include "../../config.h"
 #include "../../ut.h"

+ 2 - 2
modules/rtpengine/rtpengine_funcs.h

@@ -21,8 +21,8 @@
  */
 
 
-#ifndef _RTPPROXY_FUNCS_H
-#define _RTPPROXY_FUNCS_H
+#ifndef _RTPENGINE_FUNCS_H
+#define _RTPENGINE_FUNCS_H
 
 #include "../../str.h"
 #include "../../parser/msg_parser.h"

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott