亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? wtx.c

?? vxworks操作系統(tǒng)Intel體系結(jié)構(gòu)下內(nèi)核源代碼
?? C
?? 第 1 頁 / 共 5 頁
字號(hào):
static const char *	WTX_EVT_VIO_WRITE	= "VIO_WRITE";static const char *	WTX_EVT_TOOL_ATTACH	= "TOOL_ATTACH";static const char *	WTX_EVT_TOOL_DETACH	= "TOOL_DETACH";static const char *	WTX_EVT_TOOL_MSG	= "TOOL_MSG";static const char *	WTX_EVT_DATA_ACCESS	= "DATA_ACCESS";static const char *	WTX_EVT_CALL_RETURN	= "CALL_RETURN";static const char *	WTX_EVT_USER		= "USER";static const char *	WTX_EVT_HW_BP           = "HW_BP";static const char *	WTX_EVT_OTHER		= "OTHER";static const char *	WTX_EVT_INVALID		= "INVALID";static const char *	WTX_EVT_UNKNOWN		= "UNKNOWN";static const char *	WTX_EVT_TS_KILLED	= "TS_KILLED";static const char *	WTX_EVT_EVTPT_ADDED	= "EVTPT_ADDED";static const char *	WTX_EVT_EVTPT_DELETED	= "EVTPT_DELETED";#if !defined (_DEBUG) && defined (NO_LICENSE)static BOOL envVarChecked  = FALSE;	/* do we checked NO_LICENSE env. var? */#endif	/* NO_LICENSE */#if defined (HOST) && !defined (_DEBUG)static BOOL	licenseCheck   = TRUE;	/* do check for license ?             */LOCAL int	gotLicense	= 0;	/* Do we own a license ?              */#endif /* HOST *//* XXX : fle : put in comment as it was not used anywhere *//* static const char * WTX_EVT_CALL_GOT_EXC=	"CALL_GOT_EXC"; *//* Externals *//* globals */static BOOL	internalLoadCall;	/* states if it is an internal load *//* forward declarations */LOCAL WTX_ERROR_T exchange    (    HWTX	hWtx,    UINT32	svcNum,    void *	pIn,    void *	pOut    );LOCAL WTX_ERROR_T registryConnect	/* establish a connection with regd */    (    HWTX	hWtx			/* WTX session handler              */    );LOCAL void registryDisconnect    (    HWTX hWtx    );STATUS wtxFreeAdd			/* adds elt in wtxResultFree() list  */    (    HWTX		hWtx,		/* wtx session handler               */    void *		pToFree,	/* pointer to be freed               */    FUNCPTR		pFreeFunc,	/* routine to use to free pToFree    */    void *		pMsgToFree,	/* message to free if needed         */    WTX_REQUEST		svcNum,		/* service num to free if needed     */    WTX_XID		server,		/* RPC server to connect to          */    WTX_SVR_TYPE	svrType		/* connected server type             */    );LOCAL STATUS wtxMemDisassembleFree		/* free disassembled insts.  */    (    WTX_DASM_INST_LIST *	pDasmInstList	/* disassembled list to free */    );#if 0/* XXX : fle : for SRP#67326 */#ifdef HOSTLOCAL STATUS wtxObjModuleLoadProgressReportFree	/* free a status report */    (    HWTX			hWtx,		/* WTX session handler  */    WTX_LOAD_REPORT_INFO *	pToFree		/* pointer to free      */    );#endif /* HOST */#endif /* 0 */LOCAL BOOL wtxResultFreeListTerminate	/* empty the wtxResultFree ptrs list */    (    WTX_FREE_NODE *	pWtxFreeNode,	/* element in singaly linked list    */    HWTX *		hWtx		/* WTX session handler               */    );LOCAL BOOL wtxResultFreeServerListTerminate	/* empty tgtsvr pointers list */    (    WTX_FREE_NODE *	pWtxFreeNode,	/* element in singaly linked list     */    HWTX *		hWtx		/* WTX session handler                */    );#if 0/* XXX : fle : for SRP#67326 */#ifdef HOSTLOCAL STATUS wtxAsyncResultFree_2	/* frees async event list       */    (    WTX_EVENT_DESC *	eventDesc	/* pointer to structure to free */    );#endif /* HOST */#endif /* 0 */LOCAL BOOL wtxPtrMatch			/* matches a pointer value        */    (    WTX_FREE_NODE *	pWtxFreeNode,	/* element in singaly linked list */    void *		pToMatch	/* pointer value to find          */    );LOCAL void wtxDescFree			/* free a WTX_DESC structure */    (    WTX_DESC *	pDescToFree		/* WTX_DESC pointer to free  */    );LOCAL WTX_DESC * wtxDescDuplicate	/* duplicates a WTX_DESC       */    (    HWTX	hWtx,			/* current WTX session handler */    WTX_DESC *	pDesc			/* WTX_DESC to duplicate       */    );LOCAL void toolCleanup			/* cleanups when a tool detaches */    (    HWTX		hWtx		/* WTX API handler */    );LOCAL void serverDescFree		/* frees server description item */    (    HWTX		hWtx		/* WTX API handler */    );#ifndef HOSTLOCAL char * stringDup			/* duplicates a string */    (    const char *	strToDup	/* string to duplicate */    );#define	strdup	stringDup#endif /* ! HOST *//* * NOTE: This is a list of WTX protocol calls not accessible from the  *       WTX C API and is based on the service numbers in wtxmsg.h * * WTX_VIO_READ			- not implemented in server (obsolete?) * WTX_SYM_TBL_CREATE/DELETE	- to do * WTX_SYM_TBL_LIST		- to do * WTX_WTX_SERVICE_LIST		- not implemented in server - undefined * WTX_WDB_SERVICE_LIST		- not implemented in server - undefined * WTX_OBJ_KILL			- (currently TS kill only) Enough ? * WTX_OBJ_RESTART		- undefined (obsolete ?) */#if defined (HOST) && !defined (_DEBUG)/********************************************************************************* wtxLmDeauthorize - Check-in a license** This routine releases a license previously checked-out by wtxLmAuthorize ().* Typically, it is called when the process exits.** RETURNS: N/A** SEE ALSO: wtxLmAuthorize ()** NOMANUAL*/void wtxLmDeauthorize (void)    {    /* if we own a license, release it. */    if (gotLicense)	{	flexlmDeauthorize ();	}    }/********************************************************************************* wtxLmAuthorize - Check-out a license** This routine establishes a connection to the license server, and tries to* Check out a license.* Currently, we check a license upon first call to this routine. Once we get a* license, we always return OK to any subsequent call to this routine.* We register a handle to release the license when the tool exits.** RETURNS: WTX_OK or WTX_ERROR if the check-out fails.** SEE ALSO: wtxLmDeauthorize ()** NOMANUAL*/STATUS wtxLmAuthorize (void)    {    /* If we already got a license return OK */        if (gotLicense)	return OK;    /* First time: check for a valid license */    if (flexlmAuthorize (FEATURE_TORNADO_2_2, VERSION_TORNADO_2_2, 1) != OK)	return ERROR;    gotLicense = 1;	/* we got one! */        /* Record a handler to release the license when the process exits */    atexit (wtxLmDeauthorize);    return OK;	/* Return sucess */    }#endif/********************************************************************************* wtxToolAttach - connect a WTX client to the target server** This routine establishes a connection to the target server* called <serverName> and announces the client as a WTX tool called* <toolName>. If <serverName> does not contain an `@' character, it is* used as a regular expression; if it matches more than one (registered)* target server name, an error is returned.  If <serverName> contains * an `@' character then it must be an exact match for a valid target * server name.** RETURNS: WTX_OK or WTX_ERROR if the attach fails.** ERRORS:* .iP WTX_ERR_API_ALREADY_CONNECTED 12* The handle is already connected to a target server.* .iP WTX_ERR_API_SERVER_NOT_FOUND * <serverName> does not match a target server name using the above criteria.* .iP WTX_ERR_API_AMBIGUOUS_SERVER_NAME * <serverName> matches more than one target server name.* .iP WTX_ERR_SVR_DOESNT_RESPOND* <serverName> is dead : no RPC connection can be achieved* .iP WTX_ERR_SVR_IS_DEAD* <serverName> is dead : server has been found dead* .iP WTX_ERR_SVR_INVALID_LICENSE* No license could be checked-out for this tool.** SEE ALSO: WTX_TOOL_ATTACH, wtxToolDetach(), wtxToolConnected(), wtxInfoQ()*/STATUS wtxToolAttach     (    HWTX		hWtx,			/* WTX API handle             */    const char *	serverName,		/* Target Server name         */    const char *	toolName		/* tool name                  */    )        {    WTX_MSG_TOOL_DESC	in;			/* WTX param                  */    WTX_MSG_TOOL_DESC *	pOut = NULL;		/* WTX result                 */    WTX_DESC_Q *	pTsDescQ = NULL;	/* Q Info about Target Server */    WTX_ERROR_T		callStat;		/* status of WTX call         */    WTX_ERROR_T		errCode=WTX_ERR_NONE;	/* connection init status     */    WTX_DESC *		pSaveDesc = NULL;	/* saved server desc          */    WTX_DESC *		pTsDesc = NULL;		/* Info about Target Server   */    WTX_DESC *		pNewDesc = NULL;	/* for updated tgtsvr entry   */    char *		envUser = NULL;		/* result of getenv(USER)     */    char *		oldKey = NULL;		/* for multi adapters tgtsvrs */    char *		tmpKey = NULL;		/* for multi adapters tgtsvrs */    BOOL		usePMap = FALSE;	/* do we use port mapper ?    */    char		userName [256];		/* to format "user@host"      */    char		serverAtHost [256];	/* serverName@host            */    char		hostNameBuf [32];	/* for gethostname ()         */    int			ipNum = 0;		/* number of IP addr in list  */#ifdef WIN32    char                usrName [256];		/* holds name for Win32       */#endif    WTX_CHECK_HANDLE (hWtx, WTX_ERROR);    if (wtxToolConnected (hWtx))	WTX_ERROR_RETURN (hWtx, WTX_ERR_API_ALREADY_CONNECTED, WTX_ERROR);    if (hWtx->pServerDesc) 	{	wtxResultFree (hWtx, hWtx->pServerDesc);	hWtx->pServerDesc = NULL;	}    if (toolName == NULL)	WTX_ERROR_RETURN (hWtx, WTX_ERR_API_INVALID_ARG, WTX_ERROR);#if defined (HOST) && !defined (_DEBUG)    /*      * License check (HOST side, release version only):     * if NO_LICENSE if defined for this module, we'll look if NO_LICENSE is     * defined in the process' environment. If this is the case, we skip     * license check.      * In all cases, GDB won't be checked for license.     */#ifdef NO_LICENSE    if (!envVarChecked)	{	licenseCheck = (wpwrGetEnv ("NO_LICENSE") != NULL)?FALSE:TRUE;	envVarChecked = TRUE;	}#endif /* NO_LICENSE */     if (licenseCheck)	 licenseCheck = (strstr (toolName, "gdb") == NULL)?TRUE:FALSE;	    if ((licenseCheck) && (wtxLmAuthorize () != OK))	{	WTX_ERROR_RETURN (hWtx, WTX_ERR_SVR_INVALID_LICENSE, WTX_ERROR);	}#endif /* HOST */    /* save current name in serverAtHost */    strcpy (serverAtHost, serverName);    if (!strchr (serverName, '@'))			/* name: tgtsvr */	{	pTsDescQ = wtxInfoQ (hWtx, (char *)serverName, "tgtsvr", NULL);	if (pTsDescQ == NULL)	    WTX_ERROR_RETURN (hWtx, WTX_ERR_API_SERVER_NOT_FOUND, WTX_ERROR);		if (pTsDescQ->pNext != NULL)	    {	    wtxResultFree (hWtx, pTsDescQ);	    WTX_ERROR_RETURN (hWtx, WTX_ERR_API_AMBIGUOUS_SERVER_NAME, 			      WTX_ERROR);	    }	/*	 * There is an @ in the target server name, let's see if it is really	 * in registry data base.	 */	strcpy (serverAtHost, pTsDescQ->wpwrName);	wtxResultFree (hWtx, pTsDescQ);	}    pTsDesc = wtxInfo (hWtx, (char *)serverAtHost);	/* name: tgtsvr@host */    if (pTsDesc == NULL)	WTX_ERROR_RETURN (hWtx, hWtx->errCode, WTX_ERROR);    hWtx->pServerDesc = pTsDesc;    /* allocate space to copy server information */    if ( (pSaveDesc = (WTX_DESC *) malloc (sizeof (WTX_DESC))) == NULL)	{	wtxResultFree (hWtx, hWtx->pServerDesc);	WTX_ERROR_RETURN (hWtx, WTX_ERR_API_MEMALLOC, WTX_ERROR);	}    /* copy server information */    memcpy ((void *) pSaveDesc, (void *) hWtx->pServerDesc, sizeof (WTX_DESC));    if (hWtx->pServerDesc->wpwrName != NULL)	{	if ((pSaveDesc->wpwrName = (char *) malloc (strlen			    (hWtx->pServerDesc->wpwrName) + 1)) == NULL)	    {	    free (pSaveDesc);	    wtxResultFree (hWtx, hWtx->pServerDesc);	    WTX_ERROR_RETURN (hWtx, WTX_ERR_API_MEMALLOC, WTX_ERROR);	    }	            strcpy (pSaveDesc->wpwrName, hWtx->pServerDesc->wpwrName);	}    if (hWtx->pServerDesc->wpwrKey != NULL)	{	if ((pSaveDesc->wpwrKey = (char *) malloc (strlen			    (hWtx->pServerDesc->wpwrKey) + 1)) == NULL)	    {	    free (pSaveDesc->wpwrName);	    free (pSaveDesc);	    wtxResultFree (hWtx, hWtx->pServerDesc);	    WTX_ERROR_RETURN (hWtx, WTX_ERR_API_MEMALLOC, WTX_ERROR);	    }	            strcpy (pSaveDesc->wpwrKey, hWtx->pServerDesc->wpwrKey);	}    if (hWtx->pServerDesc->wpwrType != NULL)	{	if ((pSaveDesc->wpwrType = (char *) malloc (strlen			    (hWtx->pServerDesc->wpwrType) + 1)) == NULL)	    {	    free (pSaveDesc->wpwrKey);	    free (pSaveDesc->wpwrName);	    free (pSaveDesc);	    wtxResultFree (hWtx, hWtx->pServerDesc);	    WTX_ERROR_RETURN (hWtx, WTX_ERR_API_MEMALLOC, WTX_ERROR);	    }	            strcpy (pSaveDesc->wpwrType, hWtx->pServerDesc->wpwrType);	}    wtxResultFree (hWtx, hWtx->pServerDesc);    registryDisconnect (hWtx);    hWtx->pServerDesc = pSaveDesc;    /* first just initialise the connection */    if (wtxExchangeInitialize (&hWtx->server) != WTX_OK ||	wtxExchangeInstall (hWtx->server, 			    wtxRpcExchangeCreate, 			    wtxRpcExchangeDelete, 			    wtxRpcExchange, 			    wtxRpcExchangeFree, 			    wtxRpcExchangeControl) != WTX_OK)	{	/* Record the error code */	errCode = wtxExchangeErrGet ((WTX_XID) hWtx->server);	/* free server descriptor */	serverDescFree (hWtx);

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品蜜桃在线看| 亚洲成在人线免费| 久久九九久精品国产免费直播| 日韩三级在线免费观看| 欧美一区二区久久| 欧美电视剧在线观看完整版| 日韩欧美一级精品久久| 欧美电影免费观看高清完整版| 欧美成人r级一区二区三区| 久久久午夜精品| 中文字幕高清一区| 自拍偷拍国产亚洲| 亚洲午夜久久久久久久久久久| 亚洲va在线va天堂| 奇米精品一区二区三区在线观看 | 国产午夜精品一区二区三区视频| 久久久五月婷婷| 国产清纯美女被跳蛋高潮一区二区久久w | 国产亚洲一区二区三区| 亚洲国产高清在线| 日韩码欧中文字| 亚洲图片欧美综合| 美国av一区二区| 成人午夜在线视频| 欧美性色黄大片| 日韩限制级电影在线观看| 久久色在线视频| 亚洲人成人一区二区在线观看 | 美女一区二区久久| 国产激情精品久久久第一区二区 | 3atv在线一区二区三区| www成人在线观看| 国产精品伦一区| 亚洲va韩国va欧美va| 麻豆精品国产传媒mv男同| 国产成人夜色高潮福利影视| 91成人在线免费观看| 日韩欧美一二区| 国产精品青草综合久久久久99| 一区二区三区免费| 欧美日韩色一区| 日韩丝袜情趣美女图片| 中文字幕国产一区二区| 首页国产丝袜综合| 成人午夜视频福利| 欧美一级日韩免费不卡| 国产精品色呦呦| 日韩在线一区二区| 成人黄色软件下载| 91精品欧美久久久久久动漫| 国产日韩欧美激情| 亚洲国产wwwccc36天堂| 国产在线不卡视频| 欧美天堂一区二区三区| 精品国产乱码久久久久久闺蜜| 亚洲精品国产精华液| 精品一区二区三区免费观看| 色综合久久久久| 久久久久免费观看| 日韩电影免费一区| 日本道在线观看一区二区| 欧美精品一区在线观看| 亚洲综合一区二区精品导航| 国产精品亚洲一区二区三区在线 | 亚洲电影一级黄| 不卡电影一区二区三区| 精品国产91久久久久久久妲己| 一级中文字幕一区二区| gogo大胆日本视频一区| 久久综合九色欧美综合狠狠| 天天色天天爱天天射综合| 91麻豆国产福利精品| 国产欧美一区二区在线观看| 久久精品国产一区二区| 欧美性猛片aaaaaaa做受| 国产精品久久久久毛片软件| 国产真实乱子伦精品视频| 91精品婷婷国产综合久久性色 | 国产九九视频一区二区三区| 日韩毛片精品高清免费| 国产精品888| 久久一区二区三区四区| 麻豆91在线观看| 制服丝袜亚洲精品中文字幕| 亚洲精品成人在线| 不卡av免费在线观看| 久久精品视频免费| 国产精一区二区三区| 精品国精品国产| 日本在线不卡一区| 91精品国产一区二区三区香蕉| 亚洲一区二区三区美女| 欧美中文字幕不卡| 亚洲乱码国产乱码精品精小说 | 欧美三级电影网站| 亚洲一区二区影院| 欧洲精品在线观看| 一区二区三区在线观看网站| 一本一道久久a久久精品综合蜜臀 一本一道综合狠狠老 | 国产精品久久久久影院老司| 成人夜色视频网站在线观看| 国产欧美精品一区aⅴ影院 | 久久久精品免费观看| 国产一区二区三区在线观看精品| 欧美va日韩va| 国产麻豆欧美日韩一区| 久久久国产一区二区三区四区小说| 国产精品自在欧美一区| 久久久久久亚洲综合| 国产成人精品在线看| 亚洲国产精品高清| av中文字幕不卡| 亚洲欧美国产毛片在线| 在线观看国产一区二区| 亚洲一区二区三区视频在线| 欧美精品一级二级三级| 日韩电影在线观看电影| 2021久久国产精品不只是精品| 日韩亚洲国产中文字幕欧美| 久久99国产精品尤物| 国产亚洲制服色| av毛片久久久久**hd| 亚洲综合丝袜美腿| 日韩一级片网站| 国产精品一级在线| 亚洲免费视频中文字幕| 欧美日韩免费一区二区三区| 青青草一区二区三区| 久久免费偷拍视频| av高清久久久| 偷拍日韩校园综合在线| 久久美女高清视频| 91蝌蚪porny成人天涯| 午夜欧美在线一二页| 精品少妇一区二区三区免费观看| 国产精品一区二区x88av| 亚洲精品视频在线观看网站| 91精品国产色综合久久不卡蜜臀| 国产一区二区在线视频| 日韩美女精品在线| 欧美一区二区三区日韩视频| 成人看片黄a免费看在线| 亚洲尤物在线视频观看| 久久综合久久久久88| 一本到三区不卡视频| 精品在线你懂的| 1024精品合集| 日韩午夜av一区| 99riav久久精品riav| 欧美aaaaaa午夜精品| 亚洲天堂精品在线观看| 欧美岛国在线观看| 色婷婷综合五月| 国内精品第一页| 亚洲va欧美va人人爽午夜| 中文字幕精品在线不卡| 91精品中文字幕一区二区三区| 成人精品gif动图一区| 日韩精彩视频在线观看| 国产精品三级在线观看| 6080午夜不卡| 日本黄色一区二区| 国产一区激情在线| 日韩av高清在线观看| 亚洲嫩草精品久久| 国产女人18水真多18精品一级做| 91麻豆精品国产91久久久| 91视频在线观看| 国产成人午夜片在线观看高清观看| 亚洲丶国产丶欧美一区二区三区| 中文字幕制服丝袜成人av | 麻豆精品久久久| 亚洲一区二区三区在线| 国产精品视频免费看| 精品国产一区二区三区久久影院 | 中文字幕巨乱亚洲| 精品免费视频一区二区| 欧美吞精做爰啪啪高潮| 91麻豆自制传媒国产之光| 国产精品一级黄| 麻豆国产精品官网| 视频一区国产视频| 亚洲一级不卡视频| 国产精品国产馆在线真实露脸 | 亚洲亚洲人成综合网络| 中文字幕av不卡| 欧美电影免费提供在线观看| 欧美精品vⅰdeose4hd| 色国产精品一区在线观看| www.日韩精品| www.性欧美| 不卡免费追剧大全电视剧网站| 国产大片一区二区| 精品在线一区二区三区| 久久国产精品72免费观看| 美女一区二区久久| 蜜桃精品视频在线| 日本不卡一二三| 青青草国产精品亚洲专区无| 日韩一区精品视频|