1*7c568831SAndroid Build Coastguard Worker<html> 2*7c568831SAndroid Build Coastguard Worker<head> 3*7c568831SAndroid Build Coastguard Worker<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4*7c568831SAndroid Build Coastguard Worker<title>xmlautomata: API to build regexp automata</title> 5*7c568831SAndroid Build Coastguard Worker<meta name="generator" content="Libxml2 devhelp stylesheet"> 6*7c568831SAndroid Build Coastguard Worker<link rel="start" href="index.html" title="libxml2 Reference Manual"> 7*7c568831SAndroid Build Coastguard Worker<link rel="up" href="general.html" title="API"> 8*7c568831SAndroid Build Coastguard Worker<link rel="stylesheet" href="style.css" type="text/css"> 9*7c568831SAndroid Build Coastguard Worker<link rel="chapter" href="general.html" title="API"> 10*7c568831SAndroid Build Coastguard Worker</head> 11*7c568831SAndroid Build Coastguard Worker<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 12*7c568831SAndroid Build Coastguard Worker<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> 13*7c568831SAndroid Build Coastguard Worker<td><a accesskey="p" href="libxml2-xmlIO.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> 14*7c568831SAndroid Build Coastguard Worker<td><a accesskey="u" href="general.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> 15*7c568831SAndroid Build Coastguard Worker<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> 16*7c568831SAndroid Build Coastguard Worker<td><a accesskey="n" href="libxml2-xmlerror.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> 17*7c568831SAndroid Build Coastguard Worker<th width="100%" align="center">libxml2 Reference Manual</th> 18*7c568831SAndroid Build Coastguard Worker</tr></table> 19*7c568831SAndroid Build Coastguard Worker<h2><span class="refentrytitle">xmlautomata</span></h2> 20*7c568831SAndroid Build Coastguard Worker<p>xmlautomata - API to build regexp automata</p> 21*7c568831SAndroid Build Coastguard Worker<p>the API to build regexp automata </p> 22*7c568831SAndroid Build Coastguard Worker<p>Author(s): Daniel Veillard </p> 23*7c568831SAndroid Build Coastguard Worker<div class="refsynopsisdiv"> 24*7c568831SAndroid Build Coastguard Worker<h2>Synopsis</h2> 25*7c568831SAndroid Build Coastguard Worker<pre class="synopsis">typedef struct _xmlAutomata <a href="#xmlAutomata">xmlAutomata</a>; 26*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-xmlautomata.html#xmlAutomata">xmlAutomata</a> * <a href="#xmlAutomataPtr">xmlAutomataPtr</a>; 27*7c568831SAndroid Build Coastguard Workertypedef struct _xmlAutomataState <a href="#xmlAutomataState">xmlAutomataState</a>; 28*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-xmlautomata.html#xmlAutomataState">xmlAutomataState</a> * <a href="#xmlAutomataStatePtr">xmlAutomataStatePtr</a>; 29*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> <a href="#xmlAutomataCompile">xmlAutomataCompile</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am); 30*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataGetInitState">xmlAutomataGetInitState</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am); 31*7c568831SAndroid Build Coastguard Workerint <a href="#xmlAutomataIsDeterminist">xmlAutomataIsDeterminist</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am); 32*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewAllTrans">xmlAutomataNewAllTrans</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> int lax); 33*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewCountTrans">xmlAutomataNewCountTrans</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> int min, <br> int max, <br> void * data); 34*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewCountTrans2">xmlAutomataNewCountTrans2</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token2, <br> int min, <br> int max, <br> void * data); 35*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewCountedTrans">xmlAutomataNewCountedTrans</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> int counter); 36*7c568831SAndroid Build Coastguard Workerint <a href="#xmlAutomataNewCounter">xmlAutomataNewCounter</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> int min, <br> int max); 37*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewCounterTrans">xmlAutomataNewCounterTrans</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> int counter); 38*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewEpsilon">xmlAutomataNewEpsilon</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to); 39*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewNegTrans">xmlAutomataNewNegTrans</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token2, <br> void * data); 40*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewOnceTrans">xmlAutomataNewOnceTrans</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> int min, <br> int max, <br> void * data); 41*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewOnceTrans2">xmlAutomataNewOnceTrans2</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token2, <br> int min, <br> int max, <br> void * data); 42*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewState">xmlAutomataNewState</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am); 43*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewTransition">xmlAutomataNewTransition</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> void * data); 44*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> <a href="#xmlAutomataNewTransition2">xmlAutomataNewTransition2</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token2, <br> void * data); 45*7c568831SAndroid Build Coastguard Workerint <a href="#xmlAutomataSetFinalState">xmlAutomataSetFinalState</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> state); 46*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlFreeAutomata">xmlFreeAutomata</a> (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am); 47*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> <a href="#xmlNewAutomata">xmlNewAutomata</a> (void); 48*7c568831SAndroid Build Coastguard Worker</pre> 49*7c568831SAndroid Build Coastguard Worker</div> 50*7c568831SAndroid Build Coastguard Worker<div class="refsect1" lang="en"><h2>Description</h2></div> 51*7c568831SAndroid Build Coastguard Worker<div class="refsect1" lang="en"> 52*7c568831SAndroid Build Coastguard Worker<h2>Details</h2> 53*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 54*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 55*7c568831SAndroid Build Coastguard Worker<h3> 56*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomata">Structure </a>xmlAutomata</h3> 57*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlAutomata { 58*7c568831SAndroid Build Coastguard WorkerThe content of this structure is not made public by the API. 59*7c568831SAndroid Build Coastguard Worker} xmlAutomata; 60*7c568831SAndroid Build Coastguard Worker</pre> 61*7c568831SAndroid Build Coastguard Worker<p></p> 62*7c568831SAndroid Build Coastguard Worker</div> 63*7c568831SAndroid Build Coastguard Worker<hr> 64*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 65*7c568831SAndroid Build Coastguard Worker<h3> 66*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataPtr">Typedef </a>xmlAutomataPtr</h3> 67*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomata">xmlAutomata</a> * xmlAutomataPtr; 68*7c568831SAndroid Build Coastguard Worker</pre> 69*7c568831SAndroid Build Coastguard Worker<p>A libxml automata description, It can be compiled into a regexp</p> 70*7c568831SAndroid Build Coastguard Worker</div> 71*7c568831SAndroid Build Coastguard Worker<hr> 72*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 73*7c568831SAndroid Build Coastguard Worker<h3> 74*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataState">Structure </a>xmlAutomataState</h3> 75*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlAutomataState { 76*7c568831SAndroid Build Coastguard WorkerThe content of this structure is not made public by the API. 77*7c568831SAndroid Build Coastguard Worker} xmlAutomataState; 78*7c568831SAndroid Build Coastguard Worker</pre> 79*7c568831SAndroid Build Coastguard Worker<p></p> 80*7c568831SAndroid Build Coastguard Worker</div> 81*7c568831SAndroid Build Coastguard Worker<hr> 82*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 83*7c568831SAndroid Build Coastguard Worker<h3> 84*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataStatePtr">Typedef </a>xmlAutomataStatePtr</h3> 85*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataState">xmlAutomataState</a> * xmlAutomataStatePtr; 86*7c568831SAndroid Build Coastguard Worker</pre> 87*7c568831SAndroid Build Coastguard Worker<p>A state int the automata description,</p> 88*7c568831SAndroid Build Coastguard Worker</div> 89*7c568831SAndroid Build Coastguard Worker<hr> 90*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 91*7c568831SAndroid Build Coastguard Worker<h3> 92*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataCompile"></a>xmlAutomataCompile ()</h3> 93*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> xmlAutomataCompile (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am)<br> 94*7c568831SAndroid Build Coastguard Worker</pre> 95*7c568831SAndroid Build Coastguard Worker<p>Compile the automata into a Reg Exp ready for being executed. The automata should be free after this point.</p> 96*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 97*7c568831SAndroid Build Coastguard Worker<col align="left"> 98*7c568831SAndroid Build Coastguard Worker<tbody> 99*7c568831SAndroid Build Coastguard Worker<tr> 100*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 101*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 102*7c568831SAndroid Build Coastguard Worker</tr> 103*7c568831SAndroid Build Coastguard Worker<tr> 104*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 105*7c568831SAndroid Build Coastguard Worker<td>the compiled regexp or NULL in case of error</td> 106*7c568831SAndroid Build Coastguard Worker</tr> 107*7c568831SAndroid Build Coastguard Worker</tbody> 108*7c568831SAndroid Build Coastguard Worker</table></div> 109*7c568831SAndroid Build Coastguard Worker</div> 110*7c568831SAndroid Build Coastguard Worker<hr> 111*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 112*7c568831SAndroid Build Coastguard Worker<h3> 113*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataGetInitState"></a>xmlAutomataGetInitState ()</h3> 114*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataGetInitState (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am)<br> 115*7c568831SAndroid Build Coastguard Worker</pre> 116*7c568831SAndroid Build Coastguard Worker<p>Initial state lookup</p> 117*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 118*7c568831SAndroid Build Coastguard Worker<col align="left"> 119*7c568831SAndroid Build Coastguard Worker<tbody> 120*7c568831SAndroid Build Coastguard Worker<tr> 121*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 122*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 123*7c568831SAndroid Build Coastguard Worker</tr> 124*7c568831SAndroid Build Coastguard Worker<tr> 125*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 126*7c568831SAndroid Build Coastguard Worker<td>the initial state of the automata</td> 127*7c568831SAndroid Build Coastguard Worker</tr> 128*7c568831SAndroid Build Coastguard Worker</tbody> 129*7c568831SAndroid Build Coastguard Worker</table></div> 130*7c568831SAndroid Build Coastguard Worker</div> 131*7c568831SAndroid Build Coastguard Worker<hr> 132*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 133*7c568831SAndroid Build Coastguard Worker<h3> 134*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataIsDeterminist"></a>xmlAutomataIsDeterminist ()</h3> 135*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlAutomataIsDeterminist (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am)<br> 136*7c568831SAndroid Build Coastguard Worker</pre> 137*7c568831SAndroid Build Coastguard Worker<p>Checks if an automata is determinist.</p> 138*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 139*7c568831SAndroid Build Coastguard Worker<col align="left"> 140*7c568831SAndroid Build Coastguard Worker<tbody> 141*7c568831SAndroid Build Coastguard Worker<tr> 142*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 143*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 144*7c568831SAndroid Build Coastguard Worker</tr> 145*7c568831SAndroid Build Coastguard Worker<tr> 146*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 147*7c568831SAndroid Build Coastguard Worker<td>1 if true, 0 if not, and -1 in case of error</td> 148*7c568831SAndroid Build Coastguard Worker</tr> 149*7c568831SAndroid Build Coastguard Worker</tbody> 150*7c568831SAndroid Build Coastguard Worker</table></div> 151*7c568831SAndroid Build Coastguard Worker</div> 152*7c568831SAndroid Build Coastguard Worker<hr> 153*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 154*7c568831SAndroid Build Coastguard Worker<h3> 155*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewAllTrans"></a>xmlAutomataNewAllTrans ()</h3> 156*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewAllTrans (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> int lax)<br> 157*7c568831SAndroid Build Coastguard Worker</pre> 158*7c568831SAndroid Build Coastguard Worker<p>If @to is NULL, this creates first a new target state in the automata and then adds a an ALL transition from the @from state to the target state. That transition is an epsilon transition allowed only when all transitions from the @from node have been activated.</p> 159*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 160*7c568831SAndroid Build Coastguard Worker<col align="left"> 161*7c568831SAndroid Build Coastguard Worker<tbody> 162*7c568831SAndroid Build Coastguard Worker<tr> 163*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 164*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 165*7c568831SAndroid Build Coastguard Worker</tr> 166*7c568831SAndroid Build Coastguard Worker<tr> 167*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>from</tt></i>:</span></td> 168*7c568831SAndroid Build Coastguard Worker<td>the starting point of the transition</td> 169*7c568831SAndroid Build Coastguard Worker</tr> 170*7c568831SAndroid Build Coastguard Worker<tr> 171*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>to</tt></i>:</span></td> 172*7c568831SAndroid Build Coastguard Worker<td>the target point of the transition or NULL</td> 173*7c568831SAndroid Build Coastguard Worker</tr> 174*7c568831SAndroid Build Coastguard Worker<tr> 175*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>lax</tt></i>:</span></td> 176*7c568831SAndroid Build Coastguard Worker<td>allow to transition if not all all transitions have been activated</td> 177*7c568831SAndroid Build Coastguard Worker</tr> 178*7c568831SAndroid Build Coastguard Worker<tr> 179*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 180*7c568831SAndroid Build Coastguard Worker<td>the target state or NULL in case of error</td> 181*7c568831SAndroid Build Coastguard Worker</tr> 182*7c568831SAndroid Build Coastguard Worker</tbody> 183*7c568831SAndroid Build Coastguard Worker</table></div> 184*7c568831SAndroid Build Coastguard Worker</div> 185*7c568831SAndroid Build Coastguard Worker<hr> 186*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 187*7c568831SAndroid Build Coastguard Worker<h3> 188*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewCountTrans"></a>xmlAutomataNewCountTrans ()</h3> 189*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewCountTrans (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> int min, <br> int max, <br> void * data)<br> 190*7c568831SAndroid Build Coastguard Worker</pre> 191*7c568831SAndroid Build Coastguard Worker<p>If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max</p> 192*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 193*7c568831SAndroid Build Coastguard Worker<col align="left"> 194*7c568831SAndroid Build Coastguard Worker<tbody> 195*7c568831SAndroid Build Coastguard Worker<tr> 196*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 197*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 198*7c568831SAndroid Build Coastguard Worker</tr> 199*7c568831SAndroid Build Coastguard Worker<tr> 200*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>from</tt></i>:</span></td> 201*7c568831SAndroid Build Coastguard Worker<td>the starting point of the transition</td> 202*7c568831SAndroid Build Coastguard Worker</tr> 203*7c568831SAndroid Build Coastguard Worker<tr> 204*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>to</tt></i>:</span></td> 205*7c568831SAndroid Build Coastguard Worker<td>the target point of the transition or NULL</td> 206*7c568831SAndroid Build Coastguard Worker</tr> 207*7c568831SAndroid Build Coastguard Worker<tr> 208*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>token</tt></i>:</span></td> 209*7c568831SAndroid Build Coastguard Worker<td>the input string associated to that transition</td> 210*7c568831SAndroid Build Coastguard Worker</tr> 211*7c568831SAndroid Build Coastguard Worker<tr> 212*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>min</tt></i>:</span></td> 213*7c568831SAndroid Build Coastguard Worker<td>the minimum successive occurrences of token</td> 214*7c568831SAndroid Build Coastguard Worker</tr> 215*7c568831SAndroid Build Coastguard Worker<tr> 216*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>max</tt></i>:</span></td> 217*7c568831SAndroid Build Coastguard Worker<td>the maximum successive occurrences of token</td> 218*7c568831SAndroid Build Coastguard Worker</tr> 219*7c568831SAndroid Build Coastguard Worker<tr> 220*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>data</tt></i>:</span></td> 221*7c568831SAndroid Build Coastguard Worker<td>data associated to the transition</td> 222*7c568831SAndroid Build Coastguard Worker</tr> 223*7c568831SAndroid Build Coastguard Worker<tr> 224*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 225*7c568831SAndroid Build Coastguard Worker<td>the target state or NULL in case of error</td> 226*7c568831SAndroid Build Coastguard Worker</tr> 227*7c568831SAndroid Build Coastguard Worker</tbody> 228*7c568831SAndroid Build Coastguard Worker</table></div> 229*7c568831SAndroid Build Coastguard Worker</div> 230*7c568831SAndroid Build Coastguard Worker<hr> 231*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 232*7c568831SAndroid Build Coastguard Worker<h3> 233*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewCountTrans2"></a>xmlAutomataNewCountTrans2 ()</h3> 234*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewCountTrans2 (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token2, <br> int min, <br> int max, <br> void * data)<br> 235*7c568831SAndroid Build Coastguard Worker</pre> 236*7c568831SAndroid Build Coastguard Worker<p>If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and @token2 and whose number is between @min and @max</p> 237*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 238*7c568831SAndroid Build Coastguard Worker<col align="left"> 239*7c568831SAndroid Build Coastguard Worker<tbody> 240*7c568831SAndroid Build Coastguard Worker<tr> 241*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 242*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 243*7c568831SAndroid Build Coastguard Worker</tr> 244*7c568831SAndroid Build Coastguard Worker<tr> 245*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>from</tt></i>:</span></td> 246*7c568831SAndroid Build Coastguard Worker<td>the starting point of the transition</td> 247*7c568831SAndroid Build Coastguard Worker</tr> 248*7c568831SAndroid Build Coastguard Worker<tr> 249*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>to</tt></i>:</span></td> 250*7c568831SAndroid Build Coastguard Worker<td>the target point of the transition or NULL</td> 251*7c568831SAndroid Build Coastguard Worker</tr> 252*7c568831SAndroid Build Coastguard Worker<tr> 253*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>token</tt></i>:</span></td> 254*7c568831SAndroid Build Coastguard Worker<td>the input string associated to that transition</td> 255*7c568831SAndroid Build Coastguard Worker</tr> 256*7c568831SAndroid Build Coastguard Worker<tr> 257*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>token2</tt></i>:</span></td> 258*7c568831SAndroid Build Coastguard Worker<td>the second input string associated to that transition</td> 259*7c568831SAndroid Build Coastguard Worker</tr> 260*7c568831SAndroid Build Coastguard Worker<tr> 261*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>min</tt></i>:</span></td> 262*7c568831SAndroid Build Coastguard Worker<td>the minimum successive occurrences of token</td> 263*7c568831SAndroid Build Coastguard Worker</tr> 264*7c568831SAndroid Build Coastguard Worker<tr> 265*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>max</tt></i>:</span></td> 266*7c568831SAndroid Build Coastguard Worker<td>the maximum successive occurrences of token</td> 267*7c568831SAndroid Build Coastguard Worker</tr> 268*7c568831SAndroid Build Coastguard Worker<tr> 269*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>data</tt></i>:</span></td> 270*7c568831SAndroid Build Coastguard Worker<td>data associated to the transition</td> 271*7c568831SAndroid Build Coastguard Worker</tr> 272*7c568831SAndroid Build Coastguard Worker<tr> 273*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 274*7c568831SAndroid Build Coastguard Worker<td>the target state or NULL in case of error</td> 275*7c568831SAndroid Build Coastguard Worker</tr> 276*7c568831SAndroid Build Coastguard Worker</tbody> 277*7c568831SAndroid Build Coastguard Worker</table></div> 278*7c568831SAndroid Build Coastguard Worker</div> 279*7c568831SAndroid Build Coastguard Worker<hr> 280*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 281*7c568831SAndroid Build Coastguard Worker<h3> 282*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewCountedTrans"></a>xmlAutomataNewCountedTrans ()</h3> 283*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewCountedTrans (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> int counter)<br> 284*7c568831SAndroid Build Coastguard Worker</pre> 285*7c568831SAndroid Build Coastguard Worker<p>If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will increment the counter provided</p> 286*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 287*7c568831SAndroid Build Coastguard Worker<col align="left"> 288*7c568831SAndroid Build Coastguard Worker<tbody> 289*7c568831SAndroid Build Coastguard Worker<tr> 290*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 291*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 292*7c568831SAndroid Build Coastguard Worker</tr> 293*7c568831SAndroid Build Coastguard Worker<tr> 294*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>from</tt></i>:</span></td> 295*7c568831SAndroid Build Coastguard Worker<td>the starting point of the transition</td> 296*7c568831SAndroid Build Coastguard Worker</tr> 297*7c568831SAndroid Build Coastguard Worker<tr> 298*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>to</tt></i>:</span></td> 299*7c568831SAndroid Build Coastguard Worker<td>the target point of the transition or NULL</td> 300*7c568831SAndroid Build Coastguard Worker</tr> 301*7c568831SAndroid Build Coastguard Worker<tr> 302*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>counter</tt></i>:</span></td> 303*7c568831SAndroid Build Coastguard Worker<td>the counter associated to that transition</td> 304*7c568831SAndroid Build Coastguard Worker</tr> 305*7c568831SAndroid Build Coastguard Worker<tr> 306*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 307*7c568831SAndroid Build Coastguard Worker<td>the target state or NULL in case of error</td> 308*7c568831SAndroid Build Coastguard Worker</tr> 309*7c568831SAndroid Build Coastguard Worker</tbody> 310*7c568831SAndroid Build Coastguard Worker</table></div> 311*7c568831SAndroid Build Coastguard Worker</div> 312*7c568831SAndroid Build Coastguard Worker<hr> 313*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 314*7c568831SAndroid Build Coastguard Worker<h3> 315*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewCounter"></a>xmlAutomataNewCounter ()</h3> 316*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlAutomataNewCounter (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> int min, <br> int max)<br> 317*7c568831SAndroid Build Coastguard Worker</pre> 318*7c568831SAndroid Build Coastguard Worker<p>Create a new counter</p> 319*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 320*7c568831SAndroid Build Coastguard Worker<col align="left"> 321*7c568831SAndroid Build Coastguard Worker<tbody> 322*7c568831SAndroid Build Coastguard Worker<tr> 323*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 324*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 325*7c568831SAndroid Build Coastguard Worker</tr> 326*7c568831SAndroid Build Coastguard Worker<tr> 327*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>min</tt></i>:</span></td> 328*7c568831SAndroid Build Coastguard Worker<td>the minimal value on the counter</td> 329*7c568831SAndroid Build Coastguard Worker</tr> 330*7c568831SAndroid Build Coastguard Worker<tr> 331*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>max</tt></i>:</span></td> 332*7c568831SAndroid Build Coastguard Worker<td>the maximal value on the counter</td> 333*7c568831SAndroid Build Coastguard Worker</tr> 334*7c568831SAndroid Build Coastguard Worker<tr> 335*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 336*7c568831SAndroid Build Coastguard Worker<td>the counter number or -1 in case of error</td> 337*7c568831SAndroid Build Coastguard Worker</tr> 338*7c568831SAndroid Build Coastguard Worker</tbody> 339*7c568831SAndroid Build Coastguard Worker</table></div> 340*7c568831SAndroid Build Coastguard Worker</div> 341*7c568831SAndroid Build Coastguard Worker<hr> 342*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 343*7c568831SAndroid Build Coastguard Worker<h3> 344*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewCounterTrans"></a>xmlAutomataNewCounterTrans ()</h3> 345*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewCounterTrans (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> int counter)<br> 346*7c568831SAndroid Build Coastguard Worker</pre> 347*7c568831SAndroid Build Coastguard Worker<p>If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will be allowed only if the counter is within the right range.</p> 348*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 349*7c568831SAndroid Build Coastguard Worker<col align="left"> 350*7c568831SAndroid Build Coastguard Worker<tbody> 351*7c568831SAndroid Build Coastguard Worker<tr> 352*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 353*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 354*7c568831SAndroid Build Coastguard Worker</tr> 355*7c568831SAndroid Build Coastguard Worker<tr> 356*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>from</tt></i>:</span></td> 357*7c568831SAndroid Build Coastguard Worker<td>the starting point of the transition</td> 358*7c568831SAndroid Build Coastguard Worker</tr> 359*7c568831SAndroid Build Coastguard Worker<tr> 360*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>to</tt></i>:</span></td> 361*7c568831SAndroid Build Coastguard Worker<td>the target point of the transition or NULL</td> 362*7c568831SAndroid Build Coastguard Worker</tr> 363*7c568831SAndroid Build Coastguard Worker<tr> 364*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>counter</tt></i>:</span></td> 365*7c568831SAndroid Build Coastguard Worker<td>the counter associated to that transition</td> 366*7c568831SAndroid Build Coastguard Worker</tr> 367*7c568831SAndroid Build Coastguard Worker<tr> 368*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 369*7c568831SAndroid Build Coastguard Worker<td>the target state or NULL in case of error</td> 370*7c568831SAndroid Build Coastguard Worker</tr> 371*7c568831SAndroid Build Coastguard Worker</tbody> 372*7c568831SAndroid Build Coastguard Worker</table></div> 373*7c568831SAndroid Build Coastguard Worker</div> 374*7c568831SAndroid Build Coastguard Worker<hr> 375*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 376*7c568831SAndroid Build Coastguard Worker<h3> 377*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewEpsilon"></a>xmlAutomataNewEpsilon ()</h3> 378*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewEpsilon (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to)<br> 379*7c568831SAndroid Build Coastguard Worker</pre> 380*7c568831SAndroid Build Coastguard Worker<p>If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state</p> 381*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 382*7c568831SAndroid Build Coastguard Worker<col align="left"> 383*7c568831SAndroid Build Coastguard Worker<tbody> 384*7c568831SAndroid Build Coastguard Worker<tr> 385*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 386*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 387*7c568831SAndroid Build Coastguard Worker</tr> 388*7c568831SAndroid Build Coastguard Worker<tr> 389*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>from</tt></i>:</span></td> 390*7c568831SAndroid Build Coastguard Worker<td>the starting point of the transition</td> 391*7c568831SAndroid Build Coastguard Worker</tr> 392*7c568831SAndroid Build Coastguard Worker<tr> 393*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>to</tt></i>:</span></td> 394*7c568831SAndroid Build Coastguard Worker<td>the target point of the transition or NULL</td> 395*7c568831SAndroid Build Coastguard Worker</tr> 396*7c568831SAndroid Build Coastguard Worker<tr> 397*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 398*7c568831SAndroid Build Coastguard Worker<td>the target state or NULL in case of error</td> 399*7c568831SAndroid Build Coastguard Worker</tr> 400*7c568831SAndroid Build Coastguard Worker</tbody> 401*7c568831SAndroid Build Coastguard Worker</table></div> 402*7c568831SAndroid Build Coastguard Worker</div> 403*7c568831SAndroid Build Coastguard Worker<hr> 404*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 405*7c568831SAndroid Build Coastguard Worker<h3> 406*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewNegTrans"></a>xmlAutomataNewNegTrans ()</h3> 407*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewNegTrans (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token2, <br> void * data)<br> 408*7c568831SAndroid Build Coastguard Worker</pre> 409*7c568831SAndroid Build Coastguard Worker<p>If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by any value except (@token,@token2) Note that if @token2 is not NULL, then (X, NULL) won't match to follow # the semantic of XSD ##other</p> 410*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 411*7c568831SAndroid Build Coastguard Worker<col align="left"> 412*7c568831SAndroid Build Coastguard Worker<tbody> 413*7c568831SAndroid Build Coastguard Worker<tr> 414*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 415*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 416*7c568831SAndroid Build Coastguard Worker</tr> 417*7c568831SAndroid Build Coastguard Worker<tr> 418*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>from</tt></i>:</span></td> 419*7c568831SAndroid Build Coastguard Worker<td>the starting point of the transition</td> 420*7c568831SAndroid Build Coastguard Worker</tr> 421*7c568831SAndroid Build Coastguard Worker<tr> 422*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>to</tt></i>:</span></td> 423*7c568831SAndroid Build Coastguard Worker<td>the target point of the transition or NULL</td> 424*7c568831SAndroid Build Coastguard Worker</tr> 425*7c568831SAndroid Build Coastguard Worker<tr> 426*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>token</tt></i>:</span></td> 427*7c568831SAndroid Build Coastguard Worker<td>the first input string associated to that transition</td> 428*7c568831SAndroid Build Coastguard Worker</tr> 429*7c568831SAndroid Build Coastguard Worker<tr> 430*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>token2</tt></i>:</span></td> 431*7c568831SAndroid Build Coastguard Worker<td>the second input string associated to that transition</td> 432*7c568831SAndroid Build Coastguard Worker</tr> 433*7c568831SAndroid Build Coastguard Worker<tr> 434*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>data</tt></i>:</span></td> 435*7c568831SAndroid Build Coastguard Worker<td>data passed to the callback function if the transition is activated</td> 436*7c568831SAndroid Build Coastguard Worker</tr> 437*7c568831SAndroid Build Coastguard Worker<tr> 438*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 439*7c568831SAndroid Build Coastguard Worker<td>the target state or NULL in case of error</td> 440*7c568831SAndroid Build Coastguard Worker</tr> 441*7c568831SAndroid Build Coastguard Worker</tbody> 442*7c568831SAndroid Build Coastguard Worker</table></div> 443*7c568831SAndroid Build Coastguard Worker</div> 444*7c568831SAndroid Build Coastguard Worker<hr> 445*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 446*7c568831SAndroid Build Coastguard Worker<h3> 447*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewOnceTrans"></a>xmlAutomataNewOnceTrans ()</h3> 448*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewOnceTrans (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> int min, <br> int max, <br> void * data)<br> 449*7c568831SAndroid Build Coastguard Worker</pre> 450*7c568831SAndroid Build Coastguard Worker<p>If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max, moreover that transition can only be crossed once.</p> 451*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 452*7c568831SAndroid Build Coastguard Worker<col align="left"> 453*7c568831SAndroid Build Coastguard Worker<tbody> 454*7c568831SAndroid Build Coastguard Worker<tr> 455*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 456*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 457*7c568831SAndroid Build Coastguard Worker</tr> 458*7c568831SAndroid Build Coastguard Worker<tr> 459*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>from</tt></i>:</span></td> 460*7c568831SAndroid Build Coastguard Worker<td>the starting point of the transition</td> 461*7c568831SAndroid Build Coastguard Worker</tr> 462*7c568831SAndroid Build Coastguard Worker<tr> 463*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>to</tt></i>:</span></td> 464*7c568831SAndroid Build Coastguard Worker<td>the target point of the transition or NULL</td> 465*7c568831SAndroid Build Coastguard Worker</tr> 466*7c568831SAndroid Build Coastguard Worker<tr> 467*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>token</tt></i>:</span></td> 468*7c568831SAndroid Build Coastguard Worker<td>the input string associated to that transition</td> 469*7c568831SAndroid Build Coastguard Worker</tr> 470*7c568831SAndroid Build Coastguard Worker<tr> 471*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>min</tt></i>:</span></td> 472*7c568831SAndroid Build Coastguard Worker<td>the minimum successive occurrences of token</td> 473*7c568831SAndroid Build Coastguard Worker</tr> 474*7c568831SAndroid Build Coastguard Worker<tr> 475*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>max</tt></i>:</span></td> 476*7c568831SAndroid Build Coastguard Worker<td>the maximum successive occurrences of token</td> 477*7c568831SAndroid Build Coastguard Worker</tr> 478*7c568831SAndroid Build Coastguard Worker<tr> 479*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>data</tt></i>:</span></td> 480*7c568831SAndroid Build Coastguard Worker<td>data associated to the transition</td> 481*7c568831SAndroid Build Coastguard Worker</tr> 482*7c568831SAndroid Build Coastguard Worker<tr> 483*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 484*7c568831SAndroid Build Coastguard Worker<td>the target state or NULL in case of error</td> 485*7c568831SAndroid Build Coastguard Worker</tr> 486*7c568831SAndroid Build Coastguard Worker</tbody> 487*7c568831SAndroid Build Coastguard Worker</table></div> 488*7c568831SAndroid Build Coastguard Worker</div> 489*7c568831SAndroid Build Coastguard Worker<hr> 490*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 491*7c568831SAndroid Build Coastguard Worker<h3> 492*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewOnceTrans2"></a>xmlAutomataNewOnceTrans2 ()</h3> 493*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewOnceTrans2 (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token2, <br> int min, <br> int max, <br> void * data)<br> 494*7c568831SAndroid Build Coastguard Worker</pre> 495*7c568831SAndroid Build Coastguard Worker<p>If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and @token2 and whose number is between @min and @max, moreover that transition can only be crossed once.</p> 496*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 497*7c568831SAndroid Build Coastguard Worker<col align="left"> 498*7c568831SAndroid Build Coastguard Worker<tbody> 499*7c568831SAndroid Build Coastguard Worker<tr> 500*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 501*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 502*7c568831SAndroid Build Coastguard Worker</tr> 503*7c568831SAndroid Build Coastguard Worker<tr> 504*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>from</tt></i>:</span></td> 505*7c568831SAndroid Build Coastguard Worker<td>the starting point of the transition</td> 506*7c568831SAndroid Build Coastguard Worker</tr> 507*7c568831SAndroid Build Coastguard Worker<tr> 508*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>to</tt></i>:</span></td> 509*7c568831SAndroid Build Coastguard Worker<td>the target point of the transition or NULL</td> 510*7c568831SAndroid Build Coastguard Worker</tr> 511*7c568831SAndroid Build Coastguard Worker<tr> 512*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>token</tt></i>:</span></td> 513*7c568831SAndroid Build Coastguard Worker<td>the input string associated to that transition</td> 514*7c568831SAndroid Build Coastguard Worker</tr> 515*7c568831SAndroid Build Coastguard Worker<tr> 516*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>token2</tt></i>:</span></td> 517*7c568831SAndroid Build Coastguard Worker<td>the second input string associated to that transition</td> 518*7c568831SAndroid Build Coastguard Worker</tr> 519*7c568831SAndroid Build Coastguard Worker<tr> 520*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>min</tt></i>:</span></td> 521*7c568831SAndroid Build Coastguard Worker<td>the minimum successive occurrences of token</td> 522*7c568831SAndroid Build Coastguard Worker</tr> 523*7c568831SAndroid Build Coastguard Worker<tr> 524*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>max</tt></i>:</span></td> 525*7c568831SAndroid Build Coastguard Worker<td>the maximum successive occurrences of token</td> 526*7c568831SAndroid Build Coastguard Worker</tr> 527*7c568831SAndroid Build Coastguard Worker<tr> 528*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>data</tt></i>:</span></td> 529*7c568831SAndroid Build Coastguard Worker<td>data associated to the transition</td> 530*7c568831SAndroid Build Coastguard Worker</tr> 531*7c568831SAndroid Build Coastguard Worker<tr> 532*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 533*7c568831SAndroid Build Coastguard Worker<td>the target state or NULL in case of error</td> 534*7c568831SAndroid Build Coastguard Worker</tr> 535*7c568831SAndroid Build Coastguard Worker</tbody> 536*7c568831SAndroid Build Coastguard Worker</table></div> 537*7c568831SAndroid Build Coastguard Worker</div> 538*7c568831SAndroid Build Coastguard Worker<hr> 539*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 540*7c568831SAndroid Build Coastguard Worker<h3> 541*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewState"></a>xmlAutomataNewState ()</h3> 542*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewState (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am)<br> 543*7c568831SAndroid Build Coastguard Worker</pre> 544*7c568831SAndroid Build Coastguard Worker<p>Create a new disconnected state in the automata</p> 545*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 546*7c568831SAndroid Build Coastguard Worker<col align="left"> 547*7c568831SAndroid Build Coastguard Worker<tbody> 548*7c568831SAndroid Build Coastguard Worker<tr> 549*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 550*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 551*7c568831SAndroid Build Coastguard Worker</tr> 552*7c568831SAndroid Build Coastguard Worker<tr> 553*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 554*7c568831SAndroid Build Coastguard Worker<td>the new state or NULL in case of error</td> 555*7c568831SAndroid Build Coastguard Worker</tr> 556*7c568831SAndroid Build Coastguard Worker</tbody> 557*7c568831SAndroid Build Coastguard Worker</table></div> 558*7c568831SAndroid Build Coastguard Worker</div> 559*7c568831SAndroid Build Coastguard Worker<hr> 560*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 561*7c568831SAndroid Build Coastguard Worker<h3> 562*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewTransition"></a>xmlAutomataNewTransition ()</h3> 563*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewTransition (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> void * data)<br> 564*7c568831SAndroid Build Coastguard Worker</pre> 565*7c568831SAndroid Build Coastguard Worker<p>If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token</p> 566*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 567*7c568831SAndroid Build Coastguard Worker<col align="left"> 568*7c568831SAndroid Build Coastguard Worker<tbody> 569*7c568831SAndroid Build Coastguard Worker<tr> 570*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 571*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 572*7c568831SAndroid Build Coastguard Worker</tr> 573*7c568831SAndroid Build Coastguard Worker<tr> 574*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>from</tt></i>:</span></td> 575*7c568831SAndroid Build Coastguard Worker<td>the starting point of the transition</td> 576*7c568831SAndroid Build Coastguard Worker</tr> 577*7c568831SAndroid Build Coastguard Worker<tr> 578*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>to</tt></i>:</span></td> 579*7c568831SAndroid Build Coastguard Worker<td>the target point of the transition or NULL</td> 580*7c568831SAndroid Build Coastguard Worker</tr> 581*7c568831SAndroid Build Coastguard Worker<tr> 582*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>token</tt></i>:</span></td> 583*7c568831SAndroid Build Coastguard Worker<td>the input string associated to that transition</td> 584*7c568831SAndroid Build Coastguard Worker</tr> 585*7c568831SAndroid Build Coastguard Worker<tr> 586*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>data</tt></i>:</span></td> 587*7c568831SAndroid Build Coastguard Worker<td>data passed to the callback function if the transition is activated</td> 588*7c568831SAndroid Build Coastguard Worker</tr> 589*7c568831SAndroid Build Coastguard Worker<tr> 590*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 591*7c568831SAndroid Build Coastguard Worker<td>the target state or NULL in case of error</td> 592*7c568831SAndroid Build Coastguard Worker</tr> 593*7c568831SAndroid Build Coastguard Worker</tbody> 594*7c568831SAndroid Build Coastguard Worker</table></div> 595*7c568831SAndroid Build Coastguard Worker</div> 596*7c568831SAndroid Build Coastguard Worker<hr> 597*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 598*7c568831SAndroid Build Coastguard Worker<h3> 599*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataNewTransition2"></a>xmlAutomataNewTransition2 ()</h3> 600*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewTransition2 (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token2, <br> void * data)<br> 601*7c568831SAndroid Build Coastguard Worker</pre> 602*7c568831SAndroid Build Coastguard Worker<p>If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token</p> 603*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 604*7c568831SAndroid Build Coastguard Worker<col align="left"> 605*7c568831SAndroid Build Coastguard Worker<tbody> 606*7c568831SAndroid Build Coastguard Worker<tr> 607*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 608*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 609*7c568831SAndroid Build Coastguard Worker</tr> 610*7c568831SAndroid Build Coastguard Worker<tr> 611*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>from</tt></i>:</span></td> 612*7c568831SAndroid Build Coastguard Worker<td>the starting point of the transition</td> 613*7c568831SAndroid Build Coastguard Worker</tr> 614*7c568831SAndroid Build Coastguard Worker<tr> 615*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>to</tt></i>:</span></td> 616*7c568831SAndroid Build Coastguard Worker<td>the target point of the transition or NULL</td> 617*7c568831SAndroid Build Coastguard Worker</tr> 618*7c568831SAndroid Build Coastguard Worker<tr> 619*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>token</tt></i>:</span></td> 620*7c568831SAndroid Build Coastguard Worker<td>the first input string associated to that transition</td> 621*7c568831SAndroid Build Coastguard Worker</tr> 622*7c568831SAndroid Build Coastguard Worker<tr> 623*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>token2</tt></i>:</span></td> 624*7c568831SAndroid Build Coastguard Worker<td>the second input string associated to that transition</td> 625*7c568831SAndroid Build Coastguard Worker</tr> 626*7c568831SAndroid Build Coastguard Worker<tr> 627*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>data</tt></i>:</span></td> 628*7c568831SAndroid Build Coastguard Worker<td>data passed to the callback function if the transition is activated</td> 629*7c568831SAndroid Build Coastguard Worker</tr> 630*7c568831SAndroid Build Coastguard Worker<tr> 631*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 632*7c568831SAndroid Build Coastguard Worker<td>the target state or NULL in case of error</td> 633*7c568831SAndroid Build Coastguard Worker</tr> 634*7c568831SAndroid Build Coastguard Worker</tbody> 635*7c568831SAndroid Build Coastguard Worker</table></div> 636*7c568831SAndroid Build Coastguard Worker</div> 637*7c568831SAndroid Build Coastguard Worker<hr> 638*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 639*7c568831SAndroid Build Coastguard Worker<h3> 640*7c568831SAndroid Build Coastguard Worker<a name="xmlAutomataSetFinalState"></a>xmlAutomataSetFinalState ()</h3> 641*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlAutomataSetFinalState (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am, <br> <a href="libxml2-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> state)<br> 642*7c568831SAndroid Build Coastguard Worker</pre> 643*7c568831SAndroid Build Coastguard Worker<p>Makes that state a final state</p> 644*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 645*7c568831SAndroid Build Coastguard Worker<col align="left"> 646*7c568831SAndroid Build Coastguard Worker<tbody> 647*7c568831SAndroid Build Coastguard Worker<tr> 648*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 649*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 650*7c568831SAndroid Build Coastguard Worker</tr> 651*7c568831SAndroid Build Coastguard Worker<tr> 652*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>state</tt></i>:</span></td> 653*7c568831SAndroid Build Coastguard Worker<td>a state in this automata</td> 654*7c568831SAndroid Build Coastguard Worker</tr> 655*7c568831SAndroid Build Coastguard Worker<tr> 656*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 657*7c568831SAndroid Build Coastguard Worker<td>0 or -1 in case of error</td> 658*7c568831SAndroid Build Coastguard Worker</tr> 659*7c568831SAndroid Build Coastguard Worker</tbody> 660*7c568831SAndroid Build Coastguard Worker</table></div> 661*7c568831SAndroid Build Coastguard Worker</div> 662*7c568831SAndroid Build Coastguard Worker<hr> 663*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 664*7c568831SAndroid Build Coastguard Worker<h3> 665*7c568831SAndroid Build Coastguard Worker<a name="xmlFreeAutomata"></a>xmlFreeAutomata ()</h3> 666*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlFreeAutomata (<a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am)<br> 667*7c568831SAndroid Build Coastguard Worker</pre> 668*7c568831SAndroid Build Coastguard Worker<p>Free an automata</p> 669*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 670*7c568831SAndroid Build Coastguard Worker<col align="left"> 671*7c568831SAndroid Build Coastguard Worker<tbody><tr> 672*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>am</tt></i>:</span></td> 673*7c568831SAndroid Build Coastguard Worker<td>an automata</td> 674*7c568831SAndroid Build Coastguard Worker</tr></tbody> 675*7c568831SAndroid Build Coastguard Worker</table></div> 676*7c568831SAndroid Build Coastguard Worker</div> 677*7c568831SAndroid Build Coastguard Worker<hr> 678*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 679*7c568831SAndroid Build Coastguard Worker<h3> 680*7c568831SAndroid Build Coastguard Worker<a name="xmlNewAutomata"></a>xmlNewAutomata ()</h3> 681*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> xmlNewAutomata (void)<br> 682*7c568831SAndroid Build Coastguard Worker</pre> 683*7c568831SAndroid Build Coastguard Worker<p>Create a new automata</p> 684*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 685*7c568831SAndroid Build Coastguard Worker<col align="left"> 686*7c568831SAndroid Build Coastguard Worker<tbody><tr> 687*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 688*7c568831SAndroid Build Coastguard Worker<td>the new object or NULL in case of failure</td> 689*7c568831SAndroid Build Coastguard Worker</tr></tbody> 690*7c568831SAndroid Build Coastguard Worker</table></div> 691*7c568831SAndroid Build Coastguard Worker</div> 692*7c568831SAndroid Build Coastguard Worker<hr> 693*7c568831SAndroid Build Coastguard Worker</div> 694*7c568831SAndroid Build Coastguard Worker</div> 695*7c568831SAndroid Build Coastguard Worker</body> 696*7c568831SAndroid Build Coastguard Worker</html> 697