Lines Matching defs:current_tag
309 xml_tag_name current_tag;
326 if (u->current_tag == XML_TAG_INVALID && strcmp(el, "service-group") == 0) {
331 u->current_tag = XML_TAG_SERVICE_GROUP;
332 } else if (u->current_tag == XML_TAG_SERVICE_GROUP && strcmp(el, "name") == 0) {
333 u->current_tag = XML_TAG_NAME;
345 } else if (u->current_tag == XML_TAG_SERVICE_GROUP && strcmp(el, "service") == 0) {
346 u->current_tag = XML_TAG_SERVICE;
375 } else if (u->current_tag == XML_TAG_SERVICE && strcmp(el, "type") == 0) {
379 u->current_tag = XML_TAG_TYPE;
380 } else if (u->current_tag == XML_TAG_SERVICE && strcmp(el, "subtype") == 0) {
384 u->current_tag = XML_TAG_SUBTYPE;
385 } else if (u->current_tag == XML_TAG_SERVICE && strcmp(el, "domain-name") == 0) {
389 u->current_tag = XML_TAG_DOMAIN_NAME;
390 } else if (u->current_tag == XML_TAG_SERVICE && strcmp(el, "host-name") == 0) {
394 u->current_tag = XML_TAG_HOST_NAME;
395 } else if (u->current_tag == XML_TAG_SERVICE && strcmp(el, "port") == 0) {
399 u->current_tag = XML_TAG_PORT;
400 } else if (u->current_tag == XML_TAG_SERVICE && strcmp(el, "txt-record") == 0) {
404 u->current_tag = XML_TAG_TXT_RECORD;
425 switch (u->current_tag) {
434 u->current_tag = XML_TAG_INVALID;
446 u->current_tag = XML_TAG_SERVICE_GROUP;
450 u->current_tag = XML_TAG_SERVICE_GROUP;
467 u->current_tag = XML_TAG_SERVICE;
475 u->current_tag = XML_TAG_SERVICE;
483 u->current_tag = XML_TAG_SERVICE;
490 u->current_tag = XML_TAG_SERVICE;
527 switch (u->current_tag) {
574 u.current_tag = XML_TAG_INVALID;