Skip to content
Snippets Groups Projects
Commit ebb77cbf authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

style(ci): modifiying with only our style

parent f834859c
No related branches found
No related tags found
1 merge request!40chore(ci): switching to clang-format-12
......@@ -29,8 +29,8 @@
enum access_type_e { ACESS_3GPP = 1, ACESS_NON_3GPP = 2 };
static const std::vector<std::string> access_type_e2str = {"3GPP_ACCESS",
"NON_3GPP_ACCESS"};
static const std::vector<std::string> access_type_e2str = {
"3GPP_ACCESS", "NON_3GPP_ACCESS"};
typedef struct sd_range_s {
std::string start;
......
......@@ -44,9 +44,9 @@
} while (0)
#define NIPADDR(addr) \
(uint8_t)(addr & 0x000000FF), (uint8_t)((addr & 0x0000FF00) >> 8), \
(uint8_t)((addr & 0x00FF0000) >> 16), \
(uint8_t)((addr & 0xFF000000) >> 24)
(uint8_t)(addr & 0x000000FF), (uint8_t) ((addr & 0x0000FF00) >> 8), \
(uint8_t) ((addr & 0x00FF0000) >> 16), \
(uint8_t) ((addr & 0xFF000000) >> 24)
#ifndef UNUSED
#define UNUSED(x) (void) (x)
......
......@@ -36,9 +36,9 @@
#define IN_ADDR_FMT "%u.%u.%u.%u"
#define PRI_IN_ADDR(aDDRESS) \
(uint8_t)((aDDRESS.s_addr) & 0x000000ff), \
(uint8_t)(((aDDRESS.s_addr) & 0x0000ff00) >> 8), \
(uint8_t)(((aDDRESS.s_addr) & 0x00ff0000) >> 16), \
(uint8_t)(((aDDRESS.s_addr) & 0xff000000) >> 24)
(uint8_t) (((aDDRESS.s_addr) & 0x0000ff00) >> 8), \
(uint8_t) (((aDDRESS.s_addr) & 0x00ff0000) >> 16), \
(uint8_t) (((aDDRESS.s_addr) & 0xff000000) >> 24)
#define IPV4_ADDR_DISPLAY_8(aDDRESS) \
(aDDRESS)[0], (aDDRESS)[1], (aDDRESS)[2], (aDDRESS)[3]
......
......@@ -33,8 +33,8 @@ oai::config::pcf::pcf_config::pcf_config(
const std::string& config_path, bool log_stdout, bool log_rot_file)
: config(
config_path, oai::config::PCF_CONFIG_NAME, log_stdout, log_rot_file) {
m_used_sbi_values = {oai::config::PCF_CONFIG_NAME,
oai::config::NRF_CONFIG_NAME};
m_used_sbi_values = {
oai::config::PCF_CONFIG_NAME, oai::config::NRF_CONFIG_NAME};
m_used_config_values = {
oai::config::LOG_LEVEL_CONFIG_NAME, oai::config::REGISTER_NF_CONFIG_NAME,
oai::config::NF_LIST_CONFIG_NAME, oai::config::PCF_CONFIG_NAME,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment