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

Function _xode_appendsibling

modules/xmpp/xode.c:56–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56static xode _xode_appendsibling(xode lastsibling, const char* name, unsigned int type)
57{
58 xode result;
59
60 result = _xode_new(xode_get_pool(lastsibling), name, type);
61 if (result != NULL)
62 {
63 /* Setup sibling pointers */
64 result->prev = lastsibling;
65 lastsibling->next = result;
66 }
67 return result;
68}
69
70static xode _xode_insert(xode parent, const char* name, unsigned int type)
71{

Callers 2

_xode_insertFunction · 0.70
xode_put_attribFunction · 0.70

Calls 2

_xode_newFunction · 0.70
xode_get_poolFunction · 0.70

Tested by

no test coverage detected