app_perl: perl module moved and renamed to modules/app_perl
authorDaniel-Constantin Mierla <miconda@gmail.com>
Sun, 20 Jan 2013 11:47:08 +0000 (12:47 +0100)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Sun, 20 Jan 2013 11:47:08 +0000 (12:47 +0100)
- same naming pattern as for the other embedded interpreters

44 files changed:
modules/app_perl/Makefile [moved from modules_k/perl/Makefile with 93% similarity]
modules/app_perl/README [moved from modules_k/perl/README with 100% similarity]
modules/app_perl/app_perl_mod.c [moved from modules_k/perl/perl.c with 99% similarity]
modules/app_perl/app_perl_mod.h [moved from modules_k/perl/perl.h with 100% similarity]
modules/app_perl/doc/Makefile [moved from modules_k/perl/doc/Makefile with 78% similarity]
modules/app_perl/doc/app_perl.xml [moved from modules_k/perl/doc/perl.xml with 85% similarity]
modules/app_perl/doc/app_perl_admin.xml [moved from modules_k/perl/doc/perl_admin.xml with 100% similarity]
modules/app_perl/doc/app_perl_faq.xml [moved from modules_k/perl/doc/perl_faq.xml with 100% similarity]
modules/app_perl/doc/app_perl_pod.xml [moved from modules_k/perl/doc/perl_pod.xml with 100% similarity]
modules/app_perl/doc/app_perl_samples.xml [moved from modules_k/perl/doc/perl_samples.xml with 100% similarity]
modules/app_perl/doc/samples/branches.pl [moved from modules_k/perl/doc/samples/branches.pl with 100% similarity]
modules/app_perl/doc/samples/firstline.pl [moved from modules_k/perl/doc/samples/firstline.pl with 100% similarity]
modules/app_perl/doc/samples/flags.pl [moved from modules_k/perl/doc/samples/flags.pl with 100% similarity]
modules/app_perl/doc/samples/functions.pl [moved from modules_k/perl/doc/samples/functions.pl with 100% similarity]
modules/app_perl/doc/samples/headers.pl [moved from modules_k/perl/doc/samples/headers.pl with 100% similarity]
modules/app_perl/doc/samples/logging.pl [moved from modules_k/perl/doc/samples/logging.pl with 100% similarity]
modules/app_perl/doc/samples/messagedump.pl [moved from modules_k/perl/doc/samples/messagedump.pl with 100% similarity]
modules/app_perl/doc/samples/persistence.pl [moved from modules_k/perl/doc/samples/persistence.pl with 100% similarity]
modules/app_perl/doc/samples/phonenumbers.pl [moved from modules_k/perl/doc/samples/phonenumbers.pl with 100% similarity]
modules/app_perl/doc/samples/pseudovars.pl [moved from modules_k/perl/doc/samples/pseudovars.pl with 100% similarity]
modules/app_perl/kamailioxs.xs [moved from modules_k/perl/kamailioxs.xs with 100% similarity]
modules/app_perl/lib/perl/Kamailio.pm [moved from modules_k/perl/lib/perl/Kamailio.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/Constants.pm [moved from modules_k/perl/lib/perl/Kamailio/Constants.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/LDAPUtils/LDAPConf.pm [moved from modules_k/perl/lib/perl/Kamailio/LDAPUtils/LDAPConf.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/LDAPUtils/LDAPConnection.pm [moved from modules_k/perl/lib/perl/Kamailio/LDAPUtils/LDAPConnection.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/Message.pm [moved from modules_k/perl/lib/perl/Kamailio/Message.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/Utils/Debug.pm [moved from modules_k/perl/lib/perl/Kamailio/Utils/Debug.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/Utils/PhoneNumbers.pm [moved from modules_k/perl/lib/perl/Kamailio/Utils/PhoneNumbers.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/Adapter/AccountingSIPtrace.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/Adapter/AccountingSIPtrace.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/Adapter/Alias.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Alias.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/Adapter/Auth.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Auth.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/Adapter/Describe.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Describe.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/Adapter/Speeddial.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/Adapter/Speeddial.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/Adapter/TableVersions.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/Adapter/TableVersions.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/Column.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/Column.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/Pair.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/Pair.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/ReqCond.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/ReqCond.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/Result.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/Result.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/VTab.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/VTab.pm with 100% similarity]
modules/app_perl/lib/perl/Kamailio/VDB/Value.pm [moved from modules_k/perl/lib/perl/Kamailio/VDB/Value.pm with 100% similarity]
modules/app_perl/perlfunc.c [moved from modules_k/perl/perlfunc.c with 99% similarity]
modules/app_perl/perlfunc.h [moved from modules_k/perl/perlfunc.h with 100% similarity]
modules/app_perl/typemap [moved from modules_k/perl/typemap with 100% similarity]

similarity index 93%
rename from modules_k/perl/Makefile
rename to modules/app_perl/Makefile
index 67e953d..f1f7b94 100644 (file)
@@ -7,7 +7,7 @@
 
 include ../../Makefile.defs
 auto_gen=kamailioxs.c
-NAME=perl.so
+NAME=app_perl.so
 LIBS=
 
 ifeq ($(PERLLDOPTS),)
@@ -47,10 +47,10 @@ kamailioxs.c: kamailioxs.xs typemap
        xsubpp -typemap $(TYPEMAP) -typemap typemap kamailioxs.xs > kamailioxs.c
 
 .PHONY: perlpod
-perlpod: doc/perl_pod.sgml
+perlpod: doc/app_perl_pod.xml
 
-doc/perl_pod.sgml: kamailioxs.xs
-       cat $(PODFILES) | pod2docbook --doctype=chapter --title='Kamailio Perl API' --no-header - doc/perl_pod.sgml
+doc/app_perl_pod.sgml: kamailioxs.xs
+       cat $(PODFILES) | pod2docbook --doctype=chapter --title='Kamailio Perl API' --no-header - doc/app_perl_pod.sgml
 
 install-perl-scripts:
        echo "installing Perl Kamailio packages ..."
similarity index 99%
rename from modules_k/perl/perl.c
rename to modules/app_perl/app_perl_mod.c
index e527e1e..eb303ca 100644 (file)
@@ -35,7 +35,7 @@
 #include "../../sr_module.h"
 #include "../../mem/mem.h"
 #include "../../lib/kmi/mi.h"
-#include "../rr/api.h"
+#include "../../modules/rr/api.h"
 #include "../../modules/sl/sl.h"
 
 /* lock_ops.h defines union semun, perl does not need to redefine it */
@@ -44,7 +44,7 @@
 #endif
 
 #include "perlfunc.h"
-#include "perl.h"
+#include "app_perl_mod.h"
 
 /* #include "perlxsi.h" function is in here... */
 
@@ -148,7 +148,7 @@ static mi_export_t mi_cmds[] = {
  * Module interface
  */
 struct module_exports exports = {
-       "perl", 
+       "app_perl", 
        RTLD_NOW | RTLD_GLOBAL,
        cmds,       /* Exported functions */
        params,     /* Exported parameters */
similarity index 78%
rename from modules_k/perl/doc/Makefile
rename to modules/app_perl/doc/Makefile
index 7b14cfd..3ab7d00 100644 (file)
@@ -1,4 +1,4 @@
-docs = perl.xml
+docs = app_perl.xml
 
 docbook_dir = ../../../docbook
 include $(docbook_dir)/Makefile.module
similarity index 85%
rename from modules_k/perl/doc/perl.xml
rename to modules/app_perl/doc/app_perl.xml
index 8ce010f..b169722 100644 (file)
@@ -36,9 +36,9 @@
     </bookinfo>
     <toc></toc>
     
-    <xi:include href="perl_admin.xml"/>
-       <xi:include href="perl_pod.xml"/>
-       <xi:include href="perl_samples.xml"/>
-    <xi:include href="perl_faq.xml"/>
+    <xi:include href="app_perl_admin.xml"/>
+       <xi:include href="app_perl_pod.xml"/>
+       <xi:include href="app_perl_samples.xml"/>
+    <xi:include href="app_perl_faq.xml"/>
     
 </book>
similarity index 99%
rename from modules_k/perl/perlfunc.c
rename to modules/app_perl/perlfunc.c
index f4b592b..96f7596 100644 (file)
@@ -37,7 +37,7 @@
 #include "../../parser/parse_uri.h"
 
 #include "perlfunc.h"
-#include "perl.h"
+#include "app_perl_mod.h"
 
 
 /*