[SR-Dev] git:janakj/flatstore: - export param types adjusted to PARAM_STR/ STRING & PARAM_INT

Jan Janak jan at iptel.org
Sun Feb 15 18:56:46 CET 2009


Module: sip-router
Branch: janakj/flatstore
Commit: 73ebd9245377bbdb0b12930120796f0f80a81092
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=73ebd9245377bbdb0b12930120796f0f80a81092

Author: Tomas Mandys <tomas.mandys at iptel.org>
Committer: Tomas Mandys <tomas.mandys at iptel.org>
Date:   Sun Jan  8 22:43:14 2006 +0000

- export param types adjusted to PARAM_STR/STRING & PARAM_INT
- removed corresponding obsolete strlen(str_param) in init

---

 modules/db_flatstore/flatstore_mod.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/db_flatstore/flatstore_mod.c b/modules/db_flatstore/flatstore_mod.c
index 54b280a..d4576e3 100644
--- a/modules/db_flatstore/flatstore_mod.c
+++ b/modules/db_flatstore/flatstore_mod.c
@@ -97,10 +97,10 @@ static cmd_export_t cmds[] = {
  * Exported parameters
  */
 static param_export_t params[] = {
-	{"flush", INT_PARAM, &flat_flush},
-	{"field_delimiter", STR_PARAM, &flat_delimiter},
-	{"record_delimiter", STR_PARAM, &flat_record_delimiter},
-	{"escape_char", STR_PARAM, &flat_escape},
+	{"flush", PARAM_INT, &flat_flush},
+	{"field_delimiter", PARAM_STRING, &flat_delimiter},
+	{"record_delimiter", PARAM_STRING, &flat_record_delimiter},
+	{"escape_char", PARAM_STRING, &flat_escape},
 	{0, 0, 0}
 };
 




More information about the sr-dev mailing list