blob: 6b85899a15f5858b228c7fab399f91e4f47e9106 [file] [log] [blame]
William M. Brack2ad1dff2003-11-15 10:35:20 +00001<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>xmlregexp</title><meta name="generator" content="DocBook XSL Stylesheets V1.48"><meta name="generator" content="GTK-Doc V1.1 (XML mode)"><style type="text/css">
Daniel Veillardd4330462003-04-29 12:40:16 +00002 .synopsis, .classsynopsis {
3 background: #eeeeee;
4 border: solid 1px #aaaaaa;
5 padding: 0.5em;
6 }
7 .programlisting {
8 background: #eeeeff;
9 border: solid 1px #aaaaff;
10 padding: 0.5em;
11 }
12 .variablelist {
13 padding: 4px;
14 margin-left: 3em;
15 }
16 .navigation {
17 background: #ffeeee;
18 border: solid 1px #ffaaaa;
19 margin-top: 0.5em;
20 margin-bottom: 0.5em;
21 }
22 .navigation a {
23 color: #770000;
24 }
25 .navigation a:visited {
26 color: #550000;
27 }
28 .navigation .title {
29 font-size: 200%;
30 }
William M. Brack2ad1dff2003-11-15 10:35:20 +000031 </style><link rel="home" href="index.html" title="Gnome XML Library Reference Manual "><link rel="up" href="ch01.html" title="Libxml Programming Notes"><link rel="previous" href="libxml-encoding.html" title="encoding"><link rel="next" href="libxml-xmlmemory.html" title="xmlmemory"></head><body text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="libxml-encoding.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">Gnome XML Library Reference Manual </th><td><a accesskey="n" href="libxml-xmlmemory.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry"><a name="libxml-xmlregexp"></a><div class="titlepage"></div><div class="refnamediv"><h2>xmlregexp</h2><p>xmlregexp &#8212; </p></div><div class="refsynopsisdiv"><h2><h1 class="title"><a name="id2645489"></a>Synopsis</h1></h2><pre class="synopsis">
Daniel Veillard80ce3732002-10-07 17:39:30 +000032
Daniel Veillardd4330462003-04-29 12:40:16 +000033
34
35struct <a href="libxml-xmlregexp.html#xmlRegexp">xmlRegexp</a>;
36typedef <a href="libxml-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a>;
37struct <a href="libxml-xmlregexp.html#xmlRegExecCtxt">xmlRegExecCtxt</a>;
38typedef <a href="libxml-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a>;
Daniel Veillardd4330462003-04-29 12:40:16 +000039void (<a href="libxml-xmlregexp.html#xmlRegExecCallbacks">*xmlRegExecCallbacks</a>) (<a href="libxml-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec,
40 const <a href="libxml-tree.html#xmlChar">xmlChar</a> *token,
Daniel Veillard80ce3732002-10-07 17:39:30 +000041 void *transdata,
42 void *inputdata);
William M. Brack2ad1dff2003-11-15 10:35:20 +000043</pre></div><div class="refsect1"><h2>Description</h2><p>
Daniel Veillardd4330462003-04-29 12:40:16 +000044
William M. Brack2ad1dff2003-11-15 10:35:20 +000045</p></div><div class="refsect1"><h2>Details</h2><div class="refsect2"><h3><a name="xmlRegexp"></a>struct xmlRegexp</h3><pre class="programlisting">struct xmlRegexp;</pre><p>
Daniel Veillardd4330462003-04-29 12:40:16 +000046
William M. Brack2ad1dff2003-11-15 10:35:20 +000047</p></div><hr><div class="refsect2"><h3><a name="xmlRegexpPtr"></a>xmlRegexpPtr</h3><pre class="programlisting">typedef xmlRegexp *xmlRegexpPtr;
Daniel Veillardd7cec922003-06-13 12:30:10 +000048</pre><p>
Daniel Veillardd4330462003-04-29 12:40:16 +000049A libxml regular expression, they can actually be far more complex
50thank the POSIX regex expressions.</p><p>
51
William M. Brack2ad1dff2003-11-15 10:35:20 +000052</p></div><hr><div class="refsect2"><h3><a name="xmlRegExecCtxt"></a>struct xmlRegExecCtxt</h3><pre class="programlisting">struct xmlRegExecCtxt;</pre><p>
Daniel Veillardd4330462003-04-29 12:40:16 +000053
William M. Brack2ad1dff2003-11-15 10:35:20 +000054</p></div><hr><div class="refsect2"><h3><a name="xmlRegExecCtxtPtr"></a>xmlRegExecCtxtPtr</h3><pre class="programlisting">typedef xmlRegExecCtxt *xmlRegExecCtxtPtr;
Daniel Veillardd7cec922003-06-13 12:30:10 +000055</pre><p>
Daniel Veillardd4330462003-04-29 12:40:16 +000056A libxml progressive regular expression evaluation context</p><p>
57
William M. Brack2ad1dff2003-11-15 10:35:20 +000058</p></div><hr><div class="refsect2"><h3><a name="xmlRegExecCallbacks"></a>xmlRegExecCallbacks ()</h3><pre class="programlisting">void (*xmlRegExecCallbacks) (<a href="libxml-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec,
Daniel Veillardd4330462003-04-29 12:40:16 +000059 const <a href="libxml-tree.html#xmlChar">xmlChar</a> *token,
Daniel Veillard80ce3732002-10-07 17:39:30 +000060 void *transdata,
Daniel Veillardd4330462003-04-29 12:40:16 +000061 void *inputdata);</pre><p>
62
William M. Brack2ad1dff2003-11-15 10:35:20 +000063</p><div class="variablelist"><table border="0"><col align="left"><tbody><tr><td><span class="term"><i><tt>exec</tt></i>:</span></td><td>
64</td></tr><tr><td><span class="term"><i><tt>token</tt></i>:</span></td><td>
65</td></tr><tr><td><span class="term"><i><tt>transdata</tt></i>:</span></td><td>
66</td></tr><tr><td><span class="term"><i><tt>inputdata</tt></i>:</span></td><td>
Daniel Veillardd4330462003-04-29 12:40:16 +000067
68
William M. Brack2ad1dff2003-11-15 10:35:20 +000069</td></tr></tbody></table></div></div></div></div><table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="libxml-encoding.html"><b>&lt;&lt; encoding</b></a></td><td align="right"><a accesskey="n" href="libxml-xmlmemory.html"><b>xmlmemory &gt;&gt;</b></a></td></tr></table></body></html>