Fixed some typos.
This commit is contained in:
parent
38d5e58e22
commit
508b782c79
@ -17,7 +17,7 @@
|
|||||||
*
|
*
|
||||||
* \file
|
* \file
|
||||||
*
|
*
|
||||||
* \brief UpnpString object declarartion.
|
* \brief UpnpString object declaration.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -470,7 +470,7 @@ int UpnpInit(const char *HostIP, unsigned short DestPort)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set the UpnpSdkInit flag to 1 to indicate we're sucessfully initialized. */
|
/* Set the UpnpSdkInit flag to 1 to indicate we're successfully initialized. */
|
||||||
UpnpSdkInit = 1;
|
UpnpSdkInit = 1;
|
||||||
|
|
||||||
/* Finish initializing the SDK. */
|
/* Finish initializing the SDK. */
|
||||||
@ -522,7 +522,7 @@ int UpnpInit2(const char *IfName, unsigned short DestPort)
|
|||||||
goto exit_function;
|
goto exit_function;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set the UpnpSdkInit flag to 1 to indicate we're sucessfully initialized. */
|
/* Set the UpnpSdkInit flag to 1 to indicate we're successfully initialized. */
|
||||||
UpnpSdkInit = 1;
|
UpnpSdkInit = 1;
|
||||||
|
|
||||||
/* Finish initializing the SDK. */
|
/* Finish initializing the SDK. */
|
||||||
|
@ -1089,7 +1089,7 @@ http_WriteHttpPost( IN void *Handle,
|
|||||||
* associated memory. Frees handle associated with the HTTP POST msg.
|
* associated memory. Frees handle associated with the HTTP POST msg.
|
||||||
*
|
*
|
||||||
* Return: int
|
* Return: int
|
||||||
* UPNP_E_SUCCESS - On Sucess
|
* UPNP_E_SUCCESS - On success
|
||||||
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
int
|
int
|
||||||
@ -1144,7 +1144,7 @@ http_CloseHttpPost( IN void *Handle,
|
|||||||
* such handles
|
* such handles
|
||||||
*
|
*
|
||||||
* Return : int;
|
* Return : int;
|
||||||
* UPNP_E_SUCCESS - On Sucess
|
* UPNP_E_SUCCESS - On success
|
||||||
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
||||||
* UPNP_E_OUTOF_MEMORY
|
* UPNP_E_OUTOF_MEMORY
|
||||||
* UPNP_E_SOCKET_ERROR
|
* UPNP_E_SOCKET_ERROR
|
||||||
@ -1450,7 +1450,7 @@ ReadResponseLineAndHeaders( IN SOCKINFO * info,
|
|||||||
* Parses and extracts information from the new data.
|
* Parses and extracts information from the new data.
|
||||||
*
|
*
|
||||||
* Return: int
|
* Return: int
|
||||||
* UPNP_E_SUCCESS - On Sucess
|
* UPNP_E_SUCCESS - On success
|
||||||
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
||||||
* UPNP_E_BAD_RESPONSE
|
* UPNP_E_BAD_RESPONSE
|
||||||
* UPNP_E_BAD_HTTPMSG
|
* UPNP_E_BAD_HTTPMSG
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
* Description : Makes a copy of the subscription
|
* Description : Makes a copy of the subscription
|
||||||
*
|
*
|
||||||
* Return : int ;
|
* Return : int ;
|
||||||
* HTTP_SUCCESS - On Sucess
|
* HTTP_SUCCESS - On success
|
||||||
*
|
*
|
||||||
* Note :
|
* Note :
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
@ -95,7 +95,7 @@ int http_FixStrUrl( IN const char* urlstr, IN int urlstrlen, OUT uri_type* fixed
|
|||||||
* Gets destination address from URL and then connects to the remote end
|
* Gets destination address from URL and then connects to the remote end
|
||||||
*
|
*
|
||||||
* Returns:
|
* Returns:
|
||||||
* socket descriptor on sucess
|
* socket descriptor on success
|
||||||
* UPNP_E_OUTOF_SOCKET
|
* UPNP_E_OUTOF_SOCKET
|
||||||
* UPNP_E_SOCKET_CONNECT on error
|
* UPNP_E_SOCKET_CONNECT on error
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
@ -271,7 +271,7 @@ int http_WriteHttpPost(IN void *Handle,
|
|||||||
* associated memory. Frees handle associated with the HTTP POST msg.
|
* associated memory. Frees handle associated with the HTTP POST msg.
|
||||||
*
|
*
|
||||||
* Return: int
|
* Return: int
|
||||||
* UPNP_E_SUCCESS - On Sucess
|
* UPNP_E_SUCCESS - On success
|
||||||
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
int http_CloseHttpPost(IN void *Handle,
|
int http_CloseHttpPost(IN void *Handle,
|
||||||
@ -296,7 +296,7 @@ int http_CloseHttpPost(IN void *Handle,
|
|||||||
* such handles
|
* such handles
|
||||||
*
|
*
|
||||||
* Return : int;
|
* Return : int;
|
||||||
* UPNP_E_SUCCESS - On Sucess
|
* UPNP_E_SUCCESS - On success
|
||||||
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
||||||
* UPNP_E_OUTOF_MEMORY
|
* UPNP_E_OUTOF_MEMORY
|
||||||
* UPNP_E_SOCKET_ERROR
|
* UPNP_E_SOCKET_ERROR
|
||||||
@ -323,7 +323,7 @@ int http_OpenHttpPost(IN const char *url_str,
|
|||||||
* Parses and extracts information from the new data.
|
* Parses and extracts information from the new data.
|
||||||
*
|
*
|
||||||
* Return: int
|
* Return: int
|
||||||
* UPNP_E_SUCCESS - On Sucess
|
* UPNP_E_SUCCESS - On success
|
||||||
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
* UPNP_E_INVALID_PARAM - Invalid Parameter
|
||||||
* UPNP_E_BAD_RESPONSE
|
* UPNP_E_BAD_RESPONSE
|
||||||
* UPNP_E_BAD_HTTPMSG
|
* UPNP_E_BAD_HTTPMSG
|
||||||
|
@ -99,7 +99,7 @@ typedef struct SERVICE_TABLE {
|
|||||||
/*!
|
/*!
|
||||||
* \brief Makes a copy of the subscription.
|
* \brief Makes a copy of the subscription.
|
||||||
*
|
*
|
||||||
* \return HTTP_SUCCESS on Sucess.
|
* \return HTTP_SUCCESS on success.
|
||||||
*/
|
*/
|
||||||
int copy_subscription(
|
int copy_subscription(
|
||||||
/*! [in] Source subscription. */
|
/*! [in] Source subscription. */
|
||||||
|
@ -240,7 +240,7 @@ get_node_value( IN IXML_Node * node )
|
|||||||
* control URL
|
* control URL
|
||||||
*
|
*
|
||||||
* Return : int
|
* Return : int
|
||||||
* returns 0 on sucess; -1 on error
|
* returns 0 on success; -1 on error
|
||||||
*
|
*
|
||||||
* Note :
|
* Note :
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user