Browse code

perlvdb: module renamed to db_perlvdb

- it is a database driver module

Daniel-Constantin Mierla authored on 20/01/2013 13:18:02
Showing 19 changed files
1 1
similarity index 95%
2 2
rename from modules/perlvdb/Makefile
3 3
rename to modules/db_perlvdb/Makefile
... ...
@@ -4,7 +4,7 @@
4 4
 
5 5
 include ../../Makefile.defs
6 6
 auto_gen=
7
-NAME=perlvdb.so
7
+NAME=db_perlvdb.so
8 8
 LIBS:=$(shell perl -MExtUtils::Embed -e ldopts)
9 9
 PERL_DEFS:=$(shell perl -MExtUtils::Embed -e ccopts)
10 10
 DEFS+=$(PERL_DEFS)
11 11
similarity index 76%
12 12
rename from modules/perlvdb/README
13 13
rename to modules/db_perlvdb/README
... ...
@@ -27,14 +27,14 @@ Bastian Friedrich
27 27
    2. Developer Guide
28 28
 
29 29
         1. Introduction
30
-        2. Base class OpenSER::VDB
30
+        2. Base class Kamailio::VDB
31 31
         3. Data types
32 32
 
33
-              3.1. OpenSER::VDB::Value
34
-              3.2. OpenSER::VDB::Pair
35
-              3.3. OpenSER::VDB::ReqCond
36
-              3.4. OpenSER::VDB::Column
37
-              3.5. OpenSER::VDB::Result
33
+              3.1. Kamailio::VDB::Value
34
+              3.2. Kamailio::VDB::Pair
35
+              3.3. Kamailio::VDB::ReqCond
36
+              3.4. Kamailio::VDB::Column
37
+              3.5. Kamailio::VDB::Result
38 38
 
39 39
         4. Adapters
40 40
 
... ...
@@ -71,11 +71,11 @@ Chapter 1. Admin Guide
71 71
 
72 72
    Modules can be configured to use the perlvdb module as database backend
73 73
    using the db_url_parameter:
74
-modparam("acc", "db_url", "perlvdb:OpenSER::VDB::Adapter::AccountingSIPtrace")
74
+modparam("acc", "db_url", "perlvdb:Kamailio::VDB::Adapter::AccountingSIPtrace")
75 75
 
76 76
    This configuration options tells acc module that it should use the
77 77
    perlvdb module which will in turn use the Perl class
78
-   OpenSER::VDB::Adapter::AccountingSIPtrace to relay the database
78
+   Kamailio::VDB::Adapter::AccountingSIPtrace to relay the database
79 79
    requests.
80 80
 
81 81
 2. Dependencies
... ...
@@ -107,14 +107,14 @@ Chapter 2. Developer Guide
107 107
    Table of Contents
108 108
 
109 109
    1. Introduction
110
-   2. Base class OpenSER::VDB
110
+   2. Base class Kamailio::VDB
111 111
    3. Data types
112 112
 
113
-        3.1. OpenSER::VDB::Value
114
-        3.2. OpenSER::VDB::Pair
115
-        3.3. OpenSER::VDB::ReqCond
116
-        3.4. OpenSER::VDB::Column
117
-        3.5. OpenSER::VDB::Result
113
+        3.1. Kamailio::VDB::Value
114
+        3.2. Kamailio::VDB::Pair
115
+        3.3. Kamailio::VDB::ReqCond
116
+        3.4. Kamailio::VDB::Column
117
+        3.5. Kamailio::VDB::Result
118 118
 
119 119
    4. Adapters
120 120
 
... ...
@@ -124,8 +124,8 @@ Chapter 2. Developer Guide
124 124
 
125 125
 1. Introduction
126 126
 
127
-   OpenSER uses a database API for requests of numerous different types of
128
-   data. Four primary operations are supported:
127
+   Kamailio uses a database API for requests of numerous different types
128
+   of data. Four primary operations are supported:
129 129
      * query
130 130
      * insert
131 131
      * update
... ...
@@ -134,21 +134,21 @@ Chapter 2. Developer Guide
134 134
    This module relays these database requests to user implemented Perl
135 135
    functions.
136 136
 
137
-2. Base class OpenSER::VDB
137
+2. Base class Kamailio::VDB
138 138
 
139 139
    A client module has to be configured to use the perlvdb module in
140 140
    conjunction with a Perl class to provide the functions. The configured
141
-   class needs to inherit from the base class OpenSER::VDB.
141
+   class needs to inherit from the base class Kamailio::VDB.
142 142
 
143 143
    Derived classes have to implement the necessary functions "query",
144 144
    "insert", "update" and/or "delete". The client module specifies the
145 145
    necessary functions. To find out which functions are called from a
146 146
    module, its processes may be evaluated with the
147
-   OpenSER::VDB::Adapter::Describe class which will log incoming requests
147
+   Kamailio::VDB::Adapter::Describe class which will log incoming requests
148 148
    (without actually providing any real functionality).
149 149
 
150 150
    While users can directly implement their desired functionality in a
151
-   class derived from OpenSER::VDB, it is advisable to split the
151
+   class derived from Kamailio::VDB, it is advisable to split the
152 152
    implementation into an Adapter that transforms the relational
153 153
    structured parameters into pure Perl function arguments, and add a
154 154
    virtual table (VTab) to provide the relaying to an underlying
... ...
@@ -156,48 +156,48 @@ Chapter 2. Developer Guide
156 156
 
157 157
 3. Data types
158 158
 
159
-   3.1. OpenSER::VDB::Value
160
-   3.2. OpenSER::VDB::Pair
161
-   3.3. OpenSER::VDB::ReqCond
162
-   3.4. OpenSER::VDB::Column
163
-   3.5. OpenSER::VDB::Result
159
+   3.1. Kamailio::VDB::Value
160
+   3.2. Kamailio::VDB::Pair
161
+   3.3. Kamailio::VDB::ReqCond
162
+   3.4. Kamailio::VDB::Column
163
+   3.5. Kamailio::VDB::Result
164 164
 
165 165
    Before introducing the higher level concepts of this module, the used
166
-   datatypes will briefly be explained. The OpenSER Perl library includes
166
+   datatypes will briefly be explained. The Kamailio Perl library includes
167 167
    some data types that have to be used in this module:
168 168
 
169
-3.1. OpenSER::VDB::Value
169
+3.1. Kamailio::VDB::Value
170 170
 
171 171
    A value includes a data type flag and a value. Valid data types are
172 172
    DB_INT, DB_DOUBLE, DB_STRING, DB_STR, DB_DATETIME, DB_BLOB, DB_BITMAP.
173 173
    A new variable may be created with
174
-my $val = new OpenSER::VDB::Value(DB_STRING, "foobar");
174
+my $val = new Kamailio::VDB::Value(DB_STRING, "foobar");
175 175
 
176 176
    Value objects contain the type() and data() methods to get or set the
177 177
    type and data attributes.
178 178
 
179
-3.2. OpenSER::VDB::Pair
179
+3.2. Kamailio::VDB::Pair
180 180
 
181 181
    The Pair class is derived from the Value class and additionally
182 182
    contains a column name (key). A new variable may be created with
183
-my $pair = new OpenSER::VDB::Pair("foo", DB_STRING, "bar");
183
+my $pair = new Kamailio::VDB::Pair("foo", DB_STRING, "bar");
184 184
 
185 185
    where foo is the key and bar is the value. Additonally to the methods
186 186
    of the Value class, it contains a key() method to get or set the key
187 187
    attribute.
188 188
 
189
-3.3. OpenSER::VDB::ReqCond
189
+3.3. Kamailio::VDB::ReqCond
190 190
 
191 191
    The ReqCond class is used for select condition and is derived from the
192 192
    Pair class. It contains an addtional operator attribute. A new variable
193 193
    may be created with
194
-my $cond = new OpenSER::VDB::ReqCond("foo", ">", DB_INT, 5);
194
+my $cond = new Kamailio::VDB::ReqCond("foo", ">", DB_INT, 5);
195 195
 
196 196
    where foo is the key, "greater" is the operator and 5 is the value to
197 197
    compare. Additonally to the methods of the Pair class, it contains an
198 198
    op() method to get or set the operator attribute.
199 199
 
200
-3.4. OpenSER::VDB::Column
200
+3.4. Kamailio::VDB::Column
201 201
 
202 202
    This class represents a column definition or database schema. It
203 203
    contains an array for the column names and an array for the column
... ...
@@ -205,12 +205,12 @@ my $cond = new OpenSER::VDB::ReqCond("foo", ">", DB_INT, 5);
205 205
    created with
206 206
 my @types = { DB_INT, DB_STRING };
207 207
 my @names = { "id", "vals" };
208
-my $cols = new OpenSER::VDB::Column(\@types, \@names);
208
+my $cols = new Kamailio::VDB::Column(\@types, \@names);
209 209
 
210 210
    The class contains the methods type() and name() to get or set the type
211 211
    and name arrays.
212 212
 
213
-3.5. OpenSER::VDB::Result
213
+3.5. Kamailio::VDB::Result
214 214
 
215 215
    The Result class represents a query result. It contains a schema (class
216 216
    Column) and an array of rows, where each row is an array of Values. The
... ...
@@ -227,7 +227,7 @@ my $cols = new OpenSER::VDB::Column(\@types, \@names);
227 227
    another user/host pair. The Alias adapter turns the ReqCond array into
228 228
    two separate scalars that are used as parameters for a VTab call.
229 229
 
230
-   Adapter classes have to inherit from the OpenSER::VDB base class and
230
+   Adapter classes have to inherit from the Kamailio::VDB base class and
231 231
    may provide one or more functions with the names insert, update,
232 232
    replace, query and/or delete, depending on the module which is to be
233 233
    used with the adapter. While modules such as alias_db only require a
... ...
@@ -238,24 +238,24 @@ my $cols = new OpenSER::VDB::Column(\@types, \@names);
238 238
    The implemented functions need to deal with the correct data types. The
239 239
    parameter and return types are listed in this section.
240 240
 
241
-   insert() is passed an array of OpenSER::VDB::Pair objects. It should
241
+   insert() is passed an array of Kamailio::VDB::Pair objects. It should
242 242
    return an integer value.
243 243
 
244
-   replace() is passed an array of OpenSER::VDB::Pair objects. This
244
+   replace() is passed an array of Kamailio::VDB::Pair objects. This
245 245
    function is currently not used by any publicly available modules. It
246 246
    should return an integer value.
247 247
 
248
-   delete() is passed an array of OpenSER::VDB::ReqCond objects. It should
249
-   return an integer value.
248
+   delete() is passed an array of Kamailio::VDB::ReqCond objects. It
249
+   should return an integer value.
250 250
 
251
-   update() is passed an array of OpenSER::VDB::ReqCond objects (which
252
-   rows to update) and an array of OpenSER::VDB::Pair objects (new data).
251
+   update() is passed an array of Kamailio::VDB::ReqCond objects (which
252
+   rows to update) and an array of Kamailio::VDB::Pair objects (new data).
253 253
    It should return an integer value.
254 254
 
255
-   query() is passed an array of OpenSER::VDB::ReqCond objects (which rows
256
-   to select), an array of strings (which column names to return) and a
257
-   single string by which column to sort. It should return an object of
258
-   type OpenSER::VDB::Result.
255
+   query() is passed an array of Kamailio::VDB::ReqCond objects (which
256
+   rows to select), an array of strings (which column names to return) and
257
+   a single string by which column to sort. It should return an object of
258
+   type Kamailio::VDB::Result.
259 259
 
260 260
 5. VTabs
261 261
 
262 262
similarity index 98%
263 263
rename from modules/perlvdb/perlvdb.c
264 264
rename to modules/db_perlvdb/db_perlvdb.c
... ...
@@ -24,7 +24,7 @@
24 24
  *
25 25
  */
26 26
 
27
-#include "perlvdb.h"
27
+#include "db_perlvdb.h"
28 28
 
29 29
 MODULE_VERSION
30 30
 
... ...
@@ -58,7 +58,7 @@ static param_export_t params[] = {
58 58
 
59 59
 
60 60
 struct module_exports exports = {
61
-	"perlvdb",
61
+	"db_perlvdb",
62 62
 	RTLD_NOW | RTLD_GLOBAL, /* dlopen flags */
63 63
 	cmds,
64 64
 	params,      /*  module parameters */
65 65
similarity index 100%
66 66
rename from modules/perlvdb/perlvdb.h
67 67
rename to modules/db_perlvdb/db_perlvdb.h
68 68
similarity index 76%
69 69
rename from modules/perlvdb/doc/Makefile
70 70
rename to modules/db_perlvdb/doc/Makefile
... ...
@@ -1,4 +1,4 @@
1
-docs = perlvdb.xml
1
+docs = db_perlvdb.xml
2 2
 
3 3
 docbook_dir = ../../../docbook
4 4
 include $(docbook_dir)/Makefile.module
5 5
similarity index 91%
6 6
rename from modules/perlvdb/doc/perlvdb.xml
7 7
rename to modules/db_perlvdb/doc/db_perlvdb.xml
... ...
@@ -36,8 +36,8 @@
36 36
 	</bookinfo>
37 37
 	<toc></toc>
38 38
 	
39
-	<xi:include href="perlvdb_admin.xml"/>
40
-	<xi:include href="perlvdb_devel.xml"/>
39
+	<xi:include href="db_perlvdb_admin.xml"/>
40
+	<xi:include href="db_perlvdb_devel.xml"/>
41 41
 	
42 42
 	
43 43
 </book>
44 44
similarity index 94%
45 45
rename from modules/perlvdb/doc/perlvdb_admin.xml
46 46
rename to modules/db_perlvdb/doc/db_perlvdb_admin.xml
... ...
@@ -35,12 +35,12 @@
35 35
 		database backend using the db_url_parameter:
36 36
 	</para>
37 37
 	<programlisting>
38
-modparam("acc", "db_url", "perlvdb:OpenSER::VDB::Adapter::AccountingSIPtrace")
38
+modparam("acc", "db_url", "perlvdb:Kamailio::VDB::Adapter::AccountingSIPtrace")
39 39
 </programlisting>
40 40
 	<para>
41 41
 		This configuration options tells acc module that it should use the
42 42
 		perlvdb module which will in turn use the Perl class
43
-		OpenSER::VDB::Adapter::AccountingSIPtrace
43
+		Kamailio::VDB::Adapter::AccountingSIPtrace
44 44
 		to relay the database requests.
45 45
 	</para>
46 46
 	</section>
47 47
similarity index 81%
48 48
rename from modules/perlvdb/doc/perlvdb_devel.xml
49 49
rename to modules/db_perlvdb/doc/db_perlvdb_devel.xml
... ...
@@ -14,7 +14,7 @@
14 14
 	<title>&develguide;</title>
15 15
 	<section><title>Introduction</title>
16 16
 		<para>
17
-		OpenSER uses a database API for requests of numerous different
17
+		Kamailio uses a database API for requests of numerous different
18 18
 		types of data. Four primary operations are supported:
19 19
 			<itemizedlist>
20 20
 				<listitem><para>query</para></listitem>
... ...
@@ -28,23 +28,23 @@
28 28
 			Perl functions.
29 29
 		</para>
30 30
 	</section>
31
-	<section><title>Base class OpenSER::VDB</title>
31
+	<section><title>Base class Kamailio::VDB</title>
32 32
 		<para>
33 33
 			A client module has to be configured to use the perlvdb module in conjunction
34 34
 			with a Perl class to provide the functions. The configured class needs to
35
-			inherit from the base class <literal role="code">OpenSER::VDB</literal>.
35
+			inherit from the base class <literal role="code">Kamailio::VDB</literal>.
36 36
 		</para>
37 37
 		<para>
38 38
 			Derived classes have to implement the necessary
39 39
 			functions "query", "insert", "update" and/or "delete". The client module
40 40
 			specifies the necessary functions.
41 41
 			To find out which functions are called from a module, its processes may
42
-			be evaluated with the <literal role="code">OpenSER::VDB::Adapter::Describe</literal> class which will
42
+			be evaluated with the <literal role="code">Kamailio::VDB::Adapter::Describe</literal> class which will
43 43
 			log incoming requests (without actually providing any real functionality).
44 44
 		</para>
45 45
 		<para>
46 46
 			While users can directly implement their desired functionality in a class
47
-			derived from OpenSER::VDB, it is advisable to split the implementation into
47
+			derived from Kamailio::VDB, it is advisable to split the implementation into
48 48
 			an Adapter that transforms the relational structured parameters into pure
49 49
 			Perl function arguments, and add a virtual table (VTab) to provide the
50 50
 			relaying to an underlying technology.
... ...
@@ -54,45 +54,45 @@
54 54
 		<para>
55 55
 			Before introducing the higher level concepts of this module, the used
56 56
 			datatypes will briefly be explained.
57
-			The OpenSER Perl library includes some data types that have to be used
57
+			The Kamailio Perl library includes some data types that have to be used
58 58
 			in this module:
59 59
 		</para>
60
-		<section><title>OpenSER::VDB::Value</title>
60
+		<section><title>Kamailio::VDB::Value</title>
61 61
 		<para>
62 62
 			A value includes a data type flag and a value. Valid data types are
63 63
 			DB_INT, DB_DOUBLE, DB_STRING, DB_STR, DB_DATETIME, DB_BLOB, DB_BITMAP.
64 64
 			A new variable may be created with <programlisting>
65
-my $val = new OpenSER::VDB::Value(DB_STRING, "foobar");
65
+my $val = new Kamailio::VDB::Value(DB_STRING, "foobar");
66 66
 </programlisting>
67 67
 			Value objects contain the type() and data() methods to get or set the type
68 68
 			and data attributes.
69 69
 		</para>
70 70
 		</section>
71
-		<section><title>OpenSER::VDB::Pair</title>
71
+		<section><title>Kamailio::VDB::Pair</title>
72 72
 		<para>
73 73
 			The Pair class is derived from the Value class and additionally contains a
74 74
 			column name (key).
75 75
 			A new variable may be created with <programlisting>
76
-my $pair = new OpenSER::VDB::Pair("foo", DB_STRING, "bar");
76
+my $pair = new Kamailio::VDB::Pair("foo", DB_STRING, "bar");
77 77
 </programlisting>
78 78
 			where foo is the key and bar is the value.
79 79
 			Additonally to the methods of the Value class, it contains a key() method to
80 80
 			get or set the key attribute.
81 81
 		</para>
82 82
 		</section>
83
-		<section><title>OpenSER::VDB::ReqCond</title>
83
+		<section><title>Kamailio::VDB::ReqCond</title>
84 84
 		<para>
85 85
 			The ReqCond class is used for select condition and is derived from the Pair
86 86
 			class. It contains an addtional operator attribute.
87 87
 			A new variable may be created with <programlisting>
88
-my $cond = new OpenSER::VDB::ReqCond("foo", ">", DB_INT, 5);
88
+my $cond = new Kamailio::VDB::ReqCond("foo", ">", DB_INT, 5);
89 89
 </programlisting>
90 90
 			where foo is the key, "greater" is the operator and 5 is the value to compare.
91 91
 			Additonally to the methods of the Pair class, it contains an op() method to
92 92
 			get or set the operator attribute.
93 93
 		</para>
94 94
 		</section>
95
-		<section><title>OpenSER::VDB::Column</title>
95
+		<section><title>Kamailio::VDB::Column</title>
96 96
 		<para>
97 97
 			This class represents a column definition or database schema. It contains an
98 98
 			array for the column names and an array for the column types. Both arrays need
... ...
@@ -100,13 +100,13 @@ my $cond = new OpenSER::VDB::ReqCond("foo", ">", DB_INT, 5);
100 100
 			A new variable may be created with <programlisting>
101 101
 my @types = { DB_INT, DB_STRING };
102 102
 my @names = { "id", "vals" };
103
-my $cols = new OpenSER::VDB::Column(\@types, \@names);
103
+my $cols = new Kamailio::VDB::Column(\@types, \@names);
104 104
 </programlisting>
105 105
 			The class contains the methods type() and name() to get or set the type and name
106 106
 			arrays.
107 107
 		</para>
108 108
 		</section>
109
-		<section><title>OpenSER::VDB::Result</title>
109
+		<section><title>Kamailio::VDB::Result</title>
110 110
 		<para>
111 111
 			The Result class represents a query result. It contains a schema (class Column)
112 112
 			and an array of rows, where each row is an array of Values. The object methods
... ...
@@ -123,7 +123,7 @@ my $cols = new OpenSER::VDB::Column(\@types, \@names);
123 123
 			for a VTab call.
124 124
 		</para>
125 125
 		<para>
126
-			Adapter classes have to inherit from the OpenSER::VDB base class and may provide
126
+			Adapter classes have to inherit from the Kamailio::VDB base class and may provide
127 127
 			one or more functions with the names insert, update, replace, query and/or delete,
128 128
 			depending on the module which is to be used with the adapter. While modules such as
129 129
 			alias_db only require a query function, others -- such as siptrace -- depend
... ...
@@ -135,29 +135,29 @@ my $cols = new OpenSER::VDB::Column(\@types, \@names);
135 135
 				parameter and return types are listed in this section.
136 136
 			</para>
137 137
 			<para>
138
-				<emphasis>insert()</emphasis> is passed an array of OpenSER::VDB::Pair objects.
138
+				<emphasis>insert()</emphasis> is passed an array of Kamailio::VDB::Pair objects.
139 139
 				It should return an integer value.
140 140
 			</para>
141 141
 			<para>
142
-				<emphasis>replace()</emphasis> is passed an array of OpenSER::VDB::Pair objects.
142
+				<emphasis>replace()</emphasis> is passed an array of Kamailio::VDB::Pair objects.
143 143
 				This function is currently not used by any publicly available modules.
144 144
 				It should return an integer value.
145 145
 			</para>
146 146
 			<para>
147
-				<emphasis>delete()</emphasis> is passed an array of OpenSER::VDB::ReqCond objects.
147
+				<emphasis>delete()</emphasis> is passed an array of Kamailio::VDB::ReqCond objects.
148 148
 				It should return an integer value.
149 149
 			</para>
150 150
 			<para>
151
-				<emphasis>update()</emphasis> is passed an array of OpenSER::VDB::ReqCond objects
152
-				(which rows to update) and an array of OpenSER::VDB::Pair objects
151
+				<emphasis>update()</emphasis> is passed an array of Kamailio::VDB::ReqCond objects
152
+				(which rows to update) and an array of Kamailio::VDB::Pair objects
153 153
 				(new data).
154 154
 				It should return an integer value.
155 155
 			</para>
156 156
 			<para>
157
-				<emphasis>query()</emphasis> is passed an array of OpenSER::VDB::ReqCond objects
157
+				<emphasis>query()</emphasis> is passed an array of Kamailio::VDB::ReqCond objects
158 158
 				(which rows to select), an array of strings (which column names to return)
159 159
 				and a single string by which column to sort.
160
-				It should return an object of type OpenSER::VDB::Result.
160
+				It should return an object of type Kamailio::VDB::Result.
161 161
 			</para>
162 162
 		</section>
163 163
 	</section>
164 164
similarity index 60%
165 165
rename from modules/perlvdb/doc/samples/alias_ldap.pm
166 166
rename to modules/db_perlvdb/doc/samples/alias_ldap.pm
... ...
@@ -1,9 +1,9 @@
1 1
 package alias_ldap;
2 2
 
3
-use OpenSER::LDAPUtils::LDAPConf;
4
-use OpenSER::LDAPUtils::LDAPConnection;
3
+use Kamailio::LDAPUtils::LDAPConf;
4
+use Kamailio::LDAPUtils::LDAPConnection;
5 5
 
6
-use OpenSER::Constants;
6
+use Kamailio::Constants;
7 7
 
8 8
 sub init {}
9 9
 
... ...
@@ -13,13 +13,13 @@ sub query {
13 13
 	my $alias_domain = shift;
14 14
 
15 15
 	my $uri = "$alias_username\@$alias_domain";
16
-	my $ldap = new OpenSER::LDAPUtils::LDAPConnection();
16
+	my $ldap = new Kamailio::LDAPUtils::LDAPConnection();
17 17
 
18
-	OpenSER::log(L_INFO, "Trying LDAP request with $uri\n");
18
+	Kamailio::log(L_INFO, "Trying LDAP request with $uri\n");
19 19
 	my @ldaprows = $ldap->search("(&(ObjectClass=inetOrgPerson)(mail=$uri))", "ou=people,dc=example,dc=com", "uid");
20 20
 
21 21
 	if (@ldaprows[0]) {
22
-		OpenSER::log(L_INFO, "Got a row: ".@ldaprows[0]."\n");
22
+		Kamailio::log(L_INFO, "Got a row: ".@ldaprows[0]."\n");
23 23
 		my $ret;
24 24
 		$ret->{username} = @ldaprows[0];
25 25
 		$ret->{domain} = "voip";
26 26
similarity index 100%
27 27
rename from modules/perlvdb/doc/samples/flatstoresimulator.pm
28 28
rename to modules/db_perlvdb/doc/samples/flatstoresimulator.pm
29 29
similarity index 100%
30 30
rename from modules/perlvdb/doc/samples/simplealias.pm
31 31
rename to modules/db_perlvdb/doc/samples/simplealias.pm
32 32
similarity index 100%
33 33
rename from modules/perlvdb/doc/samples/simpleauth.pm
34 34
rename to modules/db_perlvdb/doc/samples/simpleauth.pm
35 35
similarity index 100%
36 36
rename from modules/perlvdb/doc/samples/simplespeeddial.pm
37 37
rename to modules/db_perlvdb/doc/samples/simplespeeddial.pm
38 38
similarity index 100%
39 39
rename from modules/perlvdb/perlvdb_conv.c
40 40
rename to modules/db_perlvdb/perlvdb_conv.c
41 41
similarity index 98%
42 42
rename from modules/perlvdb/perlvdb_conv.h
43 43
rename to modules/db_perlvdb/perlvdb_conv.h
... ...
@@ -31,7 +31,7 @@
31 31
 #include "../../lib/srdb1/db_val.h"
32 32
 #include "../../lib/srdb1/db_key.h"
33 33
 
34
-#include "perlvdb.h"
34
+#include "db_perlvdb.h"
35 35
 
36 36
 #include <XSUB.h>
37 37
 
38 38
similarity index 100%
39 39
rename from modules/perlvdb/perlvdb_oohelpers.c
40 40
rename to modules/db_perlvdb/perlvdb_oohelpers.c
41 41
similarity index 98%
42 42
rename from modules/perlvdb/perlvdb_oohelpers.h
43 43
rename to modules/db_perlvdb/perlvdb_oohelpers.h
... ...
@@ -27,7 +27,7 @@
27 27
 #ifndef _PERLVDB_OOHELPERS_H
28 28
 #define _PERLVDB_OOHELPERS_H 
29 29
 
30
-#include "perlvdb.h"
30
+#include "db_perlvdb.h"
31 31
 
32 32
 SV *perlvdb_perlmethod(SV *ref,
33 33
 		       const char* method,
34 34
similarity index 99%
35 35
rename from modules/perlvdb/perlvdbfunc.c
36 36
rename to modules/db_perlvdb/perlvdbfunc.c
... ...
@@ -28,7 +28,7 @@
28 28
 #include <ctype.h>
29 29
 #include <stdio.h>
30 30
 
31
-#include "perlvdb.h"
31
+#include "db_perlvdb.h"
32 32
 #include "perlvdbfunc.h"
33 33
 #include "../../str.h"
34 34
 
35 35
similarity index 100%
36 36
rename from modules/perlvdb/perlvdbfunc.h
37 37
rename to modules/db_perlvdb/perlvdbfunc.h