Lines Matching refs:omode

616       if ((soap->omode & SOAP_IO_UDP))  in fsend()
936 if ((soap->omode & SOAP_IO_UDP)) in frecv()
3379 soap->omode |= SOAP_ENC_SSL; in soap_ssl_accept()
3592 if ((soap->omode & SOAP_IO_UDP)) in tcp_connect()
3621 if ((soap->omode & SOAP_IO_UDP)) in tcp_connect()
3737 …if (!(soap->omode & SOAP_IO_UDP) && setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (char*)&set, sizeof(i… in tcp_connect()
3748 if ((soap->omode & SOAP_IO_UDP) && soap->ipv6_multicast_if) in tcp_connect()
3754 if ((soap->omode & SOAP_IO_UDP) && soap->ipv4_multicast_if && !soap->ipv6_multicast_if) in tcp_connect()
3809 if ((soap->omode & SOAP_IO_UDP)) in tcp_connect()
3813 if ((soap->omode & SOAP_IO_UDP)) in tcp_connect()
3916 soap->omode &= ~SOAP_ENC_SSL; in tcp_connect()
3924 soap_mode om = soap->omode; /* make sure we only parse HTTP */ in tcp_connect()
3927 soap->omode &= ~SOAP_ENC; /* mask IO and ENC */ in tcp_connect()
3928 soap->omode |= SOAP_IO_BUFFER; in tcp_connect()
3959 soap->omode = om; in tcp_connect()
4005 soap->omode |= SOAP_ENC_SSL; in tcp_connect()
4383 if (soap_valid_socket(soap->socket) && !(soap->omode & SOAP_IO_UDP)) in tcp_disconnect()
4396 if (soap_valid_socket(soap->socket) && !(soap->omode & SOAP_IO_UDP)) in tcp_disconnect()
4468 if ((soap->omode & SOAP_IO_UDP)) in soap_bind()
4494 if ((soap->omode & SOAP_IO_UDP)) in soap_bind()
4507 if ((soap->omode & SOAP_IO_UDP)) in soap_bind()
4525 …if (((soap->imode | soap->omode) & SOAP_IO_KEEPALIVE) && setsockopt(soap->master, SOL_SOCKET, SO_K… in soap_bind()
4541 …if (!(soap->omode & SOAP_IO_UDP) && setsockopt(soap->master, IPPROTO_TCP, TCP_NODELAY, (char*)&set… in soap_bind()
4587 if (!(soap->omode & SOAP_IO_UDP) && listen(soap->master, backlog)) in soap_bind()
4666 if ((soap->omode & SOAP_IO_UDP)) in soap_accept()
4739 …if (((soap->imode | soap->omode) & SOAP_IO_KEEPALIVE) && setsockopt(soap->socket, SOL_SOCKET, SO_K… in soap_accept()
4758 …if (!(soap->omode & SOAP_IO_UDP) && setsockopt(soap->socket, IPPROTO_TCP, TCP_NODELAY, (char*)&set… in soap_accept()
4766 soap->keep_alive = (((soap->imode | soap->omode) & SOAP_IO_KEEPALIVE) != 0); in soap_accept()
4857 soap->omode &= ~SOAP_IO_UDP; /* to force close the socket */ in soap_done()
5050 …if (soap->status == 0 && (soap->omode & SOAP_IO) == SOAP_IO_CHUNK) /* soap->status == 0 for HTTP r… in http_parse()
5052 soap->omode = (soap->omode & ~SOAP_IO) | SOAP_IO_STORE; in http_parse()
5519 if (count || ((soap->omode & SOAP_IO) == SOAP_IO_CHUNK)) in http_response()
5592 if (!(soap->omode & (SOAP_ENC_XML | SOAP_IO_STORE /* this tests for chunking too */)) in soap_response()
5594 soap->omode = (soap->omode & ~SOAP_IO) | SOAP_IO_STORE; in soap_response()
6349 soap_new2(soap_mode imode, soap_mode omode) in soap_new2() argument
6352 soap_init2(soap, imode, omode); in soap_new2()
6524 if ((soap->mode & SOAP_ENC_DIME) || (soap->omode & SOAP_ENC_DIME)) in soap_begin_count()
6525 soap->mode = soap->omode | SOAP_IO_LENGTH | SOAP_ENC_DIME; in soap_begin_count()
6528 { soap->mode = soap->omode; in soap_begin_count()
6607 soap->mode = soap->omode | (soap->mode & (SOAP_IO_LENGTH | SOAP_ENC_DIME)); in soap_begin_send()
7753 …if (!soap->ssl && soap_valid_socket(soap->socket) && !soap->keep_alive && !(soap->omode & SOAP_IO_… in soap_end_send()
7756 if (soap_valid_socket(soap->socket) && !soap->keep_alive && !(soap->omode & SOAP_IO_UDP)) in soap_end_send()
7761 soap->omode &= ~SOAP_XML_SEC; in soap_end_send()
8145 copy->omode = soap->omode; in soap_copy_stream()
8490 soap_init2(struct soap *soap, soap_mode imode, soap_mode omode) in soap_init2() argument
8493 soap_omode(soap, omode); in soap_init2()
8508 soap->keep_alive = (((soap->imode | soap->omode) & SOAP_IO_KEEPALIVE) != 0); in soap_begin()
13700 { soap->omode |= SOAP_ENC_DIME; in soap_set_dime()
13714 { soap->omode |= SOAP_ENC_MIME; in soap_set_mime()
13730 { soap->omode &= ~SOAP_ENC_DIME; in soap_clr_dime()
13744 { soap->omode &= ~SOAP_ENC_MIME; in soap_clr_mime()
13948 soap->omode |= SOAP_IO_CHUNK; in soap_begin_recv()
14574 soap->omode &= ~SOAP_IO_UDP; /* to force close */ in soap_try_connect_command()
14579 soap->omode |= SOAP_IO_UDP; in soap_try_connect_command()
14584 soap->keep_alive = ((soap->omode & SOAP_IO_KEEPALIVE) != 0); in soap_try_connect_command()
14819 else if (count || ((soap->omode & SOAP_IO) == SOAP_IO_CHUNK)) in soap_puthttphdr()
14860 if ((soap->omode & SOAP_ENC_ZLIB)) in soap_puthttphdr()
14872 if ((soap->omode & SOAP_IO) == SOAP_IO_CHUNK) in soap_puthttphdr()
15226 { register soap_mode m = soap->omode; in soap_send_empty_response()
15229 soap->omode = (m & ~SOAP_IO) | SOAP_IO_BUFFER; in soap_send_empty_response()
15231 { soap->omode = m; in soap_send_empty_response()
15234 soap->omode = m; in soap_send_empty_response()