Skip to content

Commit

Permalink
ims_charging: kemi exports format for kemidocs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jun 12, 2023
1 parent d9f9e5c commit cabf196
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions src/modules/ims_charging/ims_charging_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit cabf196

Please sign in to comment.