Module: kamailio Branch: master Commit: f867d2190853b9f21791d83573de3f96f4337242 URL: https://github.com/kamailio/kamailio/commit/f867d2190853b9f21791d83573de3f96f4337242
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2023-06-12T10:03:06+02:00 kamzo: kemi exports formatted for kemidocs.py --- Modified: src/modules/kazoo/kazoo.c --- Diff: https://github.com/kamailio/kamailio/commit/f867d2190853b9f21791d83573de3f96f4337242.diff Patch: https://github.com/kamailio/kamailio/commit/f867d2190853b9f21791d83573de3f96f4337242.patch --- diff --git a/src/modules/kazoo/kazoo.c b/src/modules/kazoo/kazoo.c index 2cf34becebe..757fa2cdce9 100644 --- a/src/modules/kazoo/kazoo.c +++ b/src/modules/kazoo/kazoo.c @@ -386,16 +386,22 @@ static int mod_init(void) return 0; } +/* clang-format off */ static sr_kemi_t kazoo_kemi_exports[] = { - {str_init("kazoo"), str_init("kazoo_publish"), SR_KEMIP_INT, - ki_kz_amqp_publish, - {SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE, - SR_KEMIP_NONE, SR_KEMIP_NONE}}, - {str_init("kazoo"), str_init("kazoo_subscribe"), SR_KEMIP_INT, - ki_kz_amqp_subscribe, - {SR_KEMIP_STR, 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("kazoo"), str_init("kazoo_publish"), + SR_KEMIP_INT, ki_kz_amqp_publish, + { SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR, + SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } + }, + { str_init("kazoo"), str_init("kazoo_subscribe"), + SR_KEMIP_INT, ki_kz_amqp_subscribe, + { SR_KEMIP_STR, 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) { _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org