Module: kamailio
Branch: master
Commit: 46e4389a8d4f546041cc0056473ef3fa7ebade63
URL: 
https://github.com/kamailio/kamailio/commit/46e4389a8d4f546041cc0056473ef3fa7ebade63

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2019-12-09T08:59:41+01:00

pv_headers: add clang-format directives to skip format on kemi_exports

format is important for generating docs by our python tool

---

Modified: src/modules/pv_headers/pv_headers.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/46e4389a8d4f546041cc0056473ef3fa7ebade63.diff
Patch: 
https://github.com/kamailio/kamailio/commit/46e4389a8d4f546041cc0056473ef3fa7ebade63.patch

---

diff --git a/src/modules/pv_headers/pv_headers.c 
b/src/modules/pv_headers/pv_headers.c
index 999802c127..9c383220e1 100644
--- a/src/modules/pv_headers/pv_headers.c
+++ b/src/modules/pv_headers/pv_headers.c
@@ -313,6 +313,7 @@ int handle_msg_cb(struct sip_msg *msg, unsigned int flags, 
void *cb)
        return 1;
 }
 
+/* clang-format off */
 static sr_kemi_t pvh_kemi_exports[] = {
        { str_init("pv_headers"), str_init("pvh_collect_headers"),
                SR_KEMIP_INT, ki_pvh_collect_headers,
@@ -351,6 +352,7 @@ static sr_kemi_t pvh_kemi_exports[] = {
        },
        {{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)
 {


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to