Browse code

- by default the "re_table" is NULL, so the regular-expression based group support is disabled

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@438 689a6050-402a-0410-94f2-e92a70836424

Bogdan-Andrei Iancu authored on 06/12/2005 18:00:39
Showing 3 changed files
... ...
@@ -189,13 +189,14 @@ modparam("group", "use_domain", 1)
189 189
 1.3.7. re_table (string)
190 190
 
191 191
    Name of the table holding definitions for regular-expression
192
-   based groups.
192
+   based groups. If no table is defined, the regular-expression
193
+   support is disabled.
193 194
 
194
-   Default value is "re_grp". 
195
+   Default value is "NULL". 
195 196
 
196 197
    Example 1-7. Set re_table parameter
197 198
 ...
198
-modparam("group", "re_table", "re_grp_table")
199
+modparam("group", "re_table", "re_grp")
199 200
 ...
200 201
      _________________________________________________________
201 202
 
... ...
@@ -339,4 +340,4 @@ Chapter 3. Frequently Asked Questions
339 340
    3.3. How can I report a bug?
340 341
 
341 342
    Please follow the guidelines provided at:
342
-   http://openser.org/bugs.
343
+   http://sourceforge.net/tracker/?group_id=139143.
... ...
@@ -205,18 +205,19 @@ modparam("group", "use_domain", 1)
205 205
 		<title><varname>re_table</varname> (string)</title>
206 206
 		<para>
207 207
 		Name of the table holding definitions for regular-expression 
208
-		based groups.
208
+		based groups. If no table is defined, the regular-expression
209
+		support is disabled.
209 210
 		</para>
210 211
 		<para>
211 212
 		<emphasis>
212
-			Default value is <quote>re_grp</quote>.
213
+			Default value is <quote>NULL</quote>.
213 214
 		</emphasis>
214 215
 		</para>
215 216
 		<example>
216 217
 		<title>Set <varname>re_table</varname> parameter</title>
217 218
 		<programlisting format="linespecific">
218 219
 ...
219
-modparam("group", "re_table", "re_grp_table")
220
+modparam("group", "re_table", "re_grp")
220 221
 ...
221 222
 </programlisting>
222 223
 		</example>
... ...
@@ -109,7 +109,7 @@ str group_column  = {GROUP_COL, GROUP_COL_LEN};
109 109
 int use_domain    = 0;
110 110
 
111 111
 /* tabel and columns used for re-based groups */
112
-str re_table      = {RE_TABLE, RE_TABLE_LEN};
112
+str re_table      = {0, 0};
113 113
 str re_exp_column = {RE_EXP_COL, RE_EXP_COL_LEN};
114 114
 str re_gid_column = {RE_GID_COL, RE_GID_COL_LEN};
115 115
 int multiple_gid  = 1;