Lines Matching refs:node

104 static const char* get_array_soap_type(XMLRPC_VALUE node) {  in get_array_soap_type()  argument
107 XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); in get_array_soap_type()
112 xIter = XMLRPC_VectorNext(node); in get_array_soap_type()
125 xIter = XMLRPC_VectorNext(node); in get_array_soap_type()
170 static inline int get_fault_type(XMLRPC_VALUE node) { in get_fault_type() argument
171 if (XMLRPC_VectorGetValueWithID(node, TOKEN_XMLRPC_FAULTCODE) && in get_fault_type()
172 XMLRPC_VectorGetValueWithID(node, TOKEN_XMLRPC_FAULTSTRING)) { in get_fault_type()
175 else if (XMLRPC_VectorGetValueWithID(node, TOKEN_SOAP_FAULTCODE) && in get_fault_type()
176 XMLRPC_VectorGetValueWithID(node, TOKEN_SOAP_FAULTSTRING)) { in get_fault_type()
188 static XMLRPC_VALUE gen_fault_xmlrpc(XMLRPC_VALUE node, xml_element* el_target) { in gen_fault_xmlrpc() argument
189 XMLRPC_VALUE xDup = XMLRPC_DupValueNew(node); in gen_fault_xmlrpc()
431 xml_element* SOAP_to_xml_element_worker(XMLRPC_REQUEST request, XMLRPC_VALUE node) { in SOAP_to_xml_element_worker() argument
434 if (node) { in SOAP_to_xml_element_worker()
437 XMLRPC_VALUE_TYPE_EASY type = XMLRPC_GetValueTypeEasy(node); in SOAP_to_xml_element_worker()
452 const char* type = get_array_soap_type(node); in SOAP_to_xml_element_worker()
456 snprintf(buf, sizeof(buf), "%s[%i]", type, XMLRPC_VectorSize(node)); in SOAP_to_xml_element_worker()
466 int fault_type = get_fault_type(node); in SOAP_to_xml_element_worker()
471 node = gen_fault_xmlrpc(node, elem_val); in SOAP_to_xml_element_worker()
480 XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); in SOAP_to_xml_element_worker()
486 xIter = XMLRPC_VectorNext(node); in SOAP_to_xml_element_worker()
498 simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node)); in SOAP_to_xml_element_worker()
502 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); in SOAP_to_xml_element_worker()
507 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); in SOAP_to_xml_element_worker()
512 snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node)); in SOAP_to_xml_element_worker()
517 time_t tt = XMLRPC_GetValueDateTime(node); in SOAP_to_xml_element_worker()
529 base64_encode_xmlrpc(&buf, XMLRPC_GetValueBase64(node), XMLRPC_GetValueStringLen(node)); in SOAP_to_xml_element_worker()
544 pName = (char*)XMLRPC_GetValueID(node); in SOAP_to_xml_element_worker()
557 pName = (char*)XMLRPC_GetValueID(node); in SOAP_to_xml_element_worker()
567 XMLRPC_CleanupValue(node); in SOAP_to_xml_element_worker()
574 xml_element* SOAP_VALUE_to_xml_element(XMLRPC_VALUE node) { in SOAP_VALUE_to_xml_element() argument
575 return SOAP_to_xml_element_worker(NULL, node); in SOAP_VALUE_to_xml_element()