Module: kamailio
Branch: master
Commit: 8099e2d0b9fdc8826e21013a3fa67d89ebdd88b2
URL:
https://github.com/kamailio/kamailio/commit/8099e2d0b9fdc8826e21013a3fa67d8…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2024-11-20T14:19:11+01:00
file_out: reformat exported structures
---
Modified: src/modules/file_out/file_out.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8099e2d0b9fdc8826e21013a3fa67d8…
Patch:
https://github.com/kamailio/kamailio/commit/8099e2d0b9fdc8826e21013a3fa67d8…
---
diff --git a/src/modules/file_out/file_out.c b/src/modules/file_out/file_out.c
index a13d3531dde..1234827eab1 100644
--- a/src/modules/file_out/file_out.c
+++ b/src/modules/file_out/file_out.c
@@ -75,28 +75,28 @@ int *fo_number_of_files = NULL;
time_t fo_current_timestamp = 0;
+/* clang-format off */
static cmd_export_t cmds[] = {
- {"file_out", (cmd_function)fo_write_to_file, 2, fo_fixup_int_pvar,
- fo_fixup_free_int_pvar, ANY_ROUTE},
- {0, 0, 0, 0, 0, 0}};
+ {"file_out", (cmd_function)fo_write_to_file, 2, fo_fixup_int_pvar,
fo_fixup_free_int_pvar, ANY_ROUTE},
+ {0, 0, 0, 0, 0, 0}};
static param_export_t params[] = {{"base_folder", PARAM_STR,
&fo_base_folder},
- {"file", PARAM_STR | PARAM_USE_FUNC, &fo_add_filename},
- {"worker_usleep", PARAM_INT, &fo_worker_usleep}, {0, 0, 0}};
+ {"file", PARAM_STR | PARAM_USE_FUNC, &fo_add_filename},
+ {"worker_usleep", PARAM_INT, &fo_worker_usleep}, {0, 0, 0}};
struct module_exports exports = {
- "file_out", /* module name */
- DEFAULT_DLFLAGS, /* dlopen flags */
- cmds, /* exported functions */
- params, /* exported parameters */
- 0, /* RPC method exports */
- 0, /* exported pseudo-variables */
- 0, /* response handling function */
- mod_init, /* module initialization function */
- child_init, /* per-child init function */
- destroy /* module destroy function */
+ "file_out", /* module name */
+ DEFAULT_DLFLAGS, /* dlopen flags */
+ cmds, /* exported functions */
+ params, /* exported parameters */
+ 0, /* RPC method exports */
+ 0, /* exported pseudo-variables */
+ 0, /* response handling function */
+ mod_init, /* module initialization function */
+ child_init, /* per-child init function */
+ destroy /* module destroy function */
};
-
+/* clang-format on */
static int mod_init(void)
{