MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / b2be_initialize

Function b2be_initialize

modules/b2b_entities/b2be_db.c:73–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72
73void b2be_initialize(void)
74{
75 memset(qvals, 0, DB_COLS_NO*sizeof(db_val_t));
76 qcols[0] = &str_type_col;
77 qvals[0].type = DB_INT;
78 qcols[1] = &str_tag0_col;
79 qvals[1].type = DB_STR;
80 qcols[2] = &str_tag1_col;
81 qvals[2].type = DB_STR;
82 qcols[3] = &str_callid_col;
83 qvals[3].type = DB_STR;
84 n_query_update= 4;
85
86 qcols[4] = &str_ruri_col;
87 qvals[4].type= DB_STR;
88 qcols[5] = &str_from_col;
89 qvals[5].type= DB_STR;
90 qcols[6] = &str_from_dname_col;
91 qvals[6].type= DB_STR;
92 qcols[7] = &str_to_col;
93 qvals[7].type= DB_STR;
94 qcols[8] = &str_to_dname_col;
95 qvals[8].type= DB_STR;
96 qcols[9] = &str_route0_col;
97 qvals[9].type= DB_STR;
98 qcols[10] = &str_route1_col;
99 qvals[10].type= DB_STR;
100 qcols[11] = &str_sockinfo_srv_col;
101 qvals[11].type= DB_STR;
102 qcols[12] = &str_param_col;
103 qvals[12].type= DB_STR;
104 qcols[13] = &str_mod_name_col;
105 qvals[13].type= DB_STR;
106 n_start_update= 14;
107
108 qcols[14] = &str_storage_col;
109 qvals[14].type= DB_BLOB;
110 qcols[15] = &str_state_col;
111 qvals[15].type= DB_INT;
112 qcols[16] = &str_cseq0_col;
113 qvals[16].type= DB_INT;
114 qcols[17] = &str_cseq1_col;
115 qvals[17].type= DB_INT;
116 qcols[18] = &str_lm_col;
117 qvals[18].type= DB_INT;
118 qcols[19] = &str_lrc_col;
119 qvals[19].type= DB_INT;
120 qcols[20] = &str_lic_col;
121 qvals[20].type= DB_INT;
122 qcols[21] = &str_contact0_col;
123 qvals[21].type= DB_STR;
124 qcols[22] = &str_contact1_col;
125 qvals[22].type= DB_STR;
126 qcols[23] = &str_leg_tag_col;
127 qvals[23].type= DB_STR;
128 qcols[24] = &str_leg_cseq_col;
129 qvals[24].type= DB_INT;
130 qcols[25] = &str_leg_contact_col;

Callers 1

mod_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected