montage-tech/prj/dvbc/rabi/vod/server_xingmei/xingmeiDataProvider.cpp
/*****************************************************************************
* fuxl add to get search word
***************************************************************************/
fuxl add to get search word
fuxl add to get search word
static int   XM_GetSearchWord(u8 *searchWord)
{
#if 0
	DEBUG(IPTVDP,INFO," start start ... searchWord = %s \n",searchWord);
	DP_CMD_T cmd;
	u8 *p_param = NULL;
	int str_len = strlen((char *)searchWord) + 1;
	p_param  = (u8 *)SY_CALLOC(1,str_len);
       strcpy((char *)p_param, (char *)searchWord);
	memset(&cmd,0,sizeof(DP_CMD_T));
	cmd.type = GET_IPTV_SEARCH_WORD;
	cmd.param = (u32)p_param;
	int ret = DP_sendCmd(xmDpBlock->p_bg_task_hdl,&cmd);
	if(ret < 0)
	{
		DEBUG(IPTVDP,ERR,"[%s][ERROR] FAIL SEND CMD ...\n",__func__);
	}
	DEBUG(IPTVDP,INFO,"end end ... \n");
#endif	
	return 0;
}
static int XM_GetSearchWord ( u8 * searchWord ) { #if 0 DEBUG ( IPTVDP , INFO , " \n " , searchWord ) ; DP_CMD_T cmd ; u8 * p_param = NULL ; int str_len = strlen ( ( char * ) searchWord ) + 1 ; p_param = ( u8 * ) SY_CALLOC ( 1 , str_len ) ; strcpy ( ( char * ) p_param , ( char * ) searchWord ) ; memset ( & cmd , 0 , sizeof ( DP_CMD_T ) ) ; cmd . type = GET_IPTV_SEARCH_WORD ; cmd . param = ( u32 ) p_param ; int ret = DP_sendCmd ( xmDpBlock -> p_bg_task_hdl , & cmd ) ; if ( ret < 0 ) { DEBUG ( IPTVDP , ERR , " \n " , __func__ ) ; } DEBUG ( IPTVDP , INFO , " \n " ) ; #endif return 0 ; }
fuxl add to get search word
fuxl add to get search word