[sr-dev] git:master: modules_s/ldap: renamed to db2_ldap

Daniel-Constantin Mierla miconda at gmail.com
Tue Dec 18 23:59:23 CET 2012


Module: sip-router
Branch: master
Commit: c5b67ce5965d37c4851b6c33b9020cf88a4b85f3
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c5b67ce5965d37c4851b6c33b9020cf88a4b85f3

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Tue Dec 18 23:29:21 2012 +0100

modules_s/ldap: renamed to db2_ldap

- it is a SRDBv2 API database driver

---

 modules_s/{ldap => db2_ldap}/Makefile              |    2 +-
 modules_s/{ldap => db2_ldap}/README                |    6 +++---
 modules_s/{ldap => db2_ldap}/doc/Makefile          |    2 +-
 .../doc/ldap.xml => db2_ldap/doc/db2_ldap.xml}     |    4 ++--
 modules_s/{ldap => db2_ldap}/ld_cfg.c              |    0
 modules_s/{ldap => db2_ldap}/ld_cfg.h              |    0
 modules_s/{ldap => db2_ldap}/ld_cmd.c              |    0
 modules_s/{ldap => db2_ldap}/ld_cmd.h              |    0
 modules_s/{ldap => db2_ldap}/ld_con.c              |    0
 modules_s/{ldap => db2_ldap}/ld_con.h              |    0
 modules_s/{ldap => db2_ldap}/ld_fld.c              |    0
 modules_s/{ldap => db2_ldap}/ld_fld.h              |    0
 modules_s/{ldap => db2_ldap}/ld_mod.c              |    2 +-
 modules_s/{ldap => db2_ldap}/ld_mod.h              |    0
 modules_s/{ldap => db2_ldap}/ld_res.c              |    0
 modules_s/{ldap => db2_ldap}/ld_res.h              |    0
 modules_s/{ldap => db2_ldap}/ld_uri.c              |    0
 modules_s/{ldap => db2_ldap}/ld_uri.h              |    0
 modules_s/{ldap => db2_ldap}/ldap.cfg              |    0
 modules_s/{ldap => db2_ldap}/ser-ldap.cfg          |    0
 modules_s/{ldap => db2_ldap}/ser.schema            |    0
 modules_s/{ldap => db2_ldap}/standards.txt         |    0
 modules_s/{ldap => db2_ldap}/todo.txt              |    0
 23 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/modules_s/ldap/Makefile b/modules_s/db2_ldap/Makefile
similarity index 96%
rename from modules_s/ldap/Makefile
rename to modules_s/db2_ldap/Makefile
index ef14d3b..a5c354b 100644
--- a/modules_s/ldap/Makefile
+++ b/modules_s/db2_ldap/Makefile
@@ -4,7 +4,7 @@
 
 include ../../Makefile.defs
 auto_gen=
-NAME=ldap.so
+NAME=db2_ldap.so
 
 #DEFS += -DLD_TEST
 
diff --git a/modules_s/ldap/README b/modules_s/db2_ldap/README
similarity index 98%
rename from modules_s/ldap/README
rename to modules_s/db2_ldap/README
index ce874b8..71f7cc1 100644
--- a/modules_s/ldap/README
+++ b/modules_s/db2_ldap/README
@@ -1,10 +1,10 @@
-1. ldap module
+1. db2_ldap module
 
 Jan Janak
 
    Iptel.org
 
-   Copyright © 2008 Iptel.org GmBH
+   Copyright © 2008 Iptel.org GmBH
      __________________________________________________________________
 
    1.1. Overview
@@ -18,7 +18,7 @@ Jan Janak
 
 1.1. Overview
 
-   The LDAP module is database driver, i.e. it implements DB API
+   The LDAP module is database driver, i.e. it implements DBv2 API
    functions. The goal is map database query defined by table, matching
    fields and result fields to LDAP search in sub-tree defined by root,
    object class, attributes and pass it to the OpenLDAP which communicates
diff --git a/modules_s/ldap/doc/Makefile b/modules_s/db2_ldap/doc/Makefile
similarity index 77%
rename from modules_s/ldap/doc/Makefile
rename to modules_s/db2_ldap/doc/Makefile
index 6b5c619..c92797e 100644
--- a/modules_s/ldap/doc/Makefile
+++ b/modules_s/db2_ldap/doc/Makefile
@@ -1,4 +1,4 @@
-docs = ldap.xml
+docs = db2_ldap.xml
 
 docbook_dir=../../../docbook
 include $(docbook_dir)/Makefile.module
diff --git a/modules_s/ldap/doc/ldap.xml b/modules_s/db2_ldap/doc/db2_ldap.xml
similarity index 98%
rename from modules_s/ldap/doc/ldap.xml
rename to modules_s/db2_ldap/doc/db2_ldap.xml
index 429eb18..d598f71 100644
--- a/modules_s/ldap/doc/ldap.xml
+++ b/modules_s/db2_ldap/doc/db2_ldap.xml
@@ -21,12 +21,12 @@
 
     </sectioninfo>
 
-    <title>ldap module</title>
+    <title>db2_ldap module</title>
 
     <section id="ldap.overview">
 		<title>Overview</title>
 		<para>
-		The LDAP module is database driver, i.e. it implements DB API functions.
+		The LDAP module is database driver, i.e. it implements DBv2 API functions.
 		The goal is map database query defined by table, matching fields and result fields
 		to LDAP search in sub-tree defined by root, object class, attributes and
 		pass it to the <emphasis>OpenLDAP</emphasis> which communicates with the LDAP server.
diff --git a/modules_s/ldap/ld_cfg.c b/modules_s/db2_ldap/ld_cfg.c
similarity index 100%
rename from modules_s/ldap/ld_cfg.c
rename to modules_s/db2_ldap/ld_cfg.c
diff --git a/modules_s/ldap/ld_cfg.h b/modules_s/db2_ldap/ld_cfg.h
similarity index 100%
rename from modules_s/ldap/ld_cfg.h
rename to modules_s/db2_ldap/ld_cfg.h
diff --git a/modules_s/ldap/ld_cmd.c b/modules_s/db2_ldap/ld_cmd.c
similarity index 100%
rename from modules_s/ldap/ld_cmd.c
rename to modules_s/db2_ldap/ld_cmd.c
diff --git a/modules_s/ldap/ld_cmd.h b/modules_s/db2_ldap/ld_cmd.h
similarity index 100%
rename from modules_s/ldap/ld_cmd.h
rename to modules_s/db2_ldap/ld_cmd.h
diff --git a/modules_s/ldap/ld_con.c b/modules_s/db2_ldap/ld_con.c
similarity index 100%
rename from modules_s/ldap/ld_con.c
rename to modules_s/db2_ldap/ld_con.c
diff --git a/modules_s/ldap/ld_con.h b/modules_s/db2_ldap/ld_con.h
similarity index 100%
rename from modules_s/ldap/ld_con.h
rename to modules_s/db2_ldap/ld_con.h
diff --git a/modules_s/ldap/ld_fld.c b/modules_s/db2_ldap/ld_fld.c
similarity index 100%
rename from modules_s/ldap/ld_fld.c
rename to modules_s/db2_ldap/ld_fld.c
diff --git a/modules_s/ldap/ld_fld.h b/modules_s/db2_ldap/ld_fld.h
similarity index 100%
rename from modules_s/ldap/ld_fld.h
rename to modules_s/db2_ldap/ld_fld.h
diff --git a/modules_s/ldap/ld_mod.c b/modules_s/db2_ldap/ld_mod.c
similarity index 99%
rename from modules_s/ldap/ld_mod.c
rename to modules_s/db2_ldap/ld_mod.c
index 6c7a5ff..cc57604 100644
--- a/modules_s/ldap/ld_mod.c
+++ b/modules_s/db2_ldap/ld_mod.c
@@ -90,7 +90,7 @@ static param_export_t params[] = {
 
 
 struct module_exports exports = {
-	"ldap",
+	"db2_ldap",
 	cmds,
 	0,              /* RPC method */
 	params,         /* module parameters */
diff --git a/modules_s/ldap/ld_mod.h b/modules_s/db2_ldap/ld_mod.h
similarity index 100%
rename from modules_s/ldap/ld_mod.h
rename to modules_s/db2_ldap/ld_mod.h
diff --git a/modules_s/ldap/ld_res.c b/modules_s/db2_ldap/ld_res.c
similarity index 100%
rename from modules_s/ldap/ld_res.c
rename to modules_s/db2_ldap/ld_res.c
diff --git a/modules_s/ldap/ld_res.h b/modules_s/db2_ldap/ld_res.h
similarity index 100%
rename from modules_s/ldap/ld_res.h
rename to modules_s/db2_ldap/ld_res.h
diff --git a/modules_s/ldap/ld_uri.c b/modules_s/db2_ldap/ld_uri.c
similarity index 100%
rename from modules_s/ldap/ld_uri.c
rename to modules_s/db2_ldap/ld_uri.c
diff --git a/modules_s/ldap/ld_uri.h b/modules_s/db2_ldap/ld_uri.h
similarity index 100%
rename from modules_s/ldap/ld_uri.h
rename to modules_s/db2_ldap/ld_uri.h
diff --git a/modules_s/ldap/ldap.cfg b/modules_s/db2_ldap/ldap.cfg
similarity index 100%
rename from modules_s/ldap/ldap.cfg
rename to modules_s/db2_ldap/ldap.cfg
diff --git a/modules_s/ldap/ser-ldap.cfg b/modules_s/db2_ldap/ser-ldap.cfg
similarity index 100%
rename from modules_s/ldap/ser-ldap.cfg
rename to modules_s/db2_ldap/ser-ldap.cfg
diff --git a/modules_s/ldap/ser.schema b/modules_s/db2_ldap/ser.schema
similarity index 100%
rename from modules_s/ldap/ser.schema
rename to modules_s/db2_ldap/ser.schema
diff --git a/modules_s/ldap/standards.txt b/modules_s/db2_ldap/standards.txt
similarity index 100%
rename from modules_s/ldap/standards.txt
rename to modules_s/db2_ldap/standards.txt
diff --git a/modules_s/ldap/todo.txt b/modules_s/db2_ldap/todo.txt
similarity index 100%
rename from modules_s/ldap/todo.txt
rename to modules_s/db2_ldap/todo.txt




More information about the sr-dev mailing list