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

Function xode_wrap

modules/xmpp/xode.c:787–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785}
786
787xode xode_wrap(xode x,const char *wrapper)
788{
789 xode wrap;
790 if(x==NULL||wrapper==NULL) return NULL;
791 wrap=xode_new_frompool(xode_get_pool(x),wrapper);
792 if(wrap==NULL) return NULL;
793 wrap->firstchild=x;
794 wrap->lastchild=x;
795 x->parent=wrap;
796 return wrap;
797}
798
799void xode_free(xode node)
800{

Callers

nothing calls this directly

Calls 2

xode_new_frompoolFunction · 0.70
xode_get_poolFunction · 0.70

Tested by

no test coverage detected