ReadResponseLineAndHeaders() is static.
This commit is contained in:
parent
b0cab00ca3
commit
eb5db65692
@ -1313,30 +1313,25 @@ MakeGetMessage( const char *url_str,
|
|||||||
return UPNP_E_SUCCESS;
|
return UPNP_E_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************************************************************
|
/*!
|
||||||
* Function: ReadResponseLineAndHeaders
|
* \brief Parses already exiting data. If not complete reads more
|
||||||
|
* data on the connected socket. The read data is then parsed. The
|
||||||
|
* same methid is carried out for headers.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* \return integer:
|
||||||
* IN SOCKINFO *info; Socket information object
|
* \li \c PARSE_OK - On Success
|
||||||
* IN OUT http_parser_t *parser; HTTP Parser object
|
* \li \c PARSE_FAILURE - Failure to parse data correctly
|
||||||
* IN OUT int *timeout_secs; time out value
|
* \li \c UPNP_E_BAD_HTTPMSG - Socker read() returns an error
|
||||||
* IN OUT int *http_error_code; HTTP errror code returned
|
*/
|
||||||
*
|
static int ReadResponseLineAndHeaders(
|
||||||
* Description:
|
/*! Socket information object. */
|
||||||
* Parses already exiting data. If not complete reads more
|
IN SOCKINFO *info,
|
||||||
* data on the connected socket. The read data is then parsed. The
|
/*! HTTP Parser object. */
|
||||||
* same methid is carried out for headers.
|
IN OUT http_parser_t *parser,
|
||||||
*
|
/*! Time out value. */
|
||||||
* Return: int
|
IN OUT int *timeout_secs,
|
||||||
* PARSE_OK - On Success
|
/*! HTTP errror code returned. */
|
||||||
* PARSE_FAILURE - Failure to parse data correctly
|
IN OUT int *http_error_code)
|
||||||
* UPNP_E_BAD_HTTPMSG - Socker read() returns an error
|
|
||||||
************************************************************************/
|
|
||||||
int
|
|
||||||
ReadResponseLineAndHeaders( IN SOCKINFO * info,
|
|
||||||
IN OUT http_parser_t * parser,
|
|
||||||
IN OUT int *timeout_secs,
|
|
||||||
IN OUT int *http_error_code )
|
|
||||||
{
|
{
|
||||||
parse_status_t status;
|
parse_status_t status;
|
||||||
int num_read;
|
int num_read;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user