diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-08-19 07:37:30 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-08-19 07:37:30 +0000 |
commit | b81bfbf62c6a3e2a977167fd041a989f609b16ea (patch) | |
tree | 4c9b2d18bff423d6266d7f9fe7a97bc8842b9d5e /protocols/Tlen/src/tlen_xml.h | |
parent | 36d3f260e6d6e3bbf665ad148b2bd2f325d7f87d (diff) |
replace jabber to tlen
git-svn-id: http://svn.miranda-ng.org/main/trunk@5742 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tlen/src/tlen_xml.h')
-rw-r--r-- | protocols/Tlen/src/tlen_xml.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/protocols/Tlen/src/tlen_xml.h b/protocols/Tlen/src/tlen_xml.h index 165a8fadc5..9b5a078149 100644 --- a/protocols/Tlen/src/tlen_xml.h +++ b/protocols/Tlen/src/tlen_xml.h @@ -21,8 +21,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#ifndef _JABBER_XML_H_
-#define _JABBER_XML_H_
+#ifndef _TLEN_XML_H_
+#define _TLEN_XML_H_
typedef enum { ELEM_OPEN, ELEM_CLOSE, ELEM_OPENCLOSE, ELEM_TEXT } XmlElemType;
typedef enum { NODE_OPEN, NODE_CLOSE } XmlNodeType;
@@ -59,21 +59,21 @@ typedef struct tagXmlState { void *userdata2_close;
} XmlState;
-void JabberXmlInitState(XmlState *xmlState);
-void JabberXmlDestroyState(XmlState *xmlState);
-BOOL JabberXmlSetCallback(XmlState *xmlState, int depth, XmlElemType type, void (*callback)(XmlNode*, void*), void *userdata);
-int JabberXmlParse(XmlState *xmlState, char *buffer, int datalen);
-char *JabberXmlGetAttrValue(XmlNode *node, char *key);
-XmlNode *JabberXmlGetChild(XmlNode *node, char *tag);
-XmlNode *JabberXmlGetNthChild(XmlNode *node, char *tag, int nth);
-XmlNode *JabberXmlGetChildWithGivenAttrValue(XmlNode *node, char *tag, char *attrKey, char *attrValue);
-void JabberXmlFreeNode(XmlNode *node);
-XmlNode *JabberXmlCopyNode(XmlNode *node);
+void TlenXmlInitState(XmlState *xmlState);
+void TlenXmlDestroyState(XmlState *xmlState);
+BOOL TlenXmlSetCallback(XmlState *xmlState, int depth, XmlElemType type, void (*callback)(XmlNode*, void*), void *userdata);
+int TlenXmlParse(XmlState *xmlState, char *buffer, int datalen);
+char *TlenXmlGetAttrValue(XmlNode *node, char *key);
+XmlNode *TlenXmlGetChild(XmlNode *node, char *tag);
+XmlNode *TlenXmlGetNthChild(XmlNode *node, char *tag, int nth);
+XmlNode *TlenXmlGetChildWithGivenAttrValue(XmlNode *node, char *tag, char *attrKey, char *attrValue);
+void TlenXmlFreeNode(XmlNode *node);
+XmlNode *TlenXmlCopyNode(XmlNode *node);
-XmlNode *JabberXmlCreateNode(char *name);
-void JabberXmlAddAttr(XmlNode *n, char *name, char *value);
-XmlNode *JabberXmlAddChild(XmlNode *n, char *name);
-void JabberXmlAddText(XmlNode *n, char *text);
+XmlNode *TlenXmlCreateNode(char *name);
+void TlenXmlAddAttr(XmlNode *n, char *name, char *value);
+XmlNode *TlenXmlAddChild(XmlNode *n, char *name);
+void TlenXmlAddText(XmlNode *n, char *text);
#endif
|