Browse code

Jabber module

Daniel-Constantin Mierla authored on 04/07/2002 19:00:43
Showing 1 changed files
... ...
@@ -32,7 +32,7 @@ db_con_t** db_con;
32 32
 
33 33
 /** parameters */
34 34
 
35
-char *db_url   = "sql://root:#gorn12@gorn.fokus.gmd.de/sip_jab";
35
+char *db_url   = "sql://root@127.0.0.1/sip_jab";
36 36
 char *db_table = "jusers";
37 37
 
38 38
 int nrw = 2;
... ...
@@ -71,6 +71,7 @@ struct module_exports exports= {
71 71
 
72 72
 	(char*[]) {   /* Module parameter names */
73 73
 		"contact",
74
+		"db_url",
74 75
 		"jaddress",
75 76
 		"jport",
76 77
 		"workers",
... ...
@@ -79,6 +80,7 @@ struct module_exports exports= {
79 80
 		"sleep_time"
80 81
 	},
81 82
 	(modparam_t[]) {   /* Module parameter types */
83
+		STR_PARAM,
82 84
 		STR_PARAM,
83 85
 		STR_PARAM,
84 86
 		INT_PARAM,
... ...
@@ -89,6 +91,7 @@ struct module_exports exports= {
89 91
 	},
90 92
 	(void*[]) {   /* Module parameter variable pointers */
91 93
 		&contact,
94
+		&db_url,
92 95
 		&jaddress,
93 96
 		&jport,
94 97
 		&nrw,
... ...
@@ -96,7 +99,7 @@ struct module_exports exports= {
96 99
 		&cache_time,
97 100
 		&sleep_time
98 101
 	},
99
-	6,      /* Number of module paramers */
102
+	7,      /* Number of module paramers */
100 103
 	
101 104
 	mod_init,   /* module initialization function */
102 105
 	(response_function) 0,