MT#62337 update PARAM definition for our modules

Change-Id: I77c7d0200910f25762386720bd195677738e1ef6
mr13.3
Victor Seva 1 year ago
parent b387362e08
commit 387078e1cf

@ -97,7 +97,7 @@ index 0000000..9a3cee1
+include ../../Makefile.modules
diff --git a/src/modules/lcr_rate/lcr_rate_mod.c b/src/modules/lcr_rate/lcr_rate_mod.c
new file mode 100644
index 0000000..5670871
index 0000000..7d1462f
--- /dev/null
+++ b/src/modules/lcr_rate/lcr_rate_mod.c
@@ -0,0 +1,517 @@
@ -184,12 +184,12 @@ index 0000000..5670871
+};
+
+static param_export_t params[] = {
+ {"gw_uri_avp", STR_PARAM, &gw_uri_avp_param},
+ {"db_host", STR_PARAM, &db_host},
+ {"db_port", INT_PARAM, &db_port},
+ {"db_user", STR_PARAM, &db_user},
+ {"db_pass", STR_PARAM, &db_pass},
+ {"db_db", STR_PARAM, &db_db},
+ {"gw_uri_avp", PARAM_STR, &gw_uri_avp_param},
+ {"db_host", PARAM_STR, &db_host},
+ {"db_port", PARAM_INT, &db_port},
+ {"db_user", PARAM_STR, &db_user},
+ {"db_pass", PARAM_STR, &db_pass},
+ {"db_db", PARAM_STR, &db_db},
+ {0,},
+};
+

@ -226,7 +226,7 @@ index 0000000..b93b181
+#endif
diff --git a/src/modules/pcem/pcem_mod.c b/src/modules/pcem/pcem_mod.c
new file mode 100644
index 0000000..2710b60
index 0000000..7064015
--- /dev/null
+++ b/src/modules/pcem/pcem_mod.c
@@ -0,0 +1,149 @@
@ -304,8 +304,8 @@ index 0000000..2710b60
+
+static param_export_t params[] = {
+ /*{"test_str", INT_PARAM, &test_str.s },*/
+ {"qos_flag", INT_PARAM, &pcem_qos_flag },
+ {"all_flag", INT_PARAM, &pcem_all_flag },
+ {"qos_flag", PARAM_INT, &pcem_qos_flag },
+ {"all_flag", PARAM_INT, &pcem_all_flag },
+ {0,0,0}
+};
+

@ -51,7 +51,7 @@ index 0000000..d1e7b4d
+include ../../Makefile.modules
diff --git a/src/modules/tcap/tcap_mod.c b/src/modules/tcap/tcap_mod.c
new file mode 100644
index 0000000..79e736d
index 0000000..26beebb
--- /dev/null
+++ b/src/modules/tcap/tcap_mod.c
@@ -0,0 +1,392 @@
@ -104,8 +104,8 @@ index 0000000..79e736d
+
+
+static param_export_t params[] = {
+ { "content_type", STR_PARAM, &content_type.s },
+ { "strip_trailing_crlf", INT_PARAM, &strip_trailing_crlf },
+ { "content_type", PARAM_STR, &content_type.s },
+ { "strip_trailing_crlf", PARAM_INT, &strip_trailing_crlf },
+ { 0, }
+};
+

Loading…
Cancel
Save