⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p_contif.h

📁 是一个手机功能的模拟程序
💻 H
📖 第 1 页 / 共 2 页
字号:
	Si_GetClass
==========================================================================
Purpose:  The function returns a copy of the class data in the Si. 
		  NULL is returned if no class is present. The input element must 
		  be of the type Si Info element. The string MUST be deleted
		  after it is used.
======================================================================== */
WCHAR *Si_GetClass (pELEMENTTYPE pItem);

/*========================================================================
	Si_GetItemText
==========================================================================
Purpose:  The function returns a copy of the class text in the Si. 
		  NULL is returned if no text is present. The input element must 
		  be of the type Si Info element. The string MUST be deleted
		  after it is used.
======================================================================== */
WCHAR *Si_GetItemText (pDECSTR pDecStr, pELEMENTTYPE pItem);






/*========================================================================

	Service Loading Functions

=========================================================================*/

/*========================================================================
	Sl_BuildStructure
==========================================================================
Purpose:  Function to build the element structure needed to perform 
		  different operations. The returned value is the structure, or 
		  NULL if error. The pbData is left unchanged. It is the caller's 
		  responsibility to delete the structure after it is used. The 
		  parameters are as follows: 

		  pbData - pointer to the first byte in the indata.
		  pbEnd - pointer to the byte AFTER the last byte in the indata.
		  iCharset - integer containing the IANA-code of the charset.
		  iContentLevel - The level (WSP parameter) of the contenttype.
		  iViewID - The view for the user agent (used for error output)
======================================================================== */
pDECSTR Sl_BuildStructure (BYTE *pbData, BYTE *pbEnd, INT16 iCharset,
						   UINT8 iContentLevel, UINT8 iViewID);

/*========================================================================
	Sl_DeleteStructure
==========================================================================
Purpose:  Function to delete a Sl structure. The input (**) element 
		  must be of the type Sl.
======================================================================== */
void Sl_DeleteStructure (pDECSTR *ppDecStr);

/*========================================================================
	Sl_GetSl
==========================================================================
Purpose:  Function to get the Sl element of an Sl structure. 
======================================================================== */
pELEMENTTYPE Sl_GetSl (pDECSTR pDecStr);

/*========================================================================
	Sl_GetHref
==========================================================================
Purpose:  The function returns a copy of the href in the Sl. 
		  NULL is returned if no href is present. The input element must 
		  be of the type Sl. The string MUST be deleted after it is used.
======================================================================== */
BYTE *Sl_GetHref (pELEMENTTYPE pSl);

/*========================================================================
	Sl_GetAction
==========================================================================
Purpose:  The function returns a copy of the Action data in the Sl. The 
          return values are defined in PUSHDef.h
		  Default value (execute-low) is returned if no data is present. 
		  The input element must be of the type Sl. 
======================================================================== */
UINT8 Sl_GetAction (pELEMENTTYPE pSl);







/*========================================================================

	Cache Operation Functions

=========================================================================*/

/*========================================================================
	Co_BuildStructure
==========================================================================
Purpose:  Function to build the element structure needed to perform 
		  different operations. The returned value is the structure, or 
		  NULL if error. The pbData is left unchanged. It is the caller's 
		  responsibility to delete the structure after it is used. The 
		  parameters are as follows: 

		  pbData - pointer to the first byte in the indata.
		  pbEnd - pointer to the byte AFTER the last byte in the indata.
		  iCharset - integer containing the IANA-code of the charset.
		  iContentLevel - The level (WSP parameter) of the contenttype.
		  iViewID - The view for the user agent (used for error output)
======================================================================== */
pDECSTR Co_BuildStructure (BYTE *pbData, BYTE *pbEnd, INT16 iCharset, 
						   UINT8 iContentLevel, UINT8 iViewID);


/*========================================================================
	Co_DeleteStructure
==========================================================================
Purpose:  Function to delete a Co structure. The input (**) element 
		  must be of the type Co.
======================================================================== */
void Co_DeleteStructure (pDECSTR *ppDecStr);


/*========================================================================
	Co_GetCo
==========================================================================
Purpose:  Function to get the Co element of an Co structure. 
======================================================================== */
pELEMENTTYPE Co_GetCo (pDECSTR pDecStr);


/*========================================================================
	Co_GetInvalidateURI
==========================================================================
Purpose:  The function returns a copy of the URI in the Co. 
		  NULL is returned if no URI is present. The input element must 
		  be of the type Invalidate element. The string MUST be deleted 
		  after it is used.
======================================================================== */
BYTE *Co_GetInvalidateURI (pELEMENTTYPE pElement);


/*========================================================================
	Co_GetInvalidateType
==========================================================================
Purpose:  The function returns a copy of the Invalidate type in the Co with
		  the following possible values: 
		  0: Unknown type (indicates error)
		  1: Invalidate Object
		  2: Invalidate Service
		  The input element must be of the type Invalidate element. 
======================================================================== */
UINT8 Co_GetInvalidateType (pELEMENTTYPE pElement);


/*========================================================================
	Co_GetNextInvElem
==========================================================================
Purpose:  The function returns the next Invalidate element in the Co. 
		  NULL is returned if no item or no more items is/are present. 
		  The input element must be of the type Co Invalidate element. If 
		  pElement is NULL, the first Invalidate element is retrieved. 
======================================================================== */
pELEMENTTYPE Co_GetNextInvElem (pELEMENTTYPE pCo,pELEMENTTYPE pElement);


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -