XQuilla/docs/xqc-api/xqc_8h_source.html
2020-02-17 22:21:23 +01:00

342 lines
75 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla XQC API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul>
</div>
<h1>xqc.h</h1><a href="xqc_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright (c) 2008, Matthias Brantner, John Snelson</span>
<a name="l00003"></a>00003 <span class="comment"> * All rights reserved.</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * Redistribution and use in source and binary forms, with or without</span>
<a name="l00006"></a>00006 <span class="comment"> * modification, are permitted provided that the following conditions are met:</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> * * Redistributions of source code must retain the above copyright notice,</span>
<a name="l00009"></a>00009 <span class="comment"> * this list of conditions and the following disclaimer.</span>
<a name="l00010"></a>00010 <span class="comment"> * * Redistributions in binary form must reproduce the above copyright</span>
<a name="l00011"></a>00011 <span class="comment"> * notice, this list of conditions and the following disclaimer in the</span>
<a name="l00012"></a>00012 <span class="comment"> * documentation and/or other materials provided with the distribution.</span>
<a name="l00013"></a>00013 <span class="comment"> * * Neither the name of the developers nor the names of contributors may be</span>
<a name="l00014"></a>00014 <span class="comment"> * used to endorse or promote products derived from this software without</span>
<a name="l00015"></a>00015 <span class="comment"> * specific prior written permission.</span>
<a name="l00016"></a>00016 <span class="comment"> *</span>
<a name="l00017"></a>00017 <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot;</span>
<a name="l00018"></a>00018 <span class="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span>
<a name="l00019"></a>00019 <span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span>
<a name="l00020"></a>00020 <span class="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span>
<a name="l00021"></a>00021 <span class="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span>
<a name="l00022"></a>00022 <span class="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span>
<a name="l00023"></a>00023 <span class="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span>
<a name="l00024"></a>00024 <span class="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span>
<a name="l00025"></a>00025 <span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span>
<a name="l00026"></a>00026 <span class="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span>
<a name="l00027"></a>00027 <span class="comment"> * POSSIBILITY OF SUCH DAMAGE.</span>
<a name="l00028"></a>00028 <span class="comment"> */</span>
<a name="l00029"></a>00029
<a name="l00030"></a>00030 <span class="preprocessor">#ifndef _XQUERY_C_API_H</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define _XQUERY_C_API_H</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033 <span class="comment">/* Include stdio for FILE */</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00035"></a>00035
<a name="l00036"></a>00036 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00038"></a>00038 <span class="preprocessor">#endif</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>
<a name="l00041"></a><a class="code" href="xqc_8h.html#a8fbc00dfcf0a3527e0ccba36322e1c84">00041</a> <span class="preprocessor">#define XQC_VERSION_NUMBER 1</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>
<a name="l00043"></a><a class="code" href="xqc_8h.html#a3d46d69abb6d7b408bb8cd8c02ce66fb">00043</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation_s</a> <a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a>;
<a name="l00044"></a><a class="code" href="xqc_8h.html#a27c84fd3b0421627f6bec2e19e1bf966">00044</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext_s</a> <a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a>;
<a name="l00045"></a><a class="code" href="xqc_8h.html#a707b112e9370ee771b38ea01574df8ff">00045</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structXQC__Expression__s.html" title="The XQC_Expression struct represents a prepared query, and allows the user to execute...">XQC_Expression_s</a> <a class="code" href="structXQC__Expression__s.html" title="The XQC_Expression struct represents a prepared query, and allows the user to execute...">XQC_Expression</a>;
<a name="l00046"></a><a class="code" href="xqc_8h.html#acf4c0769616363086377cb527484d33e">00046</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext_s</a> <a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a>;
<a name="l00047"></a><a class="code" href="xqc_8h.html#a611c8970264183d7d0f42a8551239463">00047</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structXQC__Sequence__s.html">XQC_Sequence_s</a> <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a>;
<a name="l00048"></a><a class="code" href="xqc_8h.html#aa2362b43cca7bd9527ed4477a5481528">00048</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structXQC__InputStream__s.html" title="The XQC_InputStream struct is designed to be populated by users for the purpose of...">XQC_InputStream_s</a> <a class="code" href="structXQC__InputStream__s.html" title="The XQC_InputStream struct is designed to be populated by users for the purpose of...">XQC_InputStream</a>;
<a name="l00049"></a><a class="code" href="xqc_8h.html#ac30b575982cfb24206404168dbd0bff0">00049</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structXQC__ErrorHandler__s.html" title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose...">XQC_ErrorHandler_s</a> <a class="code" href="structXQC__ErrorHandler__s.html" title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose...">XQC_ErrorHandler</a>;
<a name="l00050"></a>00050
<a name="l00055"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f">00055</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00056"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375">00056</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa975a11c6557d4d849e48f4034380a375" title="No error.">XQC_NO_ERROR</a> = 0,
<a name="l00057"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fadfd1d8eea45c90655b98cfd728bfee2e">00057</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fadfd1d8eea45c90655b98cfd728bfee2e" title="The end of the XQC_Sequence has been reached.">XQC_END_OF_SEQUENCE</a>,
<a name="l00058"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa8e49ef7f25ae9121a0b59bc4cd050f5b">00058</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa8e49ef7f25ae9121a0b59bc4cd050f5b">XQC_NO_CURRENT_ITEM</a>,
<a name="l00059"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa3b1aa671eec8f7f5b59ab563fe849fd4">00059</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa3b1aa671eec8f7f5b59ab563fe849fd4">XQC_PARSE_ERROR</a>,
<a name="l00060"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa82c9407e441fcd536e73fb774e37af4b">00060</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa82c9407e441fcd536e73fb774e37af4b">XQC_INVALID_ARGUMENT</a>,
<a name="l00061"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa42003308041f1f0db1d2028af432de95">00061</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa42003308041f1f0db1d2028af432de95">XQC_NOT_NODE</a>,
<a name="l00062"></a>00062
<a name="l00063"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768">00063</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768" title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a>,
<a name="l00064"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa7d62aa302c9a96c9caa4382ae0c42c78">00064</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa7d62aa302c9a96c9caa4382ae0c42c78" title="The implementation does not implement that function.">XQC_NOT_IMPLEMENTED</a>,
<a name="l00065"></a>00065
<a name="l00069"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa1f3145b072152462b856efc743b1211d">00069</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa1f3145b072152462b856efc743b1211d" title="The encoding of the query has not been recognized, or is not supported by the implementation...">XQC_UNRECOGNIZED_ENCODING</a>,
<a name="l00070"></a>00070
<a name="l00071"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa3c5972d58b0a8f9c38a000e6cf4d91a2">00071</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa3c5972d58b0a8f9c38a000e6cf4d91a2" title="A static error has occured while preparing the query.">XQC_STATIC_ERROR</a>,
<a name="l00072"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3faeb68302bd3ceab3cb9d9473afd06248a">00072</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3faeb68302bd3ceab3cb9d9473afd06248a" title="A type error has occured while preparing or executing the query.">XQC_TYPE_ERROR</a>,
<a name="l00073"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa1ece0ad69a59c3f0ce59b841ded10f9d">00073</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa1ece0ad69a59c3f0ce59b841ded10f9d" title="A dynamic error has occured while preparing or executing the query.">XQC_DYNAMIC_ERROR</a>,
<a name="l00074"></a><a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fadc55e42328966f02eededcbbe6676ff0">00074</a> <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fadc55e42328966f02eededcbbe6676ff0" title="A serialization error has occured while serializing the output of a query.">XQC_SERIALIZATION_ERROR</a>
<a name="l00075"></a>00075 } <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>;
<a name="l00076"></a>00076
<a name="l00081"></a><a class="code" href="structXQC__InputStream__s.html">00081</a> <span class="keyword">struct </span><a class="code" href="structXQC__InputStream__s.html" title="The XQC_InputStream struct is designed to be populated by users for the purpose of...">XQC_InputStream_s</a> {
<a name="l00088"></a><a class="code" href="structXQC__InputStream__s.html#aa4d231151fe0fe6ddc189d84f8f1197b">00088</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structXQC__InputStream__s.html#aa4d231151fe0fe6ddc189d84f8f1197b" title="The text encoding of the input data as a UTF-8 string, or 0 if unknown.">encoding</a>;
<a name="l00089"></a>00089
<a name="l00093"></a><a class="code" href="structXQC__InputStream__s.html#a72b22742c94ee0efe5b5de0e63b7ae89">00093</a> <span class="keywordtype">void</span> *<a class="code" href="structXQC__InputStream__s.html#a72b22742c94ee0efe5b5de0e63b7ae89" title="Can be used for user specific purposes.">user_data</a>;
<a name="l00094"></a>00094
<a name="l00108"></a>00108 <span class="keywordtype">unsigned</span> int (*<a class="code" href="structXQC__InputStream__s.html#a9dd7b49bdfaf09c4070c43aa5a0e0c66" title="The function called to read more of the input query.">read</a>)(<a class="code" href="structXQC__InputStream__s.html" title="The XQC_InputStream struct is designed to be populated by users for the purpose of...">XQC_InputStream</a> *stream, <span class="keywordtype">void</span> *buffer, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> length);
<a name="l00109"></a>00109
<a name="l00116"></a>00116 void (*<a class="code" href="structXQC__InputStream__s.html#a48aaf721537dfba8945afb24511030ac" title="Called to free the resources associated with the XQC_InputStream.">free</a>)(<a class="code" href="structXQC__InputStream__s.html" title="The XQC_InputStream struct is designed to be populated by users for the purpose of...">XQC_InputStream</a> *stream);
<a name="l00117"></a>00117 };
<a name="l00118"></a>00118
<a name="l00131"></a><a class="code" href="structXQC__ErrorHandler__s.html">00131</a> <span class="keyword">struct </span><a class="code" href="structXQC__ErrorHandler__s.html" title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose...">XQC_ErrorHandler_s</a> {
<a name="l00132"></a>00132
<a name="l00136"></a><a class="code" href="structXQC__ErrorHandler__s.html#a576532f27add49c11ee2d34f045458cf">00136</a> <span class="keywordtype">void</span> *<a class="code" href="structXQC__ErrorHandler__s.html#a576532f27add49c11ee2d34f045458cf" title="Can be used for user specific purposes.">user_data</a>;
<a name="l00137"></a>00137
<a name="l00156"></a>00156 void (*<a class="code" href="structXQC__ErrorHandler__s.html#afc5eb3e21afa1c8d88fa56ae55de5ce0" title="The function called when an error occurs.">error</a>)(<a class="code" href="structXQC__ErrorHandler__s.html" title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose...">XQC_ErrorHandler</a> *handler, <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> <a class="code" href="structXQC__ErrorHandler__s.html#afc5eb3e21afa1c8d88fa56ae55de5ce0" title="The function called when an error occurs.">error</a>, <span class="keyword">const</span> <span class="keywordtype">char</span> *error_uri,
<a name="l00157"></a>00157 <span class="keyword">const</span> <span class="keywordtype">char</span> *error_localname, <span class="keyword">const</span> <span class="keywordtype">char</span> *description, <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *error_object);
<a name="l00158"></a>00158 };
<a name="l00159"></a>00159
<a name="l00160"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cde">00160</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00161"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeaa0aeb96b9fe81ce7d8939699a0edd143">00161</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeaa0aeb96b9fe81ce7d8939699a0edd143">XQC_EMPTY_TYPE</a> = 0,
<a name="l00162"></a>00162
<a name="l00163"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeabe0b21a9fa8baa66c106ed20b9486ecb">00163</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeabe0b21a9fa8baa66c106ed20b9486ecb">XQC_DOCUMENT_TYPE</a>,
<a name="l00164"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea2506db9aef5da452082790026f401c43">00164</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea2506db9aef5da452082790026f401c43">XQC_ELEMENT_TYPE</a>,
<a name="l00165"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea86fd4aa33caccd797b097a735f373fdc">00165</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea86fd4aa33caccd797b097a735f373fdc">XQC_ATTRIBUTE_TYPE</a>,
<a name="l00166"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea41a388bfe67bd4ccb164f2a5fc704b0f">00166</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea41a388bfe67bd4ccb164f2a5fc704b0f">XQC_TEXT_TYPE</a>,
<a name="l00167"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea1b417b2a8e27acfcb1340e2764483457">00167</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea1b417b2a8e27acfcb1340e2764483457">XQC_PROCESSING_INSTRUCTION_TYPE</a>,
<a name="l00168"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeadd57c4b3cee0761ac5ecc8fa540b2414">00168</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeadd57c4b3cee0761ac5ecc8fa540b2414">XQC_COMMENT_TYPE</a>,
<a name="l00169"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeaf000271f6a9e3f61ada18faa39379c47">00169</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeaf000271f6a9e3f61ada18faa39379c47">XQC_NAMESPACE_TYPE</a>,
<a name="l00170"></a>00170
<a name="l00171"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdead509473f6b67d0d0ec2dbd9ab5047c83">00171</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdead509473f6b67d0d0ec2dbd9ab5047c83">XQC_ANY_SIMPLE_TYPE</a>,
<a name="l00172"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeaf9dedda38e72e9428917d262111efa9b">00172</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeaf9dedda38e72e9428917d262111efa9b">XQC_ANY_URI_TYPE</a>,
<a name="l00173"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea1fec1d76b5159c57299bd65e1644cac9">00173</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea1fec1d76b5159c57299bd65e1644cac9">XQC_BASE_64_BINARY_TYPE</a>,
<a name="l00174"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea4d67d177e22559dcb198cbddd5dba503">00174</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea4d67d177e22559dcb198cbddd5dba503">XQC_BOOLEAN_TYPE</a>,
<a name="l00175"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea315c2fd639afcb41e91ebece105110ea">00175</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea315c2fd639afcb41e91ebece105110ea">XQC_DATE_TYPE</a>,
<a name="l00176"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea949805c447df40639cf4c161fb978907">00176</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea949805c447df40639cf4c161fb978907">XQC_DATE_TIME_TYPE</a>,
<a name="l00177"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea544338610600c014c6dbb440fb89fc8c">00177</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea544338610600c014c6dbb440fb89fc8c">XQC_DAY_TIME_DURATION_TYPE</a>,
<a name="l00178"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeadcc5555e01296aa91d597a1778863401">00178</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeadcc5555e01296aa91d597a1778863401">XQC_DECIMAL_TYPE</a>,
<a name="l00179"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea3bcb864b30e57817b5472c85406a257b">00179</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea3bcb864b30e57817b5472c85406a257b">XQC_DOUBLE_TYPE</a>,
<a name="l00180"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea6643df29b6710c10f7489c6f7fe38e63">00180</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea6643df29b6710c10f7489c6f7fe38e63">XQC_DURATION_TYPE</a>,
<a name="l00181"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeacca6b683c5359bae67a26df8a1a915fd">00181</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeacca6b683c5359bae67a26df8a1a915fd">XQC_FLOAT_TYPE</a>,
<a name="l00182"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeaa67a7162af129ce6a89b6d1e3947ad49">00182</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeaa67a7162af129ce6a89b6d1e3947ad49">XQC_G_DAY_TYPE</a>,
<a name="l00183"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea81cb1f4ec8853f6686725f52bbd41643">00183</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea81cb1f4ec8853f6686725f52bbd41643">XQC_G_MONTH_TYPE</a>,
<a name="l00184"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea68f4dffbfa9ade62d3dfadc000ed676b">00184</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea68f4dffbfa9ade62d3dfadc000ed676b">XQC_G_MONTH_DAY_TYPE</a>,
<a name="l00185"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea75a10a441cbda124bf6a67660b916a2f">00185</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea75a10a441cbda124bf6a67660b916a2f">XQC_G_YEAR_TYPE</a>,
<a name="l00186"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea06fefc5e6ad795a997270d5085f2704b">00186</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea06fefc5e6ad795a997270d5085f2704b">XQC_G_YEAR_MONTH_TYPE</a>,
<a name="l00187"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeae7779cb83b36631d01445799a8272b57">00187</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeae7779cb83b36631d01445799a8272b57">XQC_HEX_BINARY_TYPE</a>,
<a name="l00188"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea519fa85f352259b30e4a9e6a222bfd82">00188</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea519fa85f352259b30e4a9e6a222bfd82">XQC_NOTATION_TYPE</a>,
<a name="l00189"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea40a3735258be6e5bec9e829e878cb408">00189</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea40a3735258be6e5bec9e829e878cb408">XQC_QNAME_TYPE</a>,
<a name="l00190"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea634d150e77e0da524f17f74d4b916a01">00190</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea634d150e77e0da524f17f74d4b916a01">XQC_STRING_TYPE</a>,
<a name="l00191"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeae46416aa2bba8f28383a20c15302dece">00191</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeae46416aa2bba8f28383a20c15302dece">XQC_TIME_TYPE</a>,
<a name="l00192"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea3d69c417da63497a2b394e95c979dc7f">00192</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdea3d69c417da63497a2b394e95c979dc7f">XQC_UNTYPED_ATOMIC_TYPE</a>,
<a name="l00193"></a><a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeaa22d8c858ab6d354eaf59a7beee05b7b">00193</a> <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cdeaa22d8c858ab6d354eaf59a7beee05b7b">XQC_YEAR_MONTH_DURATION_TYPE</a>
<a name="l00194"></a>00194
<a name="l00195"></a>00195 } <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cde">XQC_ItemType</a>;
<a name="l00196"></a>00196
<a name="l00207"></a><a class="code" href="structXQC__Implementation__s.html">00207</a> <span class="keyword">struct </span><a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation_s</a> {
<a name="l00208"></a>00208
<a name="l00225"></a>00225 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#ad1708e34ad5052e3441c07fc2578c32a" title="Creates a static context suitable for use in the prepare(), prepare_file() and prepare_stream()...">create_context</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation, <a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> **context);
<a name="l00226"></a>00226
<a name="l00244"></a>00244 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#a4f82aa0b0e5c675f95f6c78b3bf76216" title="Prepares a query from a UTF-8 string, returning an XQC_Expression object.">prepare</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation, <span class="keyword">const</span> <span class="keywordtype">char</span> *string,
<a name="l00245"></a>00245 <span class="keyword">const</span> <a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="structXQC__Expression__s.html" title="The XQC_Expression struct represents a prepared query, and allows the user to execute...">XQC_Expression</a> **expression);
<a name="l00246"></a>00246
<a name="l00266"></a>00266 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#a1ad25fbbed1449a0923e3ea274c81336" title="Prepares a query from a FILE pointer, returning an XQC_Expression object.">prepare_file</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation, FILE *file,
<a name="l00267"></a>00267 <span class="keyword">const</span> <a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="structXQC__Expression__s.html" title="The XQC_Expression struct represents a prepared query, and allows the user to execute...">XQC_Expression</a> **expression);
<a name="l00268"></a>00268
<a name="l00290"></a>00290 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#a5f43c181bbab51770a3c1c8943060745" title="Prepares a query from an XQC_InputStream, returning an XQC_Expression object.">prepare_stream</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation, <a class="code" href="structXQC__InputStream__s.html" title="The XQC_InputStream struct is designed to be populated by users for the purpose of...">XQC_InputStream</a> *stream,
<a name="l00291"></a>00291 <span class="keyword">const</span> <a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="structXQC__Expression__s.html" title="The XQC_Expression struct represents a prepared query, and allows the user to execute...">XQC_Expression</a> **expression);
<a name="l00292"></a>00292
<a name="l00294"></a>00294
<a name="l00300"></a>00300
<a name="l00301"></a>00301 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#a1e3a2cd7fdb4becb469d179bcb4c2396" title="XQC_PARSE_ERROR.">parse_document</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<a name="l00302"></a>00302 <span class="keyword">const</span> <span class="keywordtype">char</span> *string, <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> **sequence);
<a name="l00304"></a>00304 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#a623ddc0e08664025d2c7c08c295f2990" title="XQC_PARSE_ERROR.">parse_document_file</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<a name="l00305"></a>00305 FILE *file, <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> **sequence);
<a name="l00307"></a>00307 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#a1042b268a8755993e5835ac35e894fb7" title="XQC_PARSE_ERROR.">parse_document_stream</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<a name="l00308"></a>00308 <a class="code" href="structXQC__InputStream__s.html" title="The XQC_InputStream struct is designed to be populated by users for the purpose of...">XQC_InputStream</a> *stream, <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> **sequence);
<a name="l00309"></a>00309
<a name="l00311"></a>00311
<a name="l00317"></a>00317 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#acba4d14d7bc69f0884bac3fa2c4da483">create_empty_sequence</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<a name="l00318"></a>00318 <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> **sequence);
<a name="l00319"></a>00319 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#a5035ea14fac9fb23b591d47a0da4271e">create_singleton_sequence</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<a name="l00320"></a>00320 <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cde">XQC_ItemType</a> type, <span class="keyword">const</span> <span class="keywordtype">char</span> *value,
<a name="l00321"></a>00321 <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> **sequence);
<a name="l00322"></a>00322 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#ad618a79159ea541278dde9367ca2072a">create_string_sequence</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<a name="l00323"></a>00323 <span class="keyword">const</span> <span class="keywordtype">char</span> *values[], <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count,
<a name="l00324"></a>00324 <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> **sequence);
<a name="l00325"></a>00325 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#a71f0ea0a00d946c1931cb967423459ca">create_integer_sequence</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<a name="l00326"></a>00326 <span class="keywordtype">int</span> values[], <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count,
<a name="l00327"></a>00327 <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> **sequence);
<a name="l00328"></a>00328 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Implementation__s.html#a6ec69328f68a983cbf84f7378fdad961">create_double_sequence</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<a name="l00329"></a>00329 <span class="keywordtype">double</span> values[], <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count,
<a name="l00330"></a>00330 <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> **sequence);
<a name="l00331"></a>00331
<a name="l00333"></a>00333
<a name="l00343"></a>00343 <span class="keywordtype">void</span> *(*get_interface)(<span class="keyword">const</span> <a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00344"></a>00344
<a name="l00351"></a>00351 void (*<a class="code" href="structXQC__Implementation__s.html#afb636b6cbd236831652a518d9e71418d" title="Called to free the resources associated with the XQC_Implementation.">free</a>)(<a class="code" href="structXQC__Implementation__s.html" title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation);
<a name="l00352"></a>00352 };
<a name="l00353"></a>00353
<a name="l00359"></a><a class="code" href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6abf1ffa95ffbef6246f81cd1a5fd0f79a">00359</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { <a class="code" href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6abf1ffa95ffbef6246f81cd1a5fd0f79a">XQC_XPATH2_0</a>, <a class="code" href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6aa2dd4547fe11a80fe3e5ba1427fcafc0">XQC_XPATH1_0</a> } <a class="code" href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6" title="XPath 1.0 compatibility mode as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_XPath1Mode</a>;
<a name="l00360"></a>00360
<a name="l00364"></a><a class="code" href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642a9f7c768797c805e466987a96bfd9b92a">00364</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { <a class="code" href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642ad3a98d038a7b17a2babb827adabbedd5">XQC_ORDERED</a>, <a class="code" href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642a9f7c768797c805e466987a96bfd9b92a">XQC_UNORDERED</a> } <a class="code" href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642" title="Ordering mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_OrderingMode</a>;
<a name="l00365"></a>00365
<a name="l00370"></a><a class="code" href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1">00370</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { <a class="code" href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1ac14f6e7d8729ba268240a3ef58683e7d">XQC_EMPTY_GREATEST</a>, <a class="code" href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1adf187067cf2145ecd16458844d3b0be1">XQC_EMPTY_LEAST</a> } <a class="code" href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1" title="Default order for empty sequences as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_OrderEmptyMode</a>;
<a name="l00371"></a>00371
<a name="l00376"></a><a class="code" href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0a115a2b256d16303b42ca01bf33d12884">00376</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { <a class="code" href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0ad0246c972a48e28ef557c7c4e94a215c">XQC_INHERIT_NS</a>, <a class="code" href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0a115a2b256d16303b42ca01bf33d12884">XQC_NO_INHERIT_NS</a> } <a class="code" href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0" title="Inherit part of the Copy-namespace mode as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_InheritMode</a>;
<a name="l00377"></a>00377
<a name="l00382"></a><a class="code" href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009f">00382</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { <a class="code" href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009fa04e9efb66aa557ed89e45b51d85c73e8">XQC_PRESERVE_NS</a>, <a class="code" href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009fa8053fd52980316de1d89eb84e62b0dbc">XQC_NO_PRESERVE_NS</a> } <a class="code" href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009f" title="Preserve part of the Copy-namespace mode as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_PreserveMode</a>;
<a name="l00383"></a>00383
<a name="l00387"></a><a class="code" href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40ba315f5cab25aca6be97305f63892c0239">00387</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { <a class="code" href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40baee0c14030094a8248ba14696a428b717">XQC_PRESERVE_SPACE</a>, <a class="code" href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40ba315f5cab25aca6be97305f63892c0239">XQC_STRIP_SPACE</a> } <a class="code" href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40b" title="Boundary-space policy as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_BoundarySpaceMode</a>;
<a name="l00388"></a>00388
<a name="l00392"></a><a class="code" href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52a8532de4fc7c53aed1d894047185b48c0">00392</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { <a class="code" href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52a66bb82399837e95c217a8c7b6afa0619">XQC_PRESERVE_CONS</a>, <a class="code" href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52a8532de4fc7c53aed1d894047185b48c0">XQC_STRIP_CONS</a> } <a class="code" href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52" title="Construction mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_ConstructionMode</a>;
<a name="l00393"></a>00393
<a name="l00404"></a><a class="code" href="structXQC__StaticContext__s.html">00404</a> <span class="keyword">struct </span><a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext_s</a> {
<a name="l00405"></a>00405
<a name="l00420"></a>00420 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00421"></a>00421 (*<a class="code" href="structXQC__StaticContext__s.html#a785db756c2de3e89d760af92ad43afb6" title="Creates a child context of the given static context.">create_child_context</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> **child_context);
<a name="l00422"></a>00422
<a name="l00434"></a>00434 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00435"></a>00435 (*<a class="code" href="structXQC__StaticContext__s.html#aa4e8b52a4b99929b5136e54b1675fa6d" title="Adds a (prefix, uri) pair to the set of statically known namespaces of the given...">declare_ns</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> *prefix, <span class="keyword">const</span> <span class="keywordtype">char</span> *uri);
<a name="l00436"></a>00436
<a name="l00448"></a>00448 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00449"></a>00449 (*<a class="code" href="structXQC__StaticContext__s.html#a197e8973fde8e9d272edab94edbc61fa" title="Returns the namespace uri that belongs to the given prefix.">get_ns_by_prefix</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> *prefix, <span class="keyword">const</span> <span class="keywordtype">char</span> **result_ns);
<a name="l00450"></a>00450
<a name="l00460"></a>00460 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00461"></a>00461 (*<a class="code" href="structXQC__StaticContext__s.html#aef512c6e2097bec0c7d9a424e0008d77" title="Sets the value of the default namespace for elements and types.">set_default_element_and_type_ns</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> *uri);
<a name="l00462"></a>00462
<a name="l00471"></a>00471 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00472"></a>00472 (*<a class="code" href="structXQC__StaticContext__s.html#ae570f4665fd72754a67c80155a87ccc7">get_default_element_and_type_ns</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> **uri);
<a name="l00473"></a>00473
<a name="l00483"></a>00483 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00484"></a>00484 (*<a class="code" href="structXQC__StaticContext__s.html#a8a098be9ed3d79bcecb6be9e2a15f2f3" title="Sets the default namespace for functions.">set_default_function_ns</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> *uri);
<a name="l00485"></a>00485
<a name="l00495"></a>00495 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00496"></a>00496 (*<a class="code" href="structXQC__StaticContext__s.html#a737a5500f0211e7d8fd9c208b33cffff" title="Returnsthe default namespace for functions set in this static context.">get_default_function_ns</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> **uri);
<a name="l00497"></a>00497
<a name="l00507"></a>00507 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00508"></a>00508 (*<a class="code" href="structXQC__StaticContext__s.html#a8006fb39a40dc3ae76e7c76725d54370" title="Sets the XPath 1.0 compatibility mode to either XQC_XPATH1_0 or XQC_XPATH2_0.">set_xpath_compatib_mode</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6" title="XPath 1.0 compatibility mode as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_XPath1Mode</a> mode);
<a name="l00509"></a>00509
<a name="l00519"></a>00519 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00520"></a>00520 (*<a class="code" href="structXQC__StaticContext__s.html#a75ffd05f4ce6a3e4c4b9f1dfc26dc82a" title="Returns the XPath 1.0 compatibility that is set in the given static context.">get_xpath_compatib_mode</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6" title="XPath 1.0 compatibility mode as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_XPath1Mode</a>* mode);
<a name="l00521"></a>00521
<a name="l00531"></a>00531 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00532"></a>00532 (*<a class="code" href="structXQC__StaticContext__s.html#a50e12d46898d711ace78cfa393079231" title="Sets the construction mode to either XQC_PRESERVE_CONS or XQC_StaticContext.">set_construction_mode</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52" title="Construction mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_ConstructionMode</a> mode);
<a name="l00533"></a>00533
<a name="l00543"></a>00543 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00544"></a>00544 (*<a class="code" href="structXQC__StaticContext__s.html#a2887fe53d46a362f54df096be6c8bd5d" title="Returns the construction mode that is set in the given static context.">get_construction_mode</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52" title="Construction mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_ConstructionMode</a>* mode);
<a name="l00545"></a>00545
<a name="l00555"></a>00555 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00556"></a>00556 (*<a class="code" href="structXQC__StaticContext__s.html#aa5b73efc1810ad280aea351c0c052fd4" title="Sets the ordering mode to either XQC_ORDERED or XQC_UNORDERED.">set_ordering_mode</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642" title="Ordering mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_OrderingMode</a> mode);
<a name="l00557"></a>00557
<a name="l00567"></a>00567 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00568"></a>00568 (*<a class="code" href="structXQC__StaticContext__s.html#a4d2fc80156ebad37f6c06f299f1210bf" title="Returns the ordering mode that is set in the given static context.">get_ordering_mode</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642" title="Ordering mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_OrderingMode</a>* mode);
<a name="l00569"></a>00569
<a name="l00580"></a>00580 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00581"></a>00581 (*<a class="code" href="structXQC__StaticContext__s.html#a0843d049e30939d23712e4e237ecf597" title="Sets the default order mode for empty sequences to either XQC_EMTPY_LEAST or XQC_EMPTY_GREATEST...">set_default_order_empty_sequences</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1" title="Default order for empty sequences as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_OrderEmptyMode</a> mode);
<a name="l00582"></a>00582
<a name="l00593"></a>00593 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00594"></a>00594 (*<a class="code" href="structXQC__StaticContext__s.html#a59f50a061dc6f1dd4787639384059311" title="Returns the default order mode for empty sequences that is set in the given static...">get_default_order_empty_sequences</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1" title="Default order for empty sequences as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_OrderEmptyMode</a>* mode);
<a name="l00595"></a>00595
<a name="l00605"></a>00605 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00606"></a>00606 (*<a class="code" href="structXQC__StaticContext__s.html#af751e75df9357b47cab7bbfedc7bea3c" title="Sets the boundary space policy to either XQC_PRESERVE_SPACE or XQC_STRIP_SPACE.">set_boundary_space_policy</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40b" title="Boundary-space policy as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_BoundarySpaceMode</a> mode);
<a name="l00607"></a>00607
<a name="l00617"></a>00617 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00618"></a>00618 (*<a class="code" href="structXQC__StaticContext__s.html#a65ebb98ea475a2168543847f5918970a" title="Returns the boundary space policy that is set in the given static context.">get_boundary_space_policy</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40b" title="Boundary-space policy as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_BoundarySpaceMode</a>* mode);
<a name="l00619"></a>00619
<a name="l00630"></a>00630 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00631"></a>00631 (*<a class="code" href="structXQC__StaticContext__s.html#a510e5e9af756c2b61046fcfd8fe7a1af" title="Sets the copy namespace mode which consists of the preserve and the inherit mode...">set_copy_ns_mode</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009f" title="Preserve part of the Copy-namespace mode as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_PreserveMode</a> preserve, <a class="code" href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0" title="Inherit part of the Copy-namespace mode as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_InheritMode</a> inherit);
<a name="l00632"></a>00632
<a name="l00644"></a>00644 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00645"></a>00645 (*<a class="code" href="structXQC__StaticContext__s.html#a75b20fc75c17c30df3e236b52cb89cd7" title="Returns the copy namespace mode as a pair consisting of the preserve and the inherit...">get_copy_ns_mode</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009f" title="Preserve part of the Copy-namespace mode as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_PreserveMode</a>* preserve, <a class="code" href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0" title="Inherit part of the Copy-namespace mode as defined in http://www.w3.org/TR/xquery/#static_context...">XQC_InheritMode</a>* inherit);
<a name="l00646"></a>00646
<a name="l00656"></a>00656 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00657"></a>00657 (*<a class="code" href="structXQC__StaticContext__s.html#a10421f989bb2d7f42b12be2e57a8bfc8" title="Sets the base uri in the given static context.">set_base_uri</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> *base_uri);
<a name="l00658"></a>00658
<a name="l00668"></a>00668 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<a name="l00669"></a>00669 (*<a class="code" href="structXQC__StaticContext__s.html#ac74bba04464c97253c51841079ce09e0" title="Returns the base uri that is set in the given static context.">get_base_uri</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> **base_uri);
<a name="l00670"></a>00670
<a name="l00671"></a>00671 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__StaticContext__s.html#a327c278c2968546780e361bf5397f30e">set_error_handler</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="structXQC__ErrorHandler__s.html" title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose...">XQC_ErrorHandler</a> *handler);
<a name="l00672"></a>00672 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__StaticContext__s.html#a68b2971a0aa150c6e111d3fa2cc6ff69">get_error_handler</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <a class="code" href="structXQC__ErrorHandler__s.html" title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose...">XQC_ErrorHandler</a> **handler);
<a name="l00673"></a>00673
<a name="l00683"></a>00683 <span class="keywordtype">void</span> *(*get_interface)(<span class="keyword">const</span> <a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00684"></a>00684
<a name="l00691"></a>00691 void (*<a class="code" href="structXQC__StaticContext__s.html#a2e0112bce0e0f408c17d5c305ad8b84a" title="Called to free the resources associated with the XQC_StaticContext.">free</a>)(<a class="code" href="structXQC__StaticContext__s.html" title="The XQC_StaticContext struct provides a way to specify values for the static context...">XQC_StaticContext</a> *context);
<a name="l00692"></a>00692 };
<a name="l00693"></a>00693
<a name="l00707"></a><a class="code" href="structXQC__Expression__s.html">00707</a> <span class="keyword">struct </span><a class="code" href="structXQC__Expression__s.html" title="The XQC_Expression struct represents a prepared query, and allows the user to execute...">XQC_Expression_s</a> {
<a name="l00708"></a>00708
<a name="l00720"></a>00720 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Expression__s.html#a04be56651df9f3f47aecd99a0b0ad66e" title="Creates a dynamic context suitable for use in the execute() function.">create_context</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__Expression__s.html" title="The XQC_Expression struct represents a prepared query, and allows the user to execute...">XQC_Expression</a> *expression, <a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> **context);
<a name="l00721"></a>00721
<a name="l00738"></a>00738 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Expression__s.html#a3181579fa2677d43c29efd31a649726c" title="Executes the query represented by the XQC_Expression object using the values in the...">execute</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__Expression__s.html" title="The XQC_Expression struct represents a prepared query, and allows the user to execute...">XQC_Expression</a> *expression, <span class="keyword">const</span> <a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> **sequence);
<a name="l00739"></a>00739
<a name="l00749"></a>00749 <span class="keywordtype">void</span> *(*get_interface)(<span class="keyword">const</span> <a class="code" href="structXQC__Expression__s.html" title="The XQC_Expression struct represents a prepared query, and allows the user to execute...">XQC_Expression</a> *expression, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00750"></a>00750
<a name="l00757"></a>00757 void (*<a class="code" href="structXQC__Expression__s.html#a6aa28a94f0ff6732c26f131bbe4d44a9" title="Called to free the resources associated with the XQC_Expression.">free</a>)(<a class="code" href="structXQC__Expression__s.html" title="The XQC_Expression struct represents a prepared query, and allows the user to execute...">XQC_Expression</a> *expression);
<a name="l00758"></a>00758 };
<a name="l00759"></a>00759
<a name="l00760"></a><a class="code" href="structXQC__DynamicContext__s.html">00760</a> <span class="keyword">struct </span><a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext_s</a> {
<a name="l00779"></a>00779 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__DynamicContext__s.html#a28763890c7f5031afe80ecb2d46d9fe2" title="Sets the external variable to the value given.">set_variable</a>)(<a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> *uri, <span class="keyword">const</span> <span class="keywordtype">char</span> *name,
<a name="l00780"></a>00780 <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *value);
<a name="l00781"></a>00781
<a name="l00782"></a>00782 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__DynamicContext__s.html#ae78ba50e69321444c11d14b1ee406df0">get_variable</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> *uri, <span class="keyword">const</span> <span class="keywordtype">char</span> *name,
<a name="l00783"></a>00783 <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> **value);
<a name="l00784"></a>00784
<a name="l00802"></a>00802 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__DynamicContext__s.html#a0c69d262bfe4fd038832db4e4db600af" title="Sets the context item to the current item of the XQC_Sequence given.">set_context_item</a>)(<a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *value);
<a name="l00803"></a>00803
<a name="l00804"></a>00804 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__DynamicContext__s.html#ab698b8041093ef047fa6657df841279e">get_context_item</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> **value);
<a name="l00805"></a>00805
<a name="l00811"></a>00811 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__DynamicContext__s.html#a1920a035b369949457f7a5a091dc33be" title="The timezone given must be between -840 and +840 minutes (-14 and +14 hours).">set_implicit_timezone</a>)(<a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <span class="keywordtype">int</span> timezone);
<a name="l00812"></a>00812 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__DynamicContext__s.html#a109602078ee31ab10bf500def8d932ef">get_implicit_timezone</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <span class="keywordtype">int</span> *timezone);
<a name="l00813"></a>00813
<a name="l00814"></a>00814 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__DynamicContext__s.html#ada19b7ea30122707a79b9e02c871874c">set_error_handler</a>)(<a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <a class="code" href="structXQC__ErrorHandler__s.html" title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose...">XQC_ErrorHandler</a> *handler);
<a name="l00815"></a>00815 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__DynamicContext__s.html#a7b3dfc5fd966a416505c5f620482d821">get_error_handler</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <a class="code" href="structXQC__ErrorHandler__s.html" title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose...">XQC_ErrorHandler</a> **handler);
<a name="l00816"></a>00816
<a name="l00826"></a>00826 <span class="keywordtype">void</span> *(*get_interface)(<span class="keyword">const</span> <a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00827"></a>00827
<a name="l00834"></a>00834 void (*<a class="code" href="structXQC__DynamicContext__s.html#ad40117a7e2dd660ea7478c4cc5124eab" title="Called to free the resources associated with the XQC_DynamicContext.">free</a>)(<a class="code" href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context);
<a name="l00835"></a>00835 };
<a name="l00836"></a>00836
<a name="l00843"></a><a class="code" href="structXQC__Sequence__s.html">00843</a> <span class="keyword">struct </span><a class="code" href="structXQC__Sequence__s.html">XQC_Sequence_s</a> {
<a name="l00854"></a>00854 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Sequence__s.html#ab84594b06f7e69fd870c41f55ae5c6c6" title="Moves the XQC_Sequence so that the current item is positioned at the next item in...">next</a>)(<a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence);
<a name="l00855"></a>00855
<a name="l00871"></a>00871 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Sequence__s.html#a09c64cc1a094a915541b0d4864f8ecf9" title="Returns an item type enumeration for the type of the current item.">item_type</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <a class="code" href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cde">XQC_ItemType</a> *type);
<a name="l00872"></a>00872
<a name="l00886"></a>00886 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Sequence__s.html#a0ced435e02516a489e3a892abd1c2764" title="Returns the type name for the current item as a (URI, localname) pair.">type_name</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <span class="keyword">const</span> <span class="keywordtype">char</span> **uri, <span class="keyword">const</span> <span class="keywordtype">char</span> **name);
<a name="l00887"></a>00887
<a name="l00901"></a>00901 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Sequence__s.html#a3bd3b6dab0c68652af816438407dd037" title="Returns the string value of the current item in the sequence - this is equivalent...">string_value</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <span class="keyword">const</span> <span class="keywordtype">char</span> **value);
<a name="l00902"></a>00902
<a name="l00915"></a>00915 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Sequence__s.html#ac6f7f32f3d54ba30c043bea37e3b5fef" title="Returns the value of the current item in the sequence as an integer - this is equivalent...">integer_value</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <span class="keywordtype">int</span> *value);
<a name="l00916"></a>00916
<a name="l00929"></a>00929 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Sequence__s.html#ab131f251ca020ce202e31b3bf9ff9369" title="Returns the value of the current item in the sequence as a double - this is equivalent...">double_value</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <span class="keywordtype">double</span> *value);
<a name="l00930"></a>00930
<a name="l00945"></a>00945 <a class="code" href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f" title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<a class="code" href="structXQC__Sequence__s.html#a755d353442dd2cc25906bb0152ef8fe1" title="Returns the name for the current node as a (URI, localname) pair.">node_name</a>)(<span class="keyword">const</span> <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <span class="keyword">const</span> <span class="keywordtype">char</span> **uri, <span class="keyword">const</span> <span class="keywordtype">char</span> **name);
<a name="l00946"></a>00946
<a name="l00958"></a>00958 <span class="keywordtype">void</span> *(*get_interface)(<span class="keyword">const</span> <a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00959"></a>00959
<a name="l00966"></a>00966 void (*<a class="code" href="structXQC__Sequence__s.html#a13ab651edb4e0754cb8a032e2bce50b0" title="Called to free the resources associated with the XQC_Sequence.">free</a>)(<a class="code" href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence);
<a name="l00967"></a>00967 };
<a name="l00968"></a>00968
<a name="l00969"></a>00969 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00970"></a>00970 <span class="preprocessor"></span>}
<a name="l00971"></a>00971 <span class="preprocessor">#endif</span>
<a name="l00972"></a>00972 <span class="preprocessor"></span>
<a name="l00973"></a>00973 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Mar 1 21:16:36 2010 for XQilla XQC API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>