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

Function get_dset_size

dset.c:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103
104int get_dset_size(void)
105{
106 struct dset_ctx *dsct = get_dset_ctx();
107
108 return !dsct ? 0 : dsct->nr_branches;
109}
110
111/* empties/frees the content of a dset without free'ing the dset itself */
112static inline void _empty_branches(struct dset_ctx *dsct)

Callers 15

serialize_branchesFunction · 0.85
pv_get_branch_fieldsFunction · 0.85
pv_get_msg_branch_fieldsFunction · 0.85
pv_get_msg_branch_attrFunction · 0.85
pv_set_msg_branch_attrFunction · 0.85
msg_branch_flag_setFunction · 0.85
msg_branch_flag_getFunction · 0.85
get_msg_branch_attrFunction · 0.85
set_msg_branch_attrFunction · 0.85
test_lookupFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_lookupFunction · 0.68