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

Function xml_get_child_node

gtk/src/chapters.c:314–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314static xmlNodePtr
315xml_get_child_node (xmlNodePtr node, const char *child_name)
316{
317 node = node->xmlChildrenNode;
318 while (node != NULL)
319 {
320 if ((!xmlStrcmp(node->name, (const xmlChar *) child_name)))
321 {
322 return node;
323 }
324 node = node->next;
325 }
326 return NULL;
327}
328
329static xmlXPathObjectPtr
330xml_get_all_paths (xmlDocPtr doc, xmlNodePtr node, const char *path)

Callers 1

chapter_list_import_xmlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected