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

Function xode_get_attrib

modules/xmpp/xode.c:451–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451char* xode_get_attrib(xode owner, const char* name)
452{
453 xode attrib;
454
455 if (owner != NULL && owner->firstattrib != NULL)
456 {
457 attrib = _xode_search(owner->firstattrib, name, XODE_TYPE_ATTRIB);
458 if (attrib != NULL)
459 return (char*)attrib->data;
460 }
461 return NULL;
462}
463
464void xode_put_vattrib(xode owner, const char* name, void *value)
465{

Callers 4

stream_node_callbackFunction · 0.70
out_stream_node_callbackFunction · 0.70
in_stream_node_callbackFunction · 0.70
xode_get_tagFunction · 0.70

Calls 1

_xode_searchFunction · 0.70

Tested by

no test coverage detected