Lines Matching refs:h

454 	sdlSoapBindingFunctionHeaderPtr h;  in wsdl_soap_binding_header()  local
480 h = emalloc(sizeof(sdlSoapBindingFunctionHeader)); in wsdl_soap_binding_header()
481 memset(h, 0, sizeof(sdlSoapBindingFunctionHeader)); in wsdl_soap_binding_header()
482 h->name = estrdup((char*)tmp->children->content); in wsdl_soap_binding_header()
486 h->use = SOAP_ENCODED; in wsdl_soap_binding_header()
488 h->use = SOAP_LITERAL; in wsdl_soap_binding_header()
493 h->ns = estrdup((char*)tmp->children->content); in wsdl_soap_binding_header()
496 if (h->use == SOAP_ENCODED) { in wsdl_soap_binding_header()
500 h->encodingStyle = SOAP_ENCODING_1_1; in wsdl_soap_binding_header()
502 h->encodingStyle = SOAP_ENCODING_1_2; in wsdl_soap_binding_header()
513 h->encode = get_encoder_from_prefix(ctx->sdl, part, tmp->children->content); in wsdl_soap_binding_header()
517 h->element = get_element(ctx->sdl, part, tmp->children->content); in wsdl_soap_binding_header()
518 if (h->element) { in wsdl_soap_binding_header()
519 h->encode = h->element->encode; in wsdl_soap_binding_header()
520 if (!h->ns && h->element->namens) { in wsdl_soap_binding_header()
521 h->ns = estrdup(h->element->namens); in wsdl_soap_binding_header()
523 if (h->element->name) { in wsdl_soap_binding_header()
524 efree(h->name); in wsdl_soap_binding_header()
525 h->name = estrdup(h->element->name); in wsdl_soap_binding_header()
537 if (h->headerfaults == NULL) { in wsdl_soap_binding_header()
538 h->headerfaults = emalloc(sizeof(HashTable)); in wsdl_soap_binding_header()
539 zend_hash_init(h->headerfaults, 0, NULL, delete_header, 0); in wsdl_soap_binding_header()
548 …if (zend_hash_add(h->headerfaults, key.c, key.len+1, (void**)&hf, sizeof(sdlSoapBindingFunctionHea… in wsdl_soap_binding_header()
558 return h; in wsdl_soap_binding_header()
639 sdlSoapBindingFunctionHeaderPtr h = wsdl_soap_binding_header(ctx, trav, wsdl_soap_namespace, 0); in wsdl_soap_binding_body() local
647 if (h->ns) { in wsdl_soap_binding_body()
648 smart_str_appends(&key,h->ns); in wsdl_soap_binding_body()
651 smart_str_appends(&key,h->name); in wsdl_soap_binding_body()
653 …if (zend_hash_add(binding->headers, key.c, key.len+1, (void**)&h, sizeof(sdlSoapBindingFunctionHea… in wsdl_soap_binding_body()
654 delete_header((void**)&h); in wsdl_soap_binding_body()