ReadResponseLineAndHeaders() is static.

This commit is contained in:
Marcelo Roberto Jimenez 2010-11-11 21:59:39 -02:00
parent b0cab00ca3
commit eb5db65692

View File

@ -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
*
* Parameters:
* IN SOCKINFO *info; Socket information object
* IN OUT http_parser_t *parser; HTTP Parser object
* IN OUT int *timeout_secs; time out value
* IN OUT int *http_error_code; HTTP errror code returned
*
* Description:
* Parses already exiting data. If not complete reads more
* data on the connected socket. The read data is then parsed. The * data on the connected socket. The read data is then parsed. The
* same methid is carried out for headers. * same methid is carried out for headers.
* *
* Return: int * \return integer:
* PARSE_OK - On Success * \li \c PARSE_OK - On Success
* PARSE_FAILURE - Failure to parse data correctly * \li \c PARSE_FAILURE - Failure to parse data correctly
* UPNP_E_BAD_HTTPMSG - Socker read() returns an error * \li \c UPNP_E_BAD_HTTPMSG - Socker read() returns an error
************************************************************************/ */
int static int ReadResponseLineAndHeaders(
ReadResponseLineAndHeaders( IN SOCKINFO * info, /*! Socket information object. */
IN OUT http_parser_t * parser, IN SOCKINFO *info,
/*! HTTP Parser object. */
IN OUT http_parser_t *parser,
/*! Time out value. */
IN OUT int *timeout_secs, IN OUT int *timeout_secs,
IN OUT int *http_error_code ) /*! HTTP errror code returned. */
IN OUT int *http_error_code)
{ {
parse_status_t status; parse_status_t status;
int num_read; int num_read;