pattern.h

00001 /*
00002 
00003  * Summary: pattern expression handling
00004 
00005  * Description: allows to compile and test pattern expressions for nodes
00006 
00007  *              either in a tree or based on a parser state.
00008 
00009  *
00010 
00011  * Copy: See Copyright for the status of this software.
00012 
00013  *
00014 
00015  * Author: Daniel Veillard
00016 
00017  */
00018 
00019 
00020 
00021 #ifndef __XML_PATTERN_H__
00022 
00023 #define __XML_PATTERN_H__
00024 
00025 
00026 
00027 #include <libxml/xmlversion.h>
00028 
00029 #include <libxml/tree.h>
00030 
00031 #include <libxml/dict.h>
00032 
00033 
00034 
00035 #ifdef LIBXML_PATTERN_ENABLED
00036 
00037 
00038 
00039 #ifdef __cplusplus
00040 
00041 extern "C" {
00042 
00043 #endif
00044 
00045 
00046 
00057 typedef struct _xmlPattern xmlPattern;
00058 
00059 typedef xmlPattern *xmlPatternPtr;
00060 
00061 
00062 
00063 XMLPUBFUN void XMLCALL
00064 
00065                         xmlFreePattern          (xmlPatternPtr comp);
00066 
00067 
00068 
00069 XMLPUBFUN void XMLCALL
00070 
00071                         xmlFreePatternList      (xmlPatternPtr comp);
00072 
00073 
00074 
00075 XMLPUBFUN xmlPatternPtr XMLCALL
00076 
00077                         xmlPatterncompile       (const xmlChar *pattern,
00078 
00079                                                  xmlDict *dict,
00080 
00081                                                  int flags,
00082 
00083                                                  const xmlChar **namespaces);
00084 
00085 XMLPUBFUN int XMLCALL
00086 
00087                         xmlPatternMatch         (xmlPatternPtr comp,
00088 
00089                                                  xmlNodePtr node);
00090 
00091 
00092 
00093 #ifdef __cplusplus
00094 
00095 }
00096 
00097 #endif
00098 
00099 
00100 
00101 #endif /* LIBXML_PATTERN_ENABLED */
00102 
00103 
00104 
00105 #endif /* __XML_PATTERN_H__ */
00106 

Generated on Wed Jul 26 13:30:46 2006 for XSB by  doxygen 1.4.5