<ahref="xqc_8h.html">Go to the documentation of this file.</a><divclass="fragment"><preclass="fragment"><aname="l00001"></a>00001 <spanclass="comment">/*</span>
<aname="l00044"></a><aclass="code"href="xqc_8h.html#a27c84fd3b0421627f6bec2e19e1bf966">00044</a><spanclass="keyword">typedef</span><spanclass="keyword">struct </span><aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext_s</a><aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a>;
<aname="l00045"></a><aclass="code"href="xqc_8h.html#a707b112e9370ee771b38ea01574df8ff">00045</a><spanclass="keyword">typedef</span><spanclass="keyword">struct </span><aclass="code"href="structXQC__Expression__s.html"title="The XQC_Expression struct represents a prepared query, and allows the user to execute that query any ...">XQC_Expression_s</a><aclass="code"href="structXQC__Expression__s.html"title="The XQC_Expression struct represents a prepared query, and allows the user to execute that query any ...">XQC_Expression</a>;
<aname="l00048"></a><aclass="code"href="xqc_8h.html#aa2362b43cca7bd9527ed4477a5481528">00048</a><spanclass="keyword">typedef</span><spanclass="keyword">struct </span><aclass="code"href="structXQC__InputStream__s.html"title="The XQC_InputStream struct is designed to be populated by users for the purpose of streaming data int...">XQC_InputStream_s</a><aclass="code"href="structXQC__InputStream__s.html"title="The XQC_InputStream struct is designed to be populated by users for the purpose of streaming data int...">XQC_InputStream</a>;
<aname="l00049"></a><aclass="code"href="xqc_8h.html#ac30b575982cfb24206404168dbd0bff0">00049</a><spanclass="keyword">typedef</span><spanclass="keyword">struct </span><aclass="code"href="structXQC__ErrorHandler__s.html"title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose of collecting more d...">XQC_ErrorHandler_s</a><aclass="code"href="structXQC__ErrorHandler__s.html"title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose of collecting more d...">XQC_ErrorHandler</a>;
<aname="l00057"></a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fadfd1d8eea45c90655b98cfd728bfee2e">00057</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fadfd1d8eea45c90655b98cfd728bfee2e"title="The end of the XQC_Sequence has been reached.">XQC_END_OF_SEQUENCE</a>,
<aname="l00063"></a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768">00063</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa01b5565965d03299df81f0916b8fa768"title="An implementation specific error has occurred.">XQC_INTERNAL_ERROR</a>,
<aname="l00064"></a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa7d62aa302c9a96c9caa4382ae0c42c78">00064</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa7d62aa302c9a96c9caa4382ae0c42c78"title="The implementation does not implement that function.">XQC_NOT_IMPLEMENTED</a>,
<aname="l00069"></a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa1f3145b072152462b856efc743b1211d">00069</a><aclass="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>,
<aname="l00071"></a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa3c5972d58b0a8f9c38a000e6cf4d91a2">00071</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa3c5972d58b0a8f9c38a000e6cf4d91a2"title="A static error has occured while preparing the query.">XQC_STATIC_ERROR</a>,
<aname="l00072"></a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3faeb68302bd3ceab3cb9d9473afd06248a">00072</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3faeb68302bd3ceab3cb9d9473afd06248a"title="A type error has occured while preparing or executing the query.">XQC_TYPE_ERROR</a>,
<aname="l00073"></a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa1ece0ad69a59c3f0ce59b841ded10f9d">00073</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fa1ece0ad69a59c3f0ce59b841ded10f9d"title="A dynamic error has occured while preparing or executing the query.">XQC_DYNAMIC_ERROR</a>,
<aname="l00074"></a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fadc55e42328966f02eededcbbe6676ff0">00074</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3fadc55e42328966f02eededcbbe6676ff0"title="A serialization error has occured while serializing the output of a query.">XQC_SERIALIZATION_ERROR</a>
<aname="l00075"></a>00075 } <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>;
<aname="l00081"></a><aclass="code"href="structXQC__InputStream__s.html">00081</a><spanclass="keyword">struct </span><aclass="code"href="structXQC__InputStream__s.html"title="The XQC_InputStream struct is designed to be populated by users for the purpose of streaming data int...">XQC_InputStream_s</a> {
<aname="l00088"></a><aclass="code"href="structXQC__InputStream__s.html#aa4d231151fe0fe6ddc189d84f8f1197b">00088</a><spanclass="keyword">const</span><spanclass="keywordtype">char</span> *<aclass="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>;
<aname="l00089"></a>00089
<aname="l00093"></a><aclass="code"href="structXQC__InputStream__s.html#a72b22742c94ee0efe5b5de0e63b7ae89">00093</a><spanclass="keywordtype">void</span> *<aclass="code"href="structXQC__InputStream__s.html#a72b22742c94ee0efe5b5de0e63b7ae89"title="Can be used for user specific purposes.">user_data</a>;
<aname="l00108"></a><aclass="code"href="structXQC__InputStream__s.html#a9dd7b49bdfaf09c4070c43aa5a0e0c66">00108</a><spanclass="keywordtype">unsigned</span> int (*<aclass="code"href="structXQC__InputStream__s.html#a9dd7b49bdfaf09c4070c43aa5a0e0c66"title="The function called to read more of the input query.">read</a>)(<aclass="code"href="structXQC__InputStream__s.html"title="The XQC_InputStream struct is designed to be populated by users for the purpose of streaming data int...">XQC_InputStream</a> *stream, <spanclass="keywordtype">void</span> *buffer, <spanclass="keywordtype">unsigned</span><spanclass="keywordtype">int</span> length);
<aname="l00116"></a><aclass="code"href="structXQC__InputStream__s.html#a48aaf721537dfba8945afb24511030ac">00116</a> void (*<aclass="code"href="structXQC__InputStream__s.html#a48aaf721537dfba8945afb24511030ac"title="Called to free the resources associated with the XQC_InputStream.">free</a>)(<aclass="code"href="structXQC__InputStream__s.html"title="The XQC_InputStream struct is designed to be populated by users for the purpose of streaming data int...">XQC_InputStream</a> *stream);
<aname="l00131"></a><aclass="code"href="structXQC__ErrorHandler__s.html">00131</a><spanclass="keyword">struct </span><aclass="code"href="structXQC__ErrorHandler__s.html"title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose of collecting more d...">XQC_ErrorHandler_s</a> {
<aname="l00136"></a><aclass="code"href="structXQC__ErrorHandler__s.html#a576532f27add49c11ee2d34f045458cf">00136</a><spanclass="keywordtype">void</span> *<aclass="code"href="structXQC__ErrorHandler__s.html#a576532f27add49c11ee2d34f045458cf"title="Can be used for user specific purposes.">user_data</a>;
<aname="l00156"></a><aclass="code"href="structXQC__ErrorHandler__s.html#afc5eb3e21afa1c8d88fa56ae55de5ce0">00156</a> void (*<aclass="code"href="structXQC__ErrorHandler__s.html#afc5eb3e21afa1c8d88fa56ae55de5ce0"title="The function called when an error occurs.">error</a>)(<aclass="code"href="structXQC__ErrorHandler__s.html"title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose of collecting more d...">XQC_ErrorHandler</a> *handler, <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a><aclass="code"href="structXQC__ErrorHandler__s.html#afc5eb3e21afa1c8d88fa56ae55de5ce0"title="The function called when an error occurs.">error</a>, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *error_uri,
<aname="l00225"></a><aclass="code"href="structXQC__Implementation__s.html#ad1708e34ad5052e3441c07fc2578c32a">00225</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#ad1708e34ad5052e3441c07fc2578c32a"title="Creates a static context suitable for use in the prepare(), prepare_file() and prepare_stream() funct...">create_context</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation, <aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> **context);
<aname="l00244"></a><aclass="code"href="structXQC__Implementation__s.html#a4f82aa0b0e5c675f95f6c78b3bf76216">00244</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#a4f82aa0b0e5c675f95f6c78b3bf76216"title="Prepares a query from a UTF-8 string, returning an XQC_Expression object.">prepare</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *string,
<aname="l00245"></a>00245 <spanclass="keyword">const</span><aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="code"href="structXQC__Expression__s.html"title="The XQC_Expression struct represents a prepared query, and allows the user to execute that query any ...">XQC_Expression</a> **expression);
<aname="l00266"></a><aclass="code"href="structXQC__Implementation__s.html#a1ad25fbbed1449a0923e3ea274c81336">00266</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#a1ad25fbbed1449a0923e3ea274c81336"title="Prepares a query from a FILE pointer, returning an XQC_Expression object.">prepare_file</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation, FILE *file,
<aname="l00267"></a>00267 <spanclass="keyword">const</span><aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="code"href="structXQC__Expression__s.html"title="The XQC_Expression struct represents a prepared query, and allows the user to execute that query any ...">XQC_Expression</a> **expression);
<aname="l00290"></a><aclass="code"href="structXQC__Implementation__s.html#a5f43c181bbab51770a3c1c8943060745">00290</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#a5f43c181bbab51770a3c1c8943060745"title="Prepares a query from an XQC_InputStream, returning an XQC_Expression object.">prepare_stream</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation, <aclass="code"href="structXQC__InputStream__s.html"title="The XQC_InputStream struct is designed to be populated by users for the purpose of streaming data int...">XQC_InputStream</a> *stream,
<aname="l00291"></a>00291 <spanclass="keyword">const</span><aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="code"href="structXQC__Expression__s.html"title="The XQC_Expression struct represents a prepared query, and allows the user to execute that query any ...">XQC_Expression</a> **expression);
<aname="l00301"></a><aclass="code"href="structXQC__Implementation__s.html#a1e3a2cd7fdb4becb469d179bcb4c2396">00301</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#a1e3a2cd7fdb4becb469d179bcb4c2396"title="XQC_PARSE_ERROR.">parse_document</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<aname="l00304"></a><aclass="code"href="structXQC__Implementation__s.html#a623ddc0e08664025d2c7c08c295f2990">00304</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#a623ddc0e08664025d2c7c08c295f2990"title="XQC_PARSE_ERROR.">parse_document_file</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<aname="l00307"></a><aclass="code"href="structXQC__Implementation__s.html#a1042b268a8755993e5835ac35e894fb7">00307</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#a1042b268a8755993e5835ac35e894fb7"title="XQC_PARSE_ERROR.">parse_document_stream</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<aname="l00308"></a>00308 <aclass="code"href="structXQC__InputStream__s.html"title="The XQC_InputStream struct is designed to be populated by users for the purpose of streaming data int...">XQC_InputStream</a> *stream, <aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> **sequence);
<aname="l00317"></a><aclass="code"href="structXQC__Implementation__s.html#acba4d14d7bc69f0884bac3fa2c4da483">00317</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#acba4d14d7bc69f0884bac3fa2c4da483">create_empty_sequence</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<aname="l00319"></a><aclass="code"href="structXQC__Implementation__s.html#a5035ea14fac9fb23b591d47a0da4271e">00319</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#a5035ea14fac9fb23b591d47a0da4271e">create_singleton_sequence</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<aname="l00322"></a><aclass="code"href="structXQC__Implementation__s.html#ad618a79159ea541278dde9367ca2072a">00322</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#ad618a79159ea541278dde9367ca2072a">create_string_sequence</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<aname="l00325"></a><aclass="code"href="structXQC__Implementation__s.html#a71f0ea0a00d946c1931cb967423459ca">00325</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#a71f0ea0a00d946c1931cb967423459ca">create_integer_sequence</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<aname="l00328"></a><aclass="code"href="structXQC__Implementation__s.html#a6ec69328f68a983cbf84f7378fdad961">00328</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Implementation__s.html#a6ec69328f68a983cbf84f7378fdad961">create_double_sequence</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation,
<aname="l00351"></a><aclass="code"href="structXQC__Implementation__s.html#afb636b6cbd236831652a518d9e71418d">00351</a> void (*<aclass="code"href="structXQC__Implementation__s.html#afb636b6cbd236831652a518d9e71418d"title="Called to free the resources associated with the XQC_Implementation.">free</a>)(<aclass="code"href="structXQC__Implementation__s.html"title="The XQC_Implementation struct provides factory functions for preparing queries.">XQC_Implementation</a> *implementation);
<aname="l00359"></a><aclass="code"href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6abf1ffa95ffbef6246f81cd1a5fd0f79a">00359</a><spanclass="keyword">typedef</span><spanclass="keyword">enum</span> { <aclass="code"href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6abf1ffa95ffbef6246f81cd1a5fd0f79a">XQC_XPATH2_0</a>, <aclass="code"href="xqc_8h.html#aacc56683a32a53ea4168f0b9b16c54e6aa2dd4547fe11a80fe3e5ba1427fcafc0">XQC_XPATH1_0</a> } <aclass="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>;
<aname="l00364"></a><aclass="code"href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642a9f7c768797c805e466987a96bfd9b92a">00364</a><spanclass="keyword">typedef</span><spanclass="keyword">enum</span> { <aclass="code"href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642ad3a98d038a7b17a2babb827adabbedd5">XQC_ORDERED</a>, <aclass="code"href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642a9f7c768797c805e466987a96bfd9b92a">XQC_UNORDERED</a> } <aclass="code"href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642"title="Ordering mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_OrderingMode</a>;
<aname="l00370"></a><aclass="code"href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1">00370</a><spanclass="keyword">typedef</span><spanclass="keyword">enum</span> { <aclass="code"href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1ac14f6e7d8729ba268240a3ef58683e7d">XQC_EMPTY_GREATEST</a>, <aclass="code"href="xqc_8h.html#a4a1574accd76da4396309cf0e5fa38d1adf187067cf2145ecd16458844d3b0be1">XQC_EMPTY_LEAST</a> } <aclass="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>;
<aname="l00376"></a><aclass="code"href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0a115a2b256d16303b42ca01bf33d12884">00376</a><spanclass="keyword">typedef</span><spanclass="keyword">enum</span> { <aclass="code"href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0ad0246c972a48e28ef557c7c4e94a215c">XQC_INHERIT_NS</a>, <aclass="code"href="xqc_8h.html#a1b5f5e5b845d550463923b4bf5f673e0a115a2b256d16303b42ca01bf33d12884">XQC_NO_INHERIT_NS</a> } <aclass="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>;
<aname="l00382"></a><aclass="code"href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009f">00382</a><spanclass="keyword">typedef</span><spanclass="keyword">enum</span> { <aclass="code"href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009fa04e9efb66aa557ed89e45b51d85c73e8">XQC_PRESERVE_NS</a>, <aclass="code"href="xqc_8h.html#a1a645e2e4e29596fe39311fb11d4009fa8053fd52980316de1d89eb84e62b0dbc">XQC_NO_PRESERVE_NS</a> } <aclass="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>;
<aname="l00387"></a><aclass="code"href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40ba315f5cab25aca6be97305f63892c0239">00387</a><spanclass="keyword">typedef</span><spanclass="keyword">enum</span> { <aclass="code"href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40baee0c14030094a8248ba14696a428b717">XQC_PRESERVE_SPACE</a>, <aclass="code"href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40ba315f5cab25aca6be97305f63892c0239">XQC_STRIP_SPACE</a> } <aclass="code"href="xqc_8h.html#a6a5f9892a69d1f51edd534488184a40b"title="Boundary-space policy as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_BoundarySpaceMode</a>;
<aname="l00388"></a>00388
<aname="l00392"></a><aclass="code"href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52a8532de4fc7c53aed1d894047185b48c0">00392</a><spanclass="keyword">typedef</span><spanclass="keyword">enum</span> { <aclass="code"href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52a66bb82399837e95c217a8c7b6afa0619">XQC_PRESERVE_CONS</a>, <aclass="code"href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52a8532de4fc7c53aed1d894047185b48c0">XQC_STRIP_CONS</a> } <aclass="code"href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52"title="Construction mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_ConstructionMode</a>;
<aname="l00404"></a><aclass="code"href="structXQC__StaticContext__s.html">00404</a><spanclass="keyword">struct </span><aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext_s</a> {
<aname="l00420"></a>00420 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00421"></a><aclass="code"href="structXQC__StaticContext__s.html#a785db756c2de3e89d760af92ad43afb6">00421</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a785db756c2de3e89d760af92ad43afb6"title="Creates a child context of the given static context.">create_child_context</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> **child_context);
<aname="l00434"></a>00434 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00435"></a><aclass="code"href="structXQC__StaticContext__s.html#aa4e8b52a4b99929b5136e54b1675fa6d">00435</a> (*<aclass="code"href="structXQC__StaticContext__s.html#aa4e8b52a4b99929b5136e54b1675fa6d"title="Adds a (prefix, uri) pair to the set of statically known namespaces of the given context.">declare_ns</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *prefix, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *uri);
<aname="l00448"></a>00448 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00449"></a><aclass="code"href="structXQC__StaticContext__s.html#a197e8973fde8e9d272edab94edbc61fa">00449</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a197e8973fde8e9d272edab94edbc61fa"title="Returns the namespace uri that belongs to the given prefix.">get_ns_by_prefix</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *prefix, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> **result_ns);
<aname="l00460"></a>00460 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00461"></a><aclass="code"href="structXQC__StaticContext__s.html#aef512c6e2097bec0c7d9a424e0008d77">00461</a> (*<aclass="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>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *uri);
<aname="l00471"></a>00471 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00472"></a><aclass="code"href="structXQC__StaticContext__s.html#ae570f4665fd72754a67c80155a87ccc7">00472</a> (*<aclass="code"href="structXQC__StaticContext__s.html#ae570f4665fd72754a67c80155a87ccc7">get_default_element_and_type_ns</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> **uri);
<aname="l00483"></a>00483 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00484"></a><aclass="code"href="structXQC__StaticContext__s.html#a8a098be9ed3d79bcecb6be9e2a15f2f3">00484</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a8a098be9ed3d79bcecb6be9e2a15f2f3"title="Sets the default namespace for functions.">set_default_function_ns</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *uri);
<aname="l00495"></a>00495 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00496"></a><aclass="code"href="structXQC__StaticContext__s.html#a737a5500f0211e7d8fd9c208b33cffff">00496</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a737a5500f0211e7d8fd9c208b33cffff"title="Returnsthe default namespace for functions set in this static context.">get_default_function_ns</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> **uri);
<aname="l00507"></a>00507 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00508"></a><aclass="code"href="structXQC__StaticContext__s.html#a8006fb39a40dc3ae76e7c76725d54370">00508</a> (*<aclass="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>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="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);
<aname="l00519"></a>00519 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00520"></a><aclass="code"href="structXQC__StaticContext__s.html#a75ffd05f4ce6a3e4c4b9f1dfc26dc82a">00520</a> (*<aclass="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>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="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);
<aname="l00531"></a>00531 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00532"></a><aclass="code"href="structXQC__StaticContext__s.html#a50e12d46898d711ace78cfa393079231">00532</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a50e12d46898d711ace78cfa393079231"title="Sets the construction mode to either XQC_PRESERVE_CONS or XQC_StaticContext.">set_construction_mode</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="code"href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52"title="Construction mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_ConstructionMode</a> mode);
<aname="l00543"></a>00543 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00544"></a><aclass="code"href="structXQC__StaticContext__s.html#a2887fe53d46a362f54df096be6c8bd5d">00544</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a2887fe53d46a362f54df096be6c8bd5d"title="Returns the construction mode that is set in the given static context.">get_construction_mode</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="code"href="xqc_8h.html#af237564a5ce94621e2d2251318b02e52"title="Construction mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_ConstructionMode</a>* mode);
<aname="l00555"></a>00555 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00556"></a><aclass="code"href="structXQC__StaticContext__s.html#aa5b73efc1810ad280aea351c0c052fd4">00556</a> (*<aclass="code"href="structXQC__StaticContext__s.html#aa5b73efc1810ad280aea351c0c052fd4"title="Sets the ordering mode to either XQC_ORDERED or XQC_UNORDERED.">set_ordering_mode</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="code"href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642"title="Ordering mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_OrderingMode</a> mode);
<aname="l00567"></a>00567 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00568"></a><aclass="code"href="structXQC__StaticContext__s.html#a4d2fc80156ebad37f6c06f299f1210bf">00568</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a4d2fc80156ebad37f6c06f299f1210bf"title="Returns the ordering mode that is set in the given static context.">get_ordering_mode</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="code"href="xqc_8h.html#a180501d6417e8b87f20df61396cf9642"title="Ordering mode as defined in http://www.w3.org/TR/xquery/#static_context.">XQC_OrderingMode</a>* mode);
<aname="l00580"></a>00580 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00581"></a><aclass="code"href="structXQC__StaticContext__s.html#a0843d049e30939d23712e4e237ecf597">00581</a> (*<aclass="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>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="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);
<aname="l00593"></a>00593 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00594"></a><aclass="code"href="structXQC__StaticContext__s.html#a59f50a061dc6f1dd4787639384059311">00594</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a59f50a061dc6f1dd4787639384059311"title="Returns the default order mode for empty sequences that is set in the given static context...">get_default_order_empty_sequences</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="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);
<aname="l00605"></a>00605 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00606"></a><aclass="code"href="structXQC__StaticContext__s.html#af751e75df9357b47cab7bbfedc7bea3c">00606</a> (*<aclass="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>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="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);
<aname="l00617"></a>00617 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00618"></a><aclass="code"href="structXQC__StaticContext__s.html#a65ebb98ea475a2168543847f5918970a">00618</a> (*<aclass="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>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="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);
<aname="l00630"></a>00630 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00631"></a><aclass="code"href="structXQC__StaticContext__s.html#a510e5e9af756c2b61046fcfd8fe7a1af">00631</a> (*<aclass="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>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="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, <aclass="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);
<aname="l00644"></a>00644 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00645"></a><aclass="code"href="structXQC__StaticContext__s.html#a75b20fc75c17c30df3e236b52cb89cd7">00645</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a75b20fc75c17c30df3e236b52cb89cd7"title="Returns the copy namespace mode as a pair consisting of the preserve and the inherit mode...">get_copy_ns_mode</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="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, <aclass="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);
<aname="l00656"></a>00656 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00657"></a><aclass="code"href="structXQC__StaticContext__s.html#a10421f989bb2d7f42b12be2e57a8bfc8">00657</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a10421f989bb2d7f42b12be2e57a8bfc8"title="Sets the base uri in the given static context.">set_base_uri</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *base_uri);
<aname="l00668"></a>00668 <aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a>
<aname="l00669"></a><aclass="code"href="structXQC__StaticContext__s.html#ac74bba04464c97253c51841079ce09e0">00669</a> (*<aclass="code"href="structXQC__StaticContext__s.html#ac74bba04464c97253c51841079ce09e0"title="Returns the base uri that is set in the given static context.">get_base_uri</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> **base_uri);
<aname="l00671"></a><aclass="code"href="structXQC__StaticContext__s.html#a327c278c2968546780e361bf5397f30e">00671</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a327c278c2968546780e361bf5397f30e">set_error_handler</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="code"href="structXQC__ErrorHandler__s.html"title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose of collecting more d...">XQC_ErrorHandler</a> *handler);
<aname="l00672"></a><aclass="code"href="structXQC__StaticContext__s.html#a68b2971a0aa150c6e111d3fa2cc6ff69">00672</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__StaticContext__s.html#a68b2971a0aa150c6e111d3fa2cc6ff69">get_error_handler</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <aclass="code"href="structXQC__ErrorHandler__s.html"title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose of collecting more d...">XQC_ErrorHandler</a> **handler);
<aname="l00683"></a><aclass="code"href="structXQC__StaticContext__s.html#aa2825c7ad6c7fff378ec8ebbcbcaefd1">00683</a><spanclass="keywordtype">void</span> *(*get_interface)(<spanclass="keyword">const</span><aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *name);
<aname="l00691"></a><aclass="code"href="structXQC__StaticContext__s.html#a2e0112bce0e0f408c17d5c305ad8b84a">00691</a> void (*<aclass="code"href="structXQC__StaticContext__s.html#a2e0112bce0e0f408c17d5c305ad8b84a"title="Called to free the resources associated with the XQC_StaticContext.">free</a>)(<aclass="code"href="structXQC__StaticContext__s.html"title="The XQC_StaticContext struct provides a way to specify values for the static context of the query to ...">XQC_StaticContext</a> *context);
<aname="l00707"></a><aclass="code"href="structXQC__Expression__s.html">00707</a><spanclass="keyword">struct </span><aclass="code"href="structXQC__Expression__s.html"title="The XQC_Expression struct represents a prepared query, and allows the user to execute that query any ...">XQC_Expression_s</a> {
<aname="l00720"></a><aclass="code"href="structXQC__Expression__s.html#a04be56651df9f3f47aecd99a0b0ad66e">00720</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Expression__s.html#a04be56651df9f3f47aecd99a0b0ad66e"title="Creates a dynamic context suitable for use in the execute() function.">create_context</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__Expression__s.html"title="The XQC_Expression struct represents a prepared query, and allows the user to execute that query any ...">XQC_Expression</a> *expression, <aclass="code"href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> **context);
<aname="l00738"></a><aclass="code"href="structXQC__Expression__s.html#a3181579fa2677d43c29efd31a649726c">00738</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Expression__s.html#a3181579fa2677d43c29efd31a649726c"title="Executes the query represented by the XQC_Expression object using the values in the XQC_DynamicContex...">execute</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__Expression__s.html"title="The XQC_Expression struct represents a prepared query, and allows the user to execute that query any ...">XQC_Expression</a> *expression, <spanclass="keyword">const</span><aclass="code"href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> **sequence);
<aname="l00749"></a><aclass="code"href="structXQC__Expression__s.html#acc0d2caee9f7a61e68c57d18c1d4bd66">00749</a><spanclass="keywordtype">void</span> *(*get_interface)(<spanclass="keyword">const</span><aclass="code"href="structXQC__Expression__s.html"title="The XQC_Expression struct represents a prepared query, and allows the user to execute that query any ...">XQC_Expression</a> *expression, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *name);
<aname="l00757"></a><aclass="code"href="structXQC__Expression__s.html#a6aa28a94f0ff6732c26f131bbe4d44a9">00757</a> void (*<aclass="code"href="structXQC__Expression__s.html#a6aa28a94f0ff6732c26f131bbe4d44a9"title="Called to free the resources associated with the XQC_Expression.">free</a>)(<aclass="code"href="structXQC__Expression__s.html"title="The XQC_Expression struct represents a prepared query, and allows the user to execute that query any ...">XQC_Expression</a> *expression);
<aname="l00779"></a><aclass="code"href="structXQC__DynamicContext__s.html#a28763890c7f5031afe80ecb2d46d9fe2">00779</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__DynamicContext__s.html#a28763890c7f5031afe80ecb2d46d9fe2"title="Sets the external variable to the value given.">set_variable</a>)(<aclass="code"href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *uri, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *name,
<aname="l00782"></a><aclass="code"href="structXQC__DynamicContext__s.html#ae78ba50e69321444c11d14b1ee406df0">00782</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__DynamicContext__s.html#ae78ba50e69321444c11d14b1ee406df0">get_variable</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *uri, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> *name,
<aname="l00802"></a><aclass="code"href="structXQC__DynamicContext__s.html#a0c69d262bfe4fd038832db4e4db600af">00802</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="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>)(<aclass="code"href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> *value);
<aname="l00804"></a><aclass="code"href="structXQC__DynamicContext__s.html#ab698b8041093ef047fa6657df841279e">00804</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__DynamicContext__s.html#ab698b8041093ef047fa6657df841279e">get_context_item</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> **value);
<aname="l00811"></a><aclass="code"href="structXQC__DynamicContext__s.html#a1920a035b369949457f7a5a091dc33be">00811</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="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>)(<aclass="code"href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <spanclass="keywordtype">int</span> timezone);
<aname="l00812"></a><aclass="code"href="structXQC__DynamicContext__s.html#a109602078ee31ab10bf500def8d932ef">00812</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__DynamicContext__s.html#a109602078ee31ab10bf500def8d932ef">get_implicit_timezone</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <spanclass="keywordtype">int</span> *timezone);
<aname="l00814"></a><aclass="code"href="structXQC__DynamicContext__s.html#ada19b7ea30122707a79b9e02c871874c">00814</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__DynamicContext__s.html#ada19b7ea30122707a79b9e02c871874c">set_error_handler</a>)(<aclass="code"href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <aclass="code"href="structXQC__ErrorHandler__s.html"title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose of collecting more d...">XQC_ErrorHandler</a> *handler);
<aname="l00815"></a><aclass="code"href="structXQC__DynamicContext__s.html#a7b3dfc5fd966a416505c5f620482d821">00815</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__DynamicContext__s.html#a7b3dfc5fd966a416505c5f620482d821">get_error_handler</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context, <aclass="code"href="structXQC__ErrorHandler__s.html"title="The XQC_ErrorHandler struct is designed to be populated by users for the purpose of collecting more d...">XQC_ErrorHandler</a> **handler);
<aname="l00834"></a><aclass="code"href="structXQC__DynamicContext__s.html#ad40117a7e2dd660ea7478c4cc5124eab">00834</a> void (*<aclass="code"href="structXQC__DynamicContext__s.html#ad40117a7e2dd660ea7478c4cc5124eab"title="Called to free the resources associated with the XQC_DynamicContext.">free</a>)(<aclass="code"href="structXQC__DynamicContext__s.html">XQC_DynamicContext</a> *context);
<aname="l00854"></a><aclass="code"href="structXQC__Sequence__s.html#ab84594b06f7e69fd870c41f55ae5c6c6">00854</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Sequence__s.html#ab84594b06f7e69fd870c41f55ae5c6c6"title="Moves the XQC_Sequence so that the current item is positioned at the next item in the sequence...">next</a>)(<aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence);
<aname="l00871"></a><aclass="code"href="structXQC__Sequence__s.html#a09c64cc1a094a915541b0d4864f8ecf9">00871</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Sequence__s.html#a09c64cc1a094a915541b0d4864f8ecf9"title="Returns an item type enumeration for the type of the current item.">item_type</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <aclass="code"href="xqc_8h.html#a72a7afe388d8dbc3578d5d1eb4e76cde">XQC_ItemType</a> *type);
<aname="l00886"></a><aclass="code"href="structXQC__Sequence__s.html#a0ced435e02516a489e3a892abd1c2764">00886</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Sequence__s.html#a0ced435e02516a489e3a892abd1c2764"title="Returns the type name for the current item as a (URI, localname) pair.">type_name</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> **uri, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> **name);
<aname="l00901"></a><aclass="code"href="structXQC__Sequence__s.html#a3bd3b6dab0c68652af816438407dd037">00901</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Sequence__s.html#a3bd3b6dab0c68652af816438407dd037"title="Returns the string value of the current item in the sequence - this is equivalent to calling fn:strin...">string_value</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> **value);
<aname="l00915"></a><aclass="code"href="structXQC__Sequence__s.html#ac6f7f32f3d54ba30c043bea37e3b5fef">00915</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Sequence__s.html#ac6f7f32f3d54ba30c043bea37e3b5fef"title="Returns the value of the current item in the sequence as an integer - this is equivalent to calling f...">integer_value</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <spanclass="keywordtype">int</span> *value);
<aname="l00929"></a><aclass="code"href="structXQC__Sequence__s.html#ab131f251ca020ce202e31b3bf9ff9369">00929</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Sequence__s.html#ab131f251ca020ce202e31b3bf9ff9369"title="Returns the value of the current item in the sequence as a double - this is equivalent to calling fn:...">double_value</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <spanclass="keywordtype">double</span> *value);
<aname="l00945"></a><aclass="code"href="structXQC__Sequence__s.html#a755d353442dd2cc25906bb0152ef8fe1">00945</a><aclass="code"href="xqc_8h.html#aeb1ad206e9c38a7f84749cafe04d7a3f"title="The error enumeration used by all XQC functions to designate error condition.">XQC_Error</a> (*<aclass="code"href="structXQC__Sequence__s.html#a755d353442dd2cc25906bb0152ef8fe1"title="Returns the name for the current node as a (URI, localname) pair.">node_name</a>)(<spanclass="keyword">const</span><aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> **uri, <spanclass="keyword">const</span><spanclass="keywordtype">char</span> **name);
<aname="l00966"></a><aclass="code"href="structXQC__Sequence__s.html#a13ab651edb4e0754cb8a032e2bce50b0">00966</a> void (*<aclass="code"href="structXQC__Sequence__s.html#a13ab651edb4e0754cb8a032e2bce50b0"title="Called to free the resources associated with the XQC_Sequence.">free</a>)(<aclass="code"href="structXQC__Sequence__s.html">XQC_Sequence</a> *sequence);