Lines Matching refs:el
65 …lement_to_DANDARPC_REQUEST_worker(XMLRPC_REQUEST request, XMLRPC_VALUE xCurrent, xml_element* el) { in xml_element_to_DANDARPC_REQUEST_worker() argument
70 if(el->name) { in xml_element_to_DANDARPC_REQUEST_worker()
73 xml_element_attr* attr_iter = Q_Head(&el->attrs); in xml_element_to_DANDARPC_REQUEST_worker()
82 attr_iter = Q_Next(&el->attrs); in xml_element_to_DANDARPC_REQUEST_worker()
89 if(!strcmp(el->name, ATTR_SCALAR)) { in xml_element_to_DANDARPC_REQUEST_worker()
91 XMLRPC_SetValueString(xCurrent, el->text.str, el->text.len); in xml_element_to_DANDARPC_REQUEST_worker()
94 XMLRPC_SetValueInt(xCurrent, atoi(el->text.str)); in xml_element_to_DANDARPC_REQUEST_worker()
97 XMLRPC_SetValueBoolean(xCurrent, atoi(el->text.str)); in xml_element_to_DANDARPC_REQUEST_worker()
100 XMLRPC_SetValueDouble(xCurrent, atof(el->text.str)); in xml_element_to_DANDARPC_REQUEST_worker()
103 XMLRPC_SetValueDateTime_ISO8601(xCurrent, el->text.str); in xml_element_to_DANDARPC_REQUEST_worker()
107 base64_decode_xmlrpc(&buf, el->text.str, el->text.len); in xml_element_to_DANDARPC_REQUEST_worker()
112 else if(!strcmp(el->name, ATTR_VECTOR)) { in xml_element_to_DANDARPC_REQUEST_worker()
113 xml_element* iter = (xml_element*)Q_Head(&el->children); in xml_element_to_DANDARPC_REQUEST_worker()
128 iter = (xml_element*)Q_Next(&el->children); in xml_element_to_DANDARPC_REQUEST_worker()
132 xml_element* iter = (xml_element*)Q_Head(&el->children); in xml_element_to_DANDARPC_REQUEST_worker()
135 iter = (xml_element*)Q_Next(&el->children); in xml_element_to_DANDARPC_REQUEST_worker()
138 if(!strcmp(el->name, ELEM_METHODCALL)) { in xml_element_to_DANDARPC_REQUEST_worker()
143 else if(!strcmp(el->name, ELEM_METHODRESPONSE)) { in xml_element_to_DANDARPC_REQUEST_worker()
148 else if(!strcmp(el->name, ELEM_METHODNAME)) { in xml_element_to_DANDARPC_REQUEST_worker()
150 XMLRPC_RequestSetMethodName(request, el->text.str); in xml_element_to_DANDARPC_REQUEST_worker()
158 XMLRPC_VALUE xml_element_to_DANDARPC_VALUE(xml_element* el) in xml_element_to_DANDARPC_VALUE() argument
160 return xml_element_to_DANDARPC_REQUEST_worker(NULL, NULL, el); in xml_element_to_DANDARPC_VALUE()
163 XMLRPC_VALUE xml_element_to_DANDARPC_REQUEST(XMLRPC_REQUEST request, xml_element* el) in xml_element_to_DANDARPC_REQUEST() argument
166 … return XMLRPC_RequestSetData(request, xml_element_to_DANDARPC_REQUEST_worker(request, NULL, el)); in xml_element_to_DANDARPC_REQUEST()