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

📄 rmsax.h

📁 神龙解压卡Linux下的完整开发包,绝对是超值超值超值
💻 H
字号:
#ifndef __RMSAX_H__#define __RMSAX_H__/**   Called when the parser encounters a start element.   ie: when it encounters <foo> or <foo/>   @param name contains the name of the element.                Here, "foo".   @param attributes contains the list of attributes.                     It is a NULL-terminated array.		     It must be freed by by the callee.   @param context the context. */typedef void (*RMsaxStartElement) (const RMascii *name, 				   const RMascii **attributes,				   void *context);/**   Called when the parser encounters a start element.   ie: when it encounters </foo> or <foo/>   @param name contains the name of the element.                Here, "foo".   @param context the context. */typedef void (*RMsaxEndElement) (const RMascii *name, 				 void *context);/**   Called upon parsing error.   @param context the context. */typedef void (*RMsaxFail) (void *context);typedef struct {	RMsaxStartElement  startElementCallback;	RMsaxEndElement    endElementCallback;	RMsaxFail          failCallback;} RMsaxVTable;/**   This function will parse the input string.   This function is of course thread-safe    (ie: it does not use any global variables).   @param pbuffer a NULL-terminated ASCII string.   @param vtable the list of callback functions to be called during                 parsing.   @param context the context pointer to pass to all callback functions. */RM_LIBRARY_IMPORT_EXPORT RMstatus RMParseSax (RMascii *pbuffer,		     const RMsaxVTable *vtable,		     void *context);#endif // __RMSAX_H__

⌨️ 快捷键说明

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