* use [PKG|SHM]_MEM_ERROR
* use memset and avoid initialization per field
* init variables
* add cnxcc to lgtm build
* use localtime_r() for a safer multi-thread usage
* replaced deprecated STR_PARAM with PARAM_STR
* clean includes
* clang-format
... | ... |
@@ -8,6 +8,7 @@ extraction: |
8 | 8 |
- "libcurl4-openssl-dev" |
9 | 9 |
- "libjansson-dev" |
10 | 10 |
- "libhiredis-dev" |
11 |
+ - "libevent-dev" |
|
11 | 12 |
- "liblua5.1-0-dev" |
12 | 13 |
- "libpcre3-dev" |
13 | 14 |
- "libncurses5-dev" |
... | ... |
@@ -24,6 +25,6 @@ extraction: |
24 | 25 |
after_prepare: |
25 | 26 |
- "export PKG_CONFIG_PATH=$LGTM_WORKSPACE/usr/lib/pkgconfig:$PKG_CONFIG_PATH" |
26 | 27 |
configure: |
27 |
- command: "make include_modules='app_lua app_python3 db_mysql db_postgres db_redis dialplan http_client jansson lcr ndb_redis presence presence_xml presence_dialoginfo pua pua_dialoginfo topos_redis uuid websocket xmlops' cfg" |
|
28 |
+ command: "make include_modules='app_lua app_python3 cnxcc db_mysql db_postgres db_redis dialplan http_client jansson lcr ndb_redis presence presence_xml presence_dialoginfo pua pua_dialoginfo topos_redis uuid websocket xmlops' cfg" |
|
28 | 29 |
index: |
29 | 30 |
build_command: "make all" |
- LGTM is integrated by github
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,29 @@ |
1 |
+extraction: |
|
2 |
+ cpp: |
|
3 |
+ prepare: |
|
4 |
+ packages: |
|
5 |
+ - "bison" |
|
6 |
+ - "default-libmysqlclient-dev" |
|
7 |
+ - "flex" |
|
8 |
+ - "libcurl4-openssl-dev" |
|
9 |
+ - "libjansson-dev" |
|
10 |
+ - "libhiredis-dev" |
|
11 |
+ - "liblua5.1-0-dev" |
|
12 |
+ - "libpcre3-dev" |
|
13 |
+ - "libncurses5-dev" |
|
14 |
+ - "libpq-dev" |
|
15 |
+ - "libreadline-dev" |
|
16 |
+ - "libssl-dev" |
|
17 |
+ - "libunistring-dev" |
|
18 |
+ - "libxml2-dev" |
|
19 |
+ - "pkg-config" |
|
20 |
+ - "python3" |
|
21 |
+ - "python3-dev" |
|
22 |
+ - "uuid-dev" |
|
23 |
+ - "zlib1g-dev" |
|
24 |
+ after_prepare: |
|
25 |
+ - "export PKG_CONFIG_PATH=$LGTM_WORKSPACE/usr/lib/pkgconfig:$PKG_CONFIG_PATH" |
|
26 |
+ configure: |
|
27 |
+ command: "make include_modules='app_lua app_python3 db_mysql db_postgres db_redis dialplan http_client jansson lcr ndb_redis presence presence_xml presence_dialoginfo pua pua_dialoginfo topos_redis uuid websocket xmlops' cfg" |
|
28 |
+ index: |
|
29 |
+ build_command: "make all" |