/* **************************************************************************** * * entityId - */ static int entityId(xml_node<>* node, ParseData* parseDataP) { LM_T(LmtParse, ("Got an entityId")); std::string es = entityIdParse(RegisterContext, node, &parseDataP->ncr.cerP->contextElement.entityId); if (es != "OK") parseDataP->errorString = es; return 0; }
/* **************************************************************************** * * entityId - */ static int entityId(xml_node<>* node, ParseData* parseDataP) { std::string es = entityIdParse(RegisterContext, node, &parseDataP->acer.res.entity); LM_T(LmtParse, ("Got an entityId")); if (es != "OK") { parseDataP->errorString = es; } return 0; }
/* **************************************************************************** * * entityId - */ static int entityId(xml_node<>* node, ParseData* reqData) { LM_T(LmtParse, ("Got an entityId")); reqData->ucas.entityIdP = new EntityId(); reqData->ucas.res.entityIdVector.push_back(reqData->ucas.entityIdP); std::string es = entityIdParse(UpdateContextAvailabilitySubscription, node, reqData->ucas.entityIdP); if (es != "OK") reqData->errorString = es; return 0; }
/* **************************************************************************** * * entityId - */ static int entityId(xml_node<>* node, ParseData* reqDataP) { LM_T(LmtParse, ("Got an entityId")); reqDataP->dcar.entityIdP = new EntityId(); reqDataP->dcar.res.entityIdVector.push_back(reqDataP->dcar.entityIdP); std::string es = entityIdParse(DiscoverContextAvailability, node, reqDataP->dcar.entityIdP); if (es != "OK") reqDataP->errorString = es; return 0; }
/* **************************************************************************** * * targetEntityId - */ static int targetEntityId(xml_node<>* node, ParseData* parseDataP) { LM_T(LmtParse, ("got a targetEntityId")); std::string es = entityIdParse(RegisterContext, node, &parseDataP->rcr.registrationMetadataP->association.entityAssociation.target); if (es != "OK") { parseDataP->errorString = es; } return 0; }
/* **************************************************************************** * * entityId - */ static int entityId(xml_node<>* node, ParseData* parseDataP) { LM_T(LmtParse, ("Got an entityId")); parseDataP->rcr.entityIdP = new EntityId(); parseDataP->rcr.crP->entityIdVector.push_back(parseDataP->rcr.entityIdP); std::string es = entityIdParse(RegisterContext, node, parseDataP->rcr.entityIdP); if (es != "OK") { parseDataP->errorString = es; } return 0; }
/* **************************************************************************** * * entityId - */ static int entityId(xml_node<>* node, ParseData* parseDataP) { LM_T(LmtParse, ("Got an entityId")); parseDataP->ncar.entityIdP = new EntityId(); parseDataP->ncar.crrP->contextRegistration.entityIdVector.push_back(parseDataP->ncar.entityIdP); std::string es = entityIdParse(NotifyContextAvailability, node, parseDataP->ncar.entityIdP); if (es != "OK") { parseDataP->errorString = es; } return 0; }
/* **************************************************************************** * * entityId - */ static int entityId(xml_node<>* node, ParseData* reqDataP) { LM_T(LmtParse, ("Got an entityId")); reqDataP->qcr.entityIdP = new EntityId(); reqDataP->qcr.res.entityIdVector.push_back(reqDataP->qcr.entityIdP); std::string es = entityIdParse(QueryContext, node, reqDataP->qcr.entityIdP); if (es != "OK") { reqDataP->errorString = es; } return 0; }
/* **************************************************************************** * * sourceEntityId - */ static int sourceEntityId(xml_node<>* node, ParseData* parseDataP) { LM_T(LmtParse, ("got a sourceEntityId")); LM_T(LmtParse, ("calling entityIdParse")); std::string es = entityIdParse(RegisterContext, node, &parseDataP->rcr.registrationMetadataP->association.entityAssociation.source); LM_T(LmtParse, ("back from entityIdParse")); if (es != "OK") { parseDataP->errorString = es; LM_W(("Bad Input (error parsing entity: %s)", es.c_str())); } return 0; }