/************************************************************************ * Function : send_search_result * * Parameters: * IN void *data: Search reply from the device * * Description: * This function sends a callback to the control point application with * a SEARCH result * * Returns: void * ***************************************************************************/ void send_search_result( IN void *data ) { ResultData *temp = ( ResultData * ) data; temp->ctrlpt_callback( UPNP_DISCOVERY_SEARCH_RESULT, &temp->param, temp->cookie ); free( temp ); }
/*! * \brief Sends a callback to the control point application with a SEARCH * result. */ static void send_search_result( /* [in] Search reply from the device. */ IN void *data) { ResultData *temp = (ResultData *) data; temp->ctrlpt_callback(UPNP_DISCOVERY_SEARCH_RESULT, &temp->param, temp->cookie); free(temp); }
/************************************************************************ * Function : send_search_result * * Parameters: * IN void *data: Search reply from the device * * Description: * This function sends a callback to the control point application with * a SEARCH result * * Returns: void * ***************************************************************************/ void send_search_result( IN void *data ) { ResultData *temp = ( ResultData * ) data; temp->ctrlpt_callback( UPNP_DISCOVERY_SEARCH_RESULT, &temp->param, temp->cookie ); #ifdef _UPNP_MM_ upnp_free( temp ); #else free( temp ); #endif }