Module: kamailio
Branch: master
Commit: cabf1968bf75f2b85894e5cfda63e1cd3cb7bd82
URL:
https://github.com/kamailio/kamailio/commit/cabf1968bf75f2b85894e5cfda63e1c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-06-12T10:03:06+02:00
ims_charging: kemi exports format for kemidocs.py
---
Modified: src/modules/ims_charging/ims_charging_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/cabf1968bf75f2b85894e5cfda63e1c…
Patch:
https://github.com/kamailio/kamailio/commit/cabf1968bf75f2b85894e5cfda63e1c…
---
diff --git a/src/modules/ims_charging/ims_charging_mod.c
b/src/modules/ims_charging/ims_charging_mod.c
index 96c50b1c16a..94ac9dbd0a5 100644
--- a/src/modules/ims_charging/ims_charging_mod.c
+++ b/src/modules/ims_charging/ims_charging_mod.c
@@ -743,20 +743,27 @@ static int ro_fixup_stop(void **param, int param_no)
return 0;
}
+/* clang-format off */
static sr_kemi_t ims_charging_kemi_exports[] = {
- {str_init("ims_charging"), str_init("Ro_CCR"), SR_KEMIP_INT,
ki_ro_ccr,
- {SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_STR,
- SR_KEMIP_STR, SR_KEMIP_NONE}},
- {str_init("ims_charging"), str_init("Ro_CCR_Stop"), SR_KEMIP_INT,
- ki_ro_ccr_stop,
- {SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_STR, SR_KEMIP_NONE,
- SR_KEMIP_NONE, SR_KEMIP_NONE}},
- {str_init("ims_charging"), str_init("Ro_set_session_id_avp"),
- SR_KEMIP_INT, ki_ro_set_session_id_avp,
- {SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
- SR_KEMIP_NONE, SR_KEMIP_NONE}},
-
- {{0, 0}, {0, 0}, 0, NULL, {0, 0, 0, 0, 0, 0}}};
+ { str_init("ims_charging"), str_init("Ro_CCR"),
+ SR_KEMIP_INT, ki_ro_ccr,
+ { SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_INT,
+ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE }
+ },
+ { str_init("ims_charging"), str_init("Ro_CCR_Stop"),
+ SR_KEMIP_INT, ki_ro_ccr_stop,
+ { SR_KEMIP_STR, SR_KEMIP_INT, SR_KEMIP_STR,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
+ { str_init("ims_charging"), str_init("Ro_set_session_id_avp"),
+ SR_KEMIP_INT, ki_ro_set_session_id_avp,
+ { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+ },
+
+ { {0, 0}, {0, 0}, 0, NULL, {0, 0, 0, 0, 0, 0} }
+};
+/* clang-format on */
int mod_register(char *path, int *dlflags, void *p1, void *p2)
{