浏览代码

textopsx: updated old log messages

- use clang format
Daniel-Constantin Mierla 8 年之前
父节点
当前提交
b1e49b5ac1
共有 2 个文件被更改,包括 338 次插入302 次删除
  1. 7 4
      src/modules/textopsx/api.h
  2. 331 298
      src/modules/textopsx/textopsx.c

+ 7 - 4
src/modules/textopsx/api.h

@@ -26,19 +26,22 @@
 /*
  * Struct with the textopsx api.
  */
-typedef struct textopsx_binds {
+typedef struct textopsx_binds
+{
 	cmd_function msg_apply_changes;
 } textopsx_api_t;
 
-typedef int (*bind_textopsx_f)(textopsx_api_t*);
+typedef int (*bind_textopsx_f)(textopsx_api_t *);
 
 /*
  * Function to be called direclty from other modules to load
  * the textops API.
  */
-inline static int load_textopsx_api(textopsx_api_t *tob){
+inline static int load_textopsx_api(textopsx_api_t *tob)
+{
 	bind_textopsx_f bind_textopsx_exports;
-	if(!(bind_textopsx_exports=(bind_textopsx_f)find_export("bind_textopsx", 1, 0))){
+	if(!(bind_textopsx_exports =
+					   (bind_textopsx_f)find_export("bind_textopsx", 1, 0))) {
 		LM_ERR("Failed to import bind_textopsx\n");
 		return -1;
 	}

文件差异内容过多而无法显示
+ 331 - 298
src/modules/textopsx/textopsx.c


部分文件因为文件数量过多而无法显示