Module: kamailio
Branch: master
Commit: 93b979aa5b3dd6ebd18eea20752af848fc83a74b
URL:
https://github.com/kamailio/kamailio/commit/93b979aa5b3dd6ebd18eea20752af84…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-12-11T19:13:38+01:00
pua_rpc: reformat exported structures
---
Modified: src/modules/pua_rpc/pua_rpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/93b979aa5b3dd6ebd18eea20752af84…
Patch:
https://github.com/kamailio/kamailio/commit/93b979aa5b3dd6ebd18eea20752af84…
---
diff --git a/src/modules/pua_rpc/pua_rpc.c b/src/modules/pua_rpc/pua_rpc.c
index b7ea2fae7f4..e1fc41f3aa0 100644
--- a/src/modules/pua_rpc/pua_rpc.c
+++ b/src/modules/pua_rpc/pua_rpc.c
@@ -372,27 +372,28 @@ static void pua_rpc_subscribe(rpc_t *rpc, void *ctx)
static const char *pua_rpc_subscribe_doc[2] = {"Send subscribe request", 0};
-
+/* clang-format off */
rpc_export_t pua_rpc_ex[] = {
- {"pua.publish", pua_rpc_publish, pua_rpc_publish_doc, 0},
- {"pua.send_publish", pua_rpc_send_publish, pua_rpc_send_publish_doc, 0},
- {"pua.subscribe", pua_rpc_subscribe, pua_rpc_subscribe_doc, 0},
- {0, 0, 0, 0}};
-
+ {"pua.publish", pua_rpc_publish, pua_rpc_publish_doc, 0},
+ {"pua.send_publish", pua_rpc_send_publish, pua_rpc_send_publish_doc, 0},
+ {"pua.subscribe", pua_rpc_subscribe, pua_rpc_subscribe_doc, 0},
+ {0, 0, 0, 0}
+};
/** module exports */
struct module_exports exports = {
- "pua_rpc", /* module name */
- DEFAULT_DLFLAGS, /* dlopen flags */
- 0, /* exported functions */
- 0, /* exported parameters */
- pua_rpc_ex, /* RPC method exports */
- 0, /* exported pseudo-variables */
- 0, /* response handling function */
- mod_init, /* module initialization function */
- 0, /* per-child init function */
- 0 /* module destroy function */
+ "pua_rpc", /* module name */
+ DEFAULT_DLFLAGS, /* dlopen flags */
+ 0, /* exported functions */
+ 0, /* exported parameters */
+ pua_rpc_ex, /* RPC method exports */
+ 0, /* exported pseudo-variables */
+ 0, /* response handling function */
+ mod_init, /* module initialization function */
+ 0, /* per-child init function */
+ 0 /* module destroy function */
};
+/* clang-format on */
/**
* init module function