MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / xml_get_node

Function xml_get_node

gtk/src/chapters.c:266–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266static xmlNodePtr
267xml_get_node (xmlNodePtr node, const char *child_name)
268{
269 node = node->xmlChildrenNode;
270 while (node != NULL)
271 {
272 if ((!xmlStrcmp(node->name, (const xmlChar *) child_name)))
273 {
274 return node;
275 }
276 node = node->next;
277 }
278 g_debug("Could not find node %s", child_name);
279 return NULL;
280}
281
282static char *
283xml_get_data (xmlDocPtr doc, xmlNodePtr node, const char *name)

Callers 1

xml_get_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected