📄 wbxml_wrap_syncml.h
字号:
WBXMLBuffer *Target; /**< Target */ WBXMLBuffer *Source; /**< Source */ WBXMLBuffer *RespURI; /**< RespURI? */ WB_BOOL NoResp; /**< NoResp? */ WBXMLSyncMLCred *Cred; /**< Cred? */ WBXMLSyncMLMeta *Meta; /**< Meta? */} WBXMLSyncMLSyncHdr;/** * @brief SyncML <SyncML> element */typedef struct WBXMLSyncMLSyncML_s{ WBXMLSyncMLSyncHdr *SyncHdr; /**< SyncHdr */ WBXMLSyncMLSyncBody *SyncBody; /**< SyncBody */} WBXMLSyncMLSyncML;/**************************************************** * SyncML Structures Functions *//* <Cred> *//** * @brief Create a SyncML <Cred> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLCred *) wbxml_syncml_Cred_create(void);/** * @brief Destroy a SyncML <Cred> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Cred_destroy(WBXMLSyncMLCred *elt);/* <Chal> *//** * @brief Create a SyncML <Chal> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLChal *) wbxml_syncml_Chal_create(void);/** * @brief Destroy a SyncML <Chal> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Chal_destroy(WBXMLSyncMLChal *elt);/* <Item> *//** * @brief Create a SyncML <Item> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLItem *) wbxml_syncml_Item_create(void);/** * @brief Destroy a SyncML <Item> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Item_destroy(WBXMLSyncMLItem *elt);/* <Add> *//** * @brief Create a SyncML <Add> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLAdd *) wbxml_syncml_Add_create(void);/** * @brief Destroy a SyncML <Add> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Add_destroy(WBXMLSyncMLAdd *elt);/* <Alert> *//** * @brief Create a SyncML <Alert> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLAlert *) wbxml_syncml_Alert_create(void);/** * @brief Destroy a SyncML <Alert> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Alert_destroy(WBXMLSyncMLAlert *elt);/* <Atomic> *//** * @brief Create a SyncML <Atomic> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLAtomic *) wbxml_syncml_Atomic_create(void);/** * @brief Destroy a SyncML <Atomic> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Atomic_destroy(WBXMLSyncMLAtomic *elt);/* <Copy> *//** * @brief Create a SyncML <Copy> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLCopy *) wbxml_syncml_Copy_create(void);/** * @brief Destroy a SyncML <Copy> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Copy_destroy(WBXMLSyncMLCopy *elt);/* <Delete> *//** * @brief Create a SyncML <Delete> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLDelete *) wbxml_syncml_Delete_create(void);/** * @brief Destroy a SyncML <Delete> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Delete_destroy(WBXMLSyncMLDelete *elt);/* <Exec> *//** * @brief Create a SyncML <Exec> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLExec *) wbxml_syncml_Exec_create(void);/** * @brief Destroy a SyncML <Exec> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Exec_destroy(WBXMLSyncMLExec *elt);/* <Get> *//** * @brief Create a SyncML <Get> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLGet *) wbxml_syncml_Get_create(void);/** * @brief Destroy a SyncML <Get> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Get_destroy(WBXMLSyncMLGet *elt);/* <Map> *//** * @brief Create a SyncML <Map> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLMap *) wbxml_syncml_Map_create(void);/** * @brief Destroy a SyncML <Map> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Map_destroy(WBXMLSyncMLMap *elt);/* <MapItem> *//** * @brief Create a SyncML <MapItem> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLMapItem *) wbxml_syncml_MapItem_create(void);/** * @brief Destroy a SyncML <MapItem> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_MapItem_destroy(WBXMLSyncMLMapItem *elt);/* <Put> *//** * @brief Create a SyncML <> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLPut *) wbxml_syncml_Put_create(void);/** * @brief Destroy a SyncML <Put> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Put_destroy(WBXMLSyncMLPut *elt);/* <Replace> *//** * @brief Create a SyncML <Replace> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLReplace *) wbxml_syncml_Replace_create(void);/** * @brief Destroy a SyncML <Replace> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Replace_destroy(WBXMLSyncMLReplace *elt);/* <Results> *//** * @brief Create a SyncML <Results> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLResults *) wbxml_syncml_Results_create(void);/** * @brief Destroy a SyncML <Results> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Results_destroy(WBXMLSyncMLResults *elt);/* <Search> *//** * @brief Create a SyncML <Search> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLSearch *) wbxml_syncml_Search_create(void);/** * @brief Destroy a SyncML <Search> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Search_destroy(WBXMLSyncMLSearch *elt);/* <Sequence> *//** * @brief Create a SyncML <Sequence> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLSequence *) wbxml_syncml_Sequence_create(void);/** * @brief Destroy a SyncML <Sequence> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Sequence_destroy(WBXMLSyncMLSequence *elt);/* <Status> *//** * @brief Create a SyncML <Status> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLStatus *) wbxml_syncml_Status_create(void);/** * @brief Destroy a SyncML <Status> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Status_destroy(WBXMLSyncMLStatus *elt);/* <Sync> *//** * @brief Create a SyncML <Sync> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLSync *) wbxml_syncml_Sync_create(void);/** * @brief Destroy a SyncML <Sync> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_Sync_destroy(WBXMLSyncMLSync *elt);/* Command *//** * @brief Create a SyncML Command structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLCommand *) wbxml_syncml_command_create(void);/** * @brief Destroy a SyncML Command structure * @param cmd Pointer to the Command to destroy */WBXML_DECLARE(void) wbxml_syncml_command_destroy(WBXMLSyncMLCommand *cmd);/* <SyncBody> *//** * @brief Create a SyncML <SyncBody> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLSyncBody *) wbxml_syncml_SyncBody_create(void);/** * @brief Destroy a SyncML <SyncBody> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_SyncBody_destroy(WBXMLSyncMLSyncBody *elt);/* <SyncHdr> *//** * @brief Create a SyncML <SyncHdr> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLSyncHdr *) wbxml_syncml_SyncHdr_create(void);/** * @brief Destroy a SyncML <SyncHdr> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_SyncHdr_destroy(WBXMLSyncMLSyncHdr *elt);/* <SyncML> *//** * @brief Create a SyncML <SyncML> element structure * @return Pointer to the newly created structure, or NULL if not enough memory */WBXML_DECLARE(WBXMLSyncMLSyncML *) wbxml_syncml_SyncML_create(void);/** * @brief Destroy a SyncML <SyncML> element structure * @param elt Pointer to the structure to destroy */WBXML_DECLARE(void) wbxml_syncml_SyncML_destroy(WBXMLSyncMLSyncML *elt);/**************************************************** * SyncML Building Functions *//** * @brief Create a SyncML Header tree node * @result Return the newly created tree node, or NULL if error */WBXML_DECLARE(WBXMLTreeNode *) wbxml_syncml_SyncHdr_build(WBXMLSyncMLSyncHdr *elt);/** @} */#ifdef __cplusplus}#endif /* __cplusplus */#endif /* WBXML_WRAP_SYNCML_H */#endif /* WBXML_WRAPPERS && WBXML_SUPPORT_SYNCML */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -