Module: kamailio
Branch: master
Commit: d9d4ef011c9ee4f9c664ad945b36197a98efa9cd
URL:
https://github.com/kamailio/kamailio/commit/d9d4ef011c9ee4f9c664ad945b36197…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-06-12T10:03:06+02:00
jansson: reformat kemi exports for kemdocs.py tool
---
Modified: src/modules/jansson/jansson_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d9d4ef011c9ee4f9c664ad945b36197…
Patch:
https://github.com/kamailio/kamailio/commit/d9d4ef011c9ee4f9c664ad945b36197…
---
diff --git a/src/modules/jansson/jansson_mod.c b/src/modules/jansson/jansson_mod.c
index 17bf8aefd8f..820a5492574 100644
--- a/src/modules/jansson/jansson_mod.c
+++ b/src/modules/jansson/jansson_mod.c
@@ -250,12 +250,17 @@ static int ki_jansson_get(sip_msg_t *msg, str *spath, str *sdoc, str
*spv)
/**
*
*/
+/* clang-format off */
static sr_kemi_t sr_kemi_jansson_exports[] = {
- {str_init("jansson"), str_init("get"), SR_KEMIP_INT,
ki_jansson_get,
- {SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,
- SR_KEMIP_NONE, SR_KEMIP_NONE}},
+ { str_init("jansson"), str_init("get"),
+ SR_KEMIP_INT, ki_jansson_get,
+ {SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR,
+ SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE}
+ },
- {{0, 0}, {0, 0}, 0, NULL, {0, 0, 0, 0, 0, 0}}};
+ { {0, 0}, {0, 0}, 0, NULL, {0, 0, 0, 0, 0, 0} }
+};
+/* clang-format on */
/**
*