/
githubmirror
/
xmlsec
Обзор
Документация
Войти
/
githubmirror
/
xmlsec
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
1.3.10
docs/api/xmlsec-xmltree.html
3 039 строк
117 KB
lsh123
Update docs (#1082)
18 мар 2026, 04:43
Не верифицирован
18 мар 2026, 04:43
ff1e861
Код
Авторство
О чём код?
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>xmltree: XML Security Library Reference Manual</title> <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="XML Security Library Reference Manual"> <link rel="up" href="xmlsec-ref.html" title="XML Security Core Library API Reference."> <link rel="prev" href="xmlsec-xmlsec.html" title="xmlsec"> <link rel="next" href="xmlsec-openssl-ref.html" title="XML Security Library for OpenSLL API Reference."> <meta name="generator" content="GTK-Doc V1.34.0 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body><table width="100%" valign="top"><tr valign="top"> <td valign="top" align="left" width="210"> <img src="../images/logo.gif" alt="XML Security Library" border="0"><p></p> <ul> <li><a href="../index.html">Home</a></li> <li><a href="../download.html">Download</a></li> <ul><li><a href="../https://github.com/lsh123/xmlsec">GitHub</a></li></ul> <li><a href="../news.html">News</a></li> <li><a href="../documentation.html">Documentation</a></li> <ul> <li><a href="../faq.html">FAQ</a></li> <li><a href="../api/xmlsec-notes.html">Tutorial</a></li> <li><a href="../api/xmlsec-reference.html">API reference</a></li> <li><a href="../api/xmlsec-examples.html">Examples</a></li> </ul> <li><a href="../xmldsig.html">XML Digital Signature</a></li> <li><a href="../xmlenc.html">XML Encryption</a></li> <li><a href="../c14n.html">XML Canonicalization</a></li> <li><a href="../bugs.html">Reporting Bugs</a></li> <li><a href="mailing-list.html">Mailing list</a></li> <li><a href="../related.html">Related</a></li> <li><a href="../authors.html">Authors</a></li> </ul> <table width="100%"> <tr> <td width="15"></td> <td><a href="http://xmlsoft.org/"><img src="../images/libxml2-logo.png" alt="LibXML2" border="0"></a></td> </tr> <tr> <td width="15"></td> <td><a href="http://xmlsoft.org/XSLT"><img src="../images/libxslt-logo.png" alt="LibXSLT" border="0"></a></td> </tr> <tr> <td width="15"></td> <td><a href="http://www.openssl.org/"><img src="../images/openssl-logo.png" alt="OpenSSL" border="0"></a></td> </tr> <!--Links - start--><!--Links - end--> </table> </td> <td valign="top"><table width="80%" valign="top" style="margin-left:10px;"><tr><td valign="top" align="left" id="xmlsecContent"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> <td width="100%" align="left" class="shortcuts"> <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> <a href="#xmlsec-xmltree.description" class="shortcut">Description</a></span> </td> <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> <td><a accesskey="u" href="xmlsec-ref.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> <td><a accesskey="p" href="xmlsec-xmlsec.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> <td><a accesskey="n" href="xmlsec-openssl-ref.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> </tr></table> <div class="refentry"> <a name="xmlsec-xmltree"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle"><a name="xmlsec-xmltree.top_of_page"></a>xmltree</span></h2> <p>xmltree — XML tree functions.</p> </td> <td class="gallery_image" valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> <a name="xmlsec-xmltree.stability-level"></a><h2>Stability Level</h2> <acronym title="The intention of a Stable interface is to enable arbitrary third parties to develop applications to these interfaces, release them, and have confidence that they will run on all minor releases of the product (after the one in which the interface was introduced, and within the same major release). Even at a major release, incompatible changes are expected to be rare, and to have strong justifications. "><span class="acronym">Stable</span></acronym>, unless otherwise indicated </div> <div class="refsect1"> <a name="xmlsec-xmltree.functions"></a><h2>Functions</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> </colgroup> <tbody> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecNodeGetName" title="xmlSecNodeGetName()">xmlSecNodeGetName</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type">const <font><span class="returnvalue">xmlChar</span></font> * </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecGetDefaultLineFeed" title="xmlSecGetDefaultLineFeed ()">xmlSecGetDefaultLineFeed</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">void</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecSetDefaultLineFeed" title="xmlSecSetDefaultLineFeed ()">xmlSecSetDefaultLineFeed</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type">const <font><span class="returnvalue">xmlChar</span></font> * </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecGetNodeNsHref" title="xmlSecGetNodeNsHref ()">xmlSecGetNodeNsHref</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlChar</span></font> * </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecGetNodeContentAndTrim" title="xmlSecGetNodeContentAndTrim ()">xmlSecGetNodeContentAndTrim</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecGetNodeContentAsSize" title="xmlSecGetNodeContentAsSize ()">xmlSecGetNodeContentAsSize</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecGetNodeContentAsHex" title="xmlSecGetNodeContentAsHex ()">xmlSecGetNodeContentAsHex</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecSetNodeContentAsHex" title="xmlSecSetNodeContentAsHex ()">xmlSecSetNodeContentAsHex</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecCheckNodeName" title="xmlSecCheckNodeName ()">xmlSecCheckNodeName</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlNodePtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecGetNextElementNode" title="xmlSecGetNextElementNode ()">xmlSecGetNextElementNode</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlNodePtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecFindSibling" title="xmlSecFindSibling ()">xmlSecFindSibling</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlNodePtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecFindChild" title="xmlSecFindChild ()">xmlSecFindChild</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlNodePtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecFindParent" title="xmlSecFindParent ()">xmlSecFindParent</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlNodePtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecFindNode" title="xmlSecFindNode ()">xmlSecFindNode</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlNodePtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecAddChild" title="xmlSecAddChild ()">xmlSecAddChild</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlNodePtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecEnsureEmptyChild" title="xmlSecEnsureEmptyChild ()">xmlSecEnsureEmptyChild</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlNodePtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecAddChildNode" title="xmlSecAddChildNode ()">xmlSecAddChildNode</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlNodePtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecAddNextSibling" title="xmlSecAddNextSibling ()">xmlSecAddNextSibling</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlNodePtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecAddPrevSibling" title="xmlSecAddPrevSibling ()">xmlSecAddPrevSibling</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecReplaceNode" title="xmlSecReplaceNode ()">xmlSecReplaceNode</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecReplaceNodeAndReturn" title="xmlSecReplaceNodeAndReturn ()">xmlSecReplaceNodeAndReturn</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecReplaceContent" title="xmlSecReplaceContent ()">xmlSecReplaceContent</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecReplaceContentAndReturn" title="xmlSecReplaceContentAndReturn ()">xmlSecReplaceContentAndReturn</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecReplaceNodeBuffer" title="xmlSecReplaceNodeBuffer ()">xmlSecReplaceNodeBuffer</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecReplaceNodeBufferAndReturn" title="xmlSecReplaceNodeBufferAndReturn ()">xmlSecReplaceNodeBufferAndReturn</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecNodeEncodeAndSetContent" title="xmlSecNodeEncodeAndSetContent ()">xmlSecNodeEncodeAndSetContent</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">void</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecAddIDs" title="xmlSecAddIDs ()">xmlSecAddIDs</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlDocPtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecCreateTree" title="xmlSecCreateTree ()">xmlSecCreateTree</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecIsEmptyNode" title="xmlSecIsEmptyNode ()">xmlSecIsEmptyNode</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecIsEmptyString" title="xmlSecIsEmptyString ()">xmlSecIsEmptyString</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlChar</span></font> * </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecGetQName" title="xmlSecGetQName ()">xmlSecGetQName</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecPrintXmlString" title="xmlSecPrintXmlString ()">xmlSecPrintXmlString</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecIsHex" title="xmlSecIsHex()">xmlSecIsHex</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecGetHex" title="xmlSecGetHex()">xmlSecGetHex</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecFromHex" title="xmlSecFromHex()">xmlSecFromHex</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecFromHex2" title="xmlSecFromHex2()">xmlSecFromHex2</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="define_keyword">#define</td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecToHex" title="xmlSecToHex()">xmlSecToHex</a><span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlSecQName2IntegerInfoConstPtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2IntegerGetInfo" title="xmlSecQName2IntegerGetInfo ()">xmlSecQName2IntegerGetInfo</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2IntegerGetInteger" title="xmlSecQName2IntegerGetInteger ()">xmlSecQName2IntegerGetInteger</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2IntegerGetIntegerFromString" title="xmlSecQName2IntegerGetIntegerFromString ()">xmlSecQName2IntegerGetIntegerFromString</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlChar</span></font> * </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2IntegerGetStringFromInteger" title="xmlSecQName2IntegerGetStringFromInteger ()">xmlSecQName2IntegerGetStringFromInteger</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2IntegerNodeRead" title="xmlSecQName2IntegerNodeRead ()">xmlSecQName2IntegerNodeRead</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2IntegerNodeWrite" title="xmlSecQName2IntegerNodeWrite ()">xmlSecQName2IntegerNodeWrite</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2IntegerAttributeRead" title="xmlSecQName2IntegerAttributeRead ()">xmlSecQName2IntegerAttributeRead</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2IntegerAttributeWrite" title="xmlSecQName2IntegerAttributeWrite ()">xmlSecQName2IntegerAttributeWrite</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">void</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2IntegerDebugDump" title="xmlSecQName2IntegerDebugDump ()">xmlSecQName2IntegerDebugDump</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">void</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2IntegerDebugXmlDump" title="xmlSecQName2IntegerDebugXmlDump ()">xmlSecQName2IntegerDebugXmlDump</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlSecQName2BitMaskInfoConstPtr</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2BitMaskGetInfo" title="xmlSecQName2BitMaskGetInfo ()">xmlSecQName2BitMaskGetInfo</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2BitMaskGetBitMask" title="xmlSecQName2BitMaskGetBitMask ()">xmlSecQName2BitMaskGetBitMask</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2BitMaskNodesRead" title="xmlSecQName2BitMaskNodesRead ()">xmlSecQName2BitMaskNodesRead</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2BitMaskGetBitMaskFromString" title="xmlSecQName2BitMaskGetBitMaskFromString ()">xmlSecQName2BitMaskGetBitMaskFromString</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlChar</span></font> * </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2BitMaskGetStringFromBitMask" title="xmlSecQName2BitMaskGetStringFromBitMask ()">xmlSecQName2BitMaskGetStringFromBitMask</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">int</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2BitMaskNodesWrite" title="xmlSecQName2BitMaskNodesWrite ()">xmlSecQName2BitMaskNodesWrite</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">void</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2BitMaskDebugDump" title="xmlSecQName2BitMaskDebugDump ()">xmlSecQName2BitMaskDebugDump</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">void</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecQName2BitMaskDebugXmlDump" title="xmlSecQName2BitMaskDebugXmlDump ()">xmlSecQName2BitMaskDebugXmlDump</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">LPWSTR</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecWin32ConvertLocaleToUnicode" title="xmlSecWin32ConvertLocaleToUnicode ()">xmlSecWin32ConvertLocaleToUnicode</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">LPWSTR</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecWin32ConvertUtf8ToUnicode" title="xmlSecWin32ConvertUtf8ToUnicode ()">xmlSecWin32ConvertUtf8ToUnicode</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlChar</span></font> * </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecWin32ConvertUnicodeToUtf8" title="xmlSecWin32ConvertUnicodeToUtf8 ()">xmlSecWin32ConvertUnicodeToUtf8</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlChar</span></font> * </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecWin32ConvertLocaleToUtf8" title="xmlSecWin32ConvertLocaleToUtf8 ()">xmlSecWin32ConvertLocaleToUtf8</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">char</span></font> * </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecWin32ConvertUtf8ToLocale" title="xmlSecWin32ConvertUtf8ToLocale ()">xmlSecWin32ConvertUtf8ToLocale</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">xmlChar</span></font> * </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecWin32ConvertTstrToUtf8" title="xmlSecWin32ConvertTstrToUtf8 ()">xmlSecWin32ConvertTstrToUtf8</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <font><span class="returnvalue">LPTSTR</span></font> </td> <td class="function_name"> <a class="link" href="xmlsec-xmltree.html#xmlSecWin32ConvertUtf8ToTstr" title="xmlSecWin32ConvertUtf8ToTstr ()">xmlSecWin32ConvertUtf8ToTstr</a> <span class="c_punctuation">()</span> </td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="xmlsec-xmltree.other"></a><h2>Types and Values</h2> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> </colgroup> <tbody> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="xmlsec-xmltree.html#xmlSecQName2IntegerInfo" title="struct xmlSecQName2IntegerInfo">xmlSecQName2IntegerInfo</a></td> </tr> <tr> <td class="typedef_keyword">typedef</td> <td class="function_name"><font>xmlSecQName2IntegerInfoConstPtr</font></td> </tr> <tr> <td class="typedef_keyword">typedef</td> <td class="function_name"><a class="link" href="xmlsec-xmltree.html#xmlSecBitMask" title="xmlSecBitMask">xmlSecBitMask</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="xmlsec-xmltree.html#xmlSecQName2BitMaskInfo" title="struct xmlSecQName2BitMaskInfo">xmlSecQName2BitMaskInfo</a></td> </tr> <tr> <td class="typedef_keyword">typedef</td> <td class="function_name"><font>xmlSecQName2BitMaskInfoConstPtr</font></td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="xmlsec-xmltree.description"></a><h2>Description</h2> <p></p> </div> <div class="refsect1"> <a name="xmlsec-xmltree.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="xmlSecNodeGetName"></a><h3>xmlSecNodeGetName()</h3> <pre class="programlisting">#define xmlSecNodeGetName(node)</pre> <p>Macro. Returns node's name.</p> <div class="refsect3"> <a name="xmlSecNodeGetName.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the pointer to node.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecGetDefaultLineFeed"></a><h3>xmlSecGetDefaultLineFeed ()</h3> <pre class="programlisting">const <font><span class="returnvalue">xmlChar</span></font> * xmlSecGetDefaultLineFeed (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> <p>Gets the current default linefeed.</p> <div class="refsect3"> <a name="xmlSecGetDefaultLineFeed.returns"></a><h4>Returns</h4> <p> the current default linefeed.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecSetDefaultLineFeed"></a><h3>xmlSecSetDefaultLineFeed ()</h3> <pre class="programlisting"><font><span class="returnvalue">void</span></font> xmlSecSetDefaultLineFeed (<em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *linefeed</code></em>);</pre> <p>Sets the current default linefeed. The caller must ensure that the linefeed string exists for the lifetime of the program or until the new linefeed is set.</p> <div class="refsect3"> <a name="xmlSecSetDefaultLineFeed.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>linefeed</p></td> <td class="parameter_description"><p>default linefeed.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecGetNodeNsHref"></a><h3>xmlSecGetNodeNsHref ()</h3> <pre class="programlisting">const <font><span class="returnvalue">xmlChar</span></font> * xmlSecGetNodeNsHref (<em class="parameter"><code>const <font><span class="type">xmlNodePtr</span></font> cur</code></em>);</pre> <p>Get's node's namespace href.</p> <div class="refsect3"> <a name="xmlSecGetNodeNsHref.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>cur</p></td> <td class="parameter_description"><p>the pointer to node.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecGetNodeNsHref.returns"></a><h4>Returns</h4> <p> node's namespace href.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecGetNodeContentAndTrim"></a><h3>xmlSecGetNodeContentAndTrim ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlChar</span></font> * xmlSecGetNodeContentAndTrim (<em class="parameter"><code>const <font><span class="type">xmlNodePtr</span></font> cur</code></em>);</pre> <p>Reads <em class="parameter"><code>cur</code></em> node content and trims it (both sides).</p> <div class="refsect3"> <a name="xmlSecGetNodeContentAndTrim.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>cur</p></td> <td class="parameter_description"><p>the pointer to XML node.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecGetNodeContentAndTrim.returns"></a><h4>Returns</h4> <p> trimmed node content or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecGetNodeContentAsSize"></a><h3>xmlSecGetNodeContentAsSize ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecGetNodeContentAsSize (<em class="parameter"><code>const <font><span class="type">xmlNodePtr</span></font> cur</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmlsec.html#xmlSecSize" title="xmlSecSize"><span class="type">xmlSecSize</span></a> defValue</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmlsec.html#xmlSecSize" title="xmlSecSize"><span class="type">xmlSecSize</span></a> *res</code></em>);</pre> <p>Reads <em class="parameter"><code>cur</code></em> node content and converts it to xmlSecSize value.</p> <div class="refsect3"> <a name="xmlSecGetNodeContentAsSize.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>cur</p></td> <td class="parameter_description"><p>the pointer to XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>defValue</p></td> <td class="parameter_description"><p>the default value that will be returned in <em class="parameter"><code>res</code></em> if there is no node content.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>res</p></td> <td class="parameter_description"><p>the pointer to the result value.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecGetNodeContentAsSize.returns"></a><h4>Returns</h4> <p> 0 on success or -1 on error.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecGetNodeContentAsHex"></a><h3>xmlSecGetNodeContentAsHex ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecGetNodeContentAsHex (<em class="parameter"><code>const <font><span class="type">xmlNodePtr</span></font> cur</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-buffer.html#xmlSecBuffer" title="struct xmlSecBuffer"><span class="type">xmlSecBufferPtr</span></a> res</code></em>);</pre> <p>Reads <em class="parameter"><code>cur</code></em> node content (whitespace-trimmed), hex-decodes it, and stores the result in <em class="parameter"><code>res</code></em> . The buffer is emptied before writing.</p> <div class="refsect3"> <a name="xmlSecGetNodeContentAsHex.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>cur</p></td> <td class="parameter_description"><p>the pointer to XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>res</p></td> <td class="parameter_description"><p>the output buffer to store the decoded bytes.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecGetNodeContentAsHex.returns"></a><h4>Returns</h4> <p> 0 on success or -1 on error.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecSetNodeContentAsHex"></a><h3>xmlSecSetNodeContentAsHex ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecSetNodeContentAsHex (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <a class="link" href="xmlsec-xmlsec.html#xmlSecByte" title="xmlSecByte"><span class="type">xmlSecByte</span></a> *data</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmlsec.html#xmlSecSize" title="xmlSecSize"><span class="type">xmlSecSize</span></a> size</code></em>);</pre> <p>Hex-encodes <em class="parameter"><code>data</code></em> and stores the result as node content for <em class="parameter"><code>node</code></em> .</p> <div class="refsect3"> <a name="xmlSecSetNodeContentAsHex.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the pointer to XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>data</p></td> <td class="parameter_description"><p>the input bytes.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>size</p></td> <td class="parameter_description"><p>the input data size.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecSetNodeContentAsHex.returns"></a><h4>Returns</h4> <p> 0 on success or -1 on error.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecCheckNodeName"></a><h3>xmlSecCheckNodeName ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecCheckNodeName (<em class="parameter"><code>const <font><span class="type">xmlNodePtr</span></font> cur</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *ns</code></em>);</pre> <p>Checks that the node has a given name and a given namespace href.</p> <div class="refsect3"> <a name="xmlSecCheckNodeName.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>cur</p></td> <td class="parameter_description"><p>the pointer to an XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the name,</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>ns</p></td> <td class="parameter_description"><p>the namespace href.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecCheckNodeName.returns"></a><h4>Returns</h4> <p> 1 if the node matches or 0 otherwise.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecGetNextElementNode"></a><h3>xmlSecGetNextElementNode ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlNodePtr</span></font> xmlSecGetNextElementNode (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> cur</code></em>);</pre> <p>Seraches for the next element node.</p> <div class="refsect3"> <a name="xmlSecGetNextElementNode.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>cur</p></td> <td class="parameter_description"><p>the pointer to an XML node.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecGetNextElementNode.returns"></a><h4>Returns</h4> <p> the pointer to next element node or NULL if it is not found.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecFindSibling"></a><h3>xmlSecFindSibling ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlNodePtr</span></font> xmlSecFindSibling (<em class="parameter"><code>const <font><span class="type">xmlNodePtr</span></font> cur</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *ns</code></em>);</pre> <p>Searches <em class="parameter"><code>cur</code></em> and the next siblings of the <em class="parameter"><code>cur</code></em> node having given name and namespace href.</p> <div class="refsect3"> <a name="xmlSecFindSibling.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>cur</p></td> <td class="parameter_description"><p>the pointer to XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>ns</p></td> <td class="parameter_description"><p>the namespace href (may be NULL).</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecFindSibling.returns"></a><h4>Returns</h4> <p> the pointer to the found node or NULL if an error occurs or node is not found.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecFindChild"></a><h3>xmlSecFindChild ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlNodePtr</span></font> xmlSecFindChild (<em class="parameter"><code>const <font><span class="type">xmlNodePtr</span></font> parent</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *ns</code></em>);</pre> <p>Searches a direct child of the <em class="parameter"><code>parent</code></em> node having given name and namespace href.</p> <div class="refsect3"> <a name="xmlSecFindChild.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>parent</p></td> <td class="parameter_description"><p>the pointer to XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>ns</p></td> <td class="parameter_description"><p>the namespace href (may be NULL).</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecFindChild.returns"></a><h4>Returns</h4> <p> the pointer to the found node or NULL if an error occurs or node is not found.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecFindParent"></a><h3>xmlSecFindParent ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlNodePtr</span></font> xmlSecFindParent (<em class="parameter"><code>const <font><span class="type">xmlNodePtr</span></font> cur</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *ns</code></em>);</pre> <p>Searches the ancestors axis of the <em class="parameter"><code>cur</code></em> node for a node having given name and namespace href.</p> <div class="refsect3"> <a name="xmlSecFindParent.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>cur</p></td> <td class="parameter_description"><p>the pointer to an XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>ns</p></td> <td class="parameter_description"><p>the namespace href (may be NULL).</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecFindParent.returns"></a><h4>Returns</h4> <p> the pointer to the found node or NULL if an error occurs or node is not found.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecFindNode"></a><h3>xmlSecFindNode ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlNodePtr</span></font> xmlSecFindNode (<em class="parameter"><code>const <font><span class="type">xmlNodePtr</span></font> parent</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *ns</code></em>);</pre> <p>Searches all children of the <em class="parameter"><code>parent</code></em> node having given name and namespace href.</p> <div class="refsect3"> <a name="xmlSecFindNode.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>parent</p></td> <td class="parameter_description"><p>the pointer to XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>ns</p></td> <td class="parameter_description"><p>the namespace href (may be NULL).</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecFindNode.returns"></a><h4>Returns</h4> <p> the pointer to the found node or NULL if an error occurs or node is not found.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecAddChild"></a><h3>xmlSecAddChild ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlNodePtr</span></font> xmlSecAddChild (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> parent</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *ns</code></em>);</pre> <p>Adds a child to the node <em class="parameter"><code>parent</code></em> with given <em class="parameter"><code>name</code></em> and namespace <em class="parameter"><code>ns</code></em> .</p> <div class="refsect3"> <a name="xmlSecAddChild.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>parent</p></td> <td class="parameter_description"><p>the pointer to an XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the new node name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>ns</p></td> <td class="parameter_description"><p>the new node namespace.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecAddChild.returns"></a><h4>Returns</h4> <p> pointer to the new node or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecEnsureEmptyChild"></a><h3>xmlSecEnsureEmptyChild ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlNodePtr</span></font> xmlSecEnsureEmptyChild (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> parent</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *ns</code></em>);</pre> <p>Searches a direct child of the <em class="parameter"><code>parent</code></em> node having given name and namespace href. If not found then element node with given name / namespace is added.</p> <div class="refsect3"> <a name="xmlSecEnsureEmptyChild.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>parent</p></td> <td class="parameter_description"><p>the pointer to XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>ns</p></td> <td class="parameter_description"><p>the namespace href (may be NULL).</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecEnsureEmptyChild.returns"></a><h4>Returns</h4> <p> the pointer to the found or created node; or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecAddChildNode"></a><h3>xmlSecAddChildNode ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlNodePtr</span></font> xmlSecAddChildNode (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> parent</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> child</code></em>);</pre> <p>Adds <em class="parameter"><code>child</code></em> node to the <em class="parameter"><code>parent</code></em> node.</p> <div class="refsect3"> <a name="xmlSecAddChildNode.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>parent</p></td> <td class="parameter_description"><p>the pointer to an XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>child</p></td> <td class="parameter_description"><p>the new node.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecAddChildNode.returns"></a><h4>Returns</h4> <p> pointer to the new node or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecAddNextSibling"></a><h3>xmlSecAddNextSibling ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlNodePtr</span></font> xmlSecAddNextSibling (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *ns</code></em>);</pre> <p>Adds next sibling to the node <em class="parameter"><code>node</code></em> with given <em class="parameter"><code>name</code></em> and namespace <em class="parameter"><code>ns</code></em> .</p> <div class="refsect3"> <a name="xmlSecAddNextSibling.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the pointer to an XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the new node name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>ns</p></td> <td class="parameter_description"><p>the new node namespace.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecAddNextSibling.returns"></a><h4>Returns</h4> <p> pointer to the new node or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecAddPrevSibling"></a><h3>xmlSecAddPrevSibling ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlNodePtr</span></font> xmlSecAddPrevSibling (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *ns</code></em>);</pre> <p>Adds prev sibling to the node <em class="parameter"><code>node</code></em> with given <em class="parameter"><code>name</code></em> and namespace <em class="parameter"><code>ns</code></em> .</p> <div class="refsect3"> <a name="xmlSecAddPrevSibling.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the pointer to an XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the new node name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>ns</p></td> <td class="parameter_description"><p>the new node namespace.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecAddPrevSibling.returns"></a><h4>Returns</h4> <p> pointer to the new node or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecReplaceNode"></a><h3>xmlSecReplaceNode ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecReplaceNode (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> newNode</code></em>);</pre> <p>Swaps the <em class="parameter"><code>node</code></em> and <em class="parameter"><code>newNode</code></em> in the XML tree.</p> <div class="refsect3"> <a name="xmlSecReplaceNode.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the current node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>newNode</p></td> <td class="parameter_description"><p>the new node.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecReplaceNode.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecReplaceNodeAndReturn"></a><h3>xmlSecReplaceNodeAndReturn ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecReplaceNodeAndReturn (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> newNode</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> *replaced</code></em>);</pre> <p>Swaps the <em class="parameter"><code>node</code></em> and <em class="parameter"><code>newNode</code></em> in the XML tree.</p> <div class="refsect3"> <a name="xmlSecReplaceNodeAndReturn.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the current node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>newNode</p></td> <td class="parameter_description"><p>the new node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>replaced</p></td> <td class="parameter_description"><p>the replaced node, or release it if NULL is given</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecReplaceNodeAndReturn.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecReplaceContent"></a><h3>xmlSecReplaceContent ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecReplaceContent (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> newNode</code></em>);</pre> <p>Swaps the content of <em class="parameter"><code>node</code></em> and <em class="parameter"><code>newNode</code></em> .</p> <div class="refsect3"> <a name="xmlSecReplaceContent.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the current node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>newNode</p></td> <td class="parameter_description"><p>the new node.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecReplaceContent.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecReplaceContentAndReturn"></a><h3>xmlSecReplaceContentAndReturn ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecReplaceContentAndReturn (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> newNode</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> *replaced</code></em>);</pre> <p>Swaps the content of <em class="parameter"><code>node</code></em> and <em class="parameter"><code>newNode</code></em> .</p> <div class="refsect3"> <a name="xmlSecReplaceContentAndReturn.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the current node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>newNode</p></td> <td class="parameter_description"><p>the new node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>replaced</p></td> <td class="parameter_description"><p>the replaced nodes, or release them if NULL is given</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecReplaceContentAndReturn.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecReplaceNodeBuffer"></a><h3>xmlSecReplaceNodeBuffer ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecReplaceNodeBuffer (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <a class="link" href="xmlsec-xmlsec.html#xmlSecByte" title="xmlSecByte"><span class="type">xmlSecByte</span></a> *buffer</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmlsec.html#xmlSecSize" title="xmlSecSize"><span class="type">xmlSecSize</span></a> size</code></em>);</pre> <p>Swaps the <em class="parameter"><code>node</code></em> and the parsed XML data from the <em class="parameter"><code>buffer</code></em> in the XML tree.</p> <div class="refsect3"> <a name="xmlSecReplaceNodeBuffer.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the current node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>buffer</p></td> <td class="parameter_description"><p>the XML data.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>size</p></td> <td class="parameter_description"><p>the XML data size.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecReplaceNodeBuffer.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecReplaceNodeBufferAndReturn"></a><h3>xmlSecReplaceNodeBufferAndReturn ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecReplaceNodeBufferAndReturn (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <a class="link" href="xmlsec-xmlsec.html#xmlSecByte" title="xmlSecByte"><span class="type">xmlSecByte</span></a> *buffer</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmlsec.html#xmlSecSize" title="xmlSecSize"><span class="type">xmlSecSize</span></a> size</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> *replaced</code></em>);</pre> <p>Swaps the <em class="parameter"><code>node</code></em> and the parsed XML data from the <em class="parameter"><code>buffer</code></em> in the XML tree.</p> <div class="refsect3"> <a name="xmlSecReplaceNodeBufferAndReturn.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the current node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>buffer</p></td> <td class="parameter_description"><p>the XML data.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>size</p></td> <td class="parameter_description"><p>the XML data size.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>replaced</p></td> <td class="parameter_description"><p>the replaced nodes, or release them if NULL is given</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecReplaceNodeBufferAndReturn.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecNodeEncodeAndSetContent"></a><h3>xmlSecNodeEncodeAndSetContent ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecNodeEncodeAndSetContent (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *buffer</code></em>);</pre> <p>Encodes "special" characters in the <em class="parameter"><code>buffer</code></em> and sets the result as the node content.</p> <div class="refsect3"> <a name="xmlSecNodeEncodeAndSetContent.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the pointer to an XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>buffer</p></td> <td class="parameter_description"><p>the pointer to the node content.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecNodeEncodeAndSetContent.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecAddIDs"></a><h3>xmlSecAddIDs ()</h3> <pre class="programlisting"><font><span class="returnvalue">void</span></font> xmlSecAddIDs (<em class="parameter"><code><font><span class="type">xmlDocPtr</span></font> doc</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> cur</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> **ids</code></em>);</pre> <p>Walks thru all children of the <em class="parameter"><code>cur</code></em> node and adds all attributes from the <em class="parameter"><code>ids</code></em> list to the <em class="parameter"><code>doc</code></em> document IDs attributes hash.</p> <div class="refsect3"> <a name="xmlSecAddIDs.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>doc</p></td> <td class="parameter_description"><p>the pointer to an XML document.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>cur</p></td> <td class="parameter_description"><p>the pointer to an XML node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>ids</p></td> <td class="parameter_description"><p>the pointer to a NULL terminated list of ID attributes.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecCreateTree"></a><h3>xmlSecCreateTree ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlDocPtr</span></font> xmlSecCreateTree (<em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *rootNodeName</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *rootNodeNs</code></em>);</pre> <p>Creates a new XML tree with one root node <em class="parameter"><code>rootNodeName</code></em> .</p> <div class="refsect3"> <a name="xmlSecCreateTree.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>rootNodeName</p></td> <td class="parameter_description"><p>the root node name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>rootNodeNs</p></td> <td class="parameter_description"><p>the root node namespace (optional).</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecCreateTree.returns"></a><h4>Returns</h4> <p> pointer to the newly created tree or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecIsEmptyNode"></a><h3>xmlSecIsEmptyNode ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecIsEmptyNode (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>);</pre> <p>Checks whether the <em class="parameter"><code>node</code></em> is empty (i.e. has only whitespaces children).</p> <div class="refsect3"> <a name="xmlSecIsEmptyNode.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the node to check</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecIsEmptyNode.returns"></a><h4>Returns</h4> <p> 1 if <em class="parameter"><code>node</code></em> is empty, 0 otherwise or a negative value if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecIsEmptyString"></a><h3>xmlSecIsEmptyString ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecIsEmptyString (<em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *str</code></em>);</pre> <p>Checks whether the <em class="parameter"><code>str</code></em> is empty (i.e. has only whitespaces children).</p> <div class="refsect3"> <a name="xmlSecIsEmptyString.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>str</p></td> <td class="parameter_description"><p>the string to check</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecIsEmptyString.returns"></a><h4>Returns</h4> <p> 1 if <em class="parameter"><code>str</code></em> is empty, 0 otherwise or a negative value if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecGetQName"></a><h3>xmlSecGetQName ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlChar</span></font> * xmlSecGetQName (<em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *href</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *local</code></em>);</pre> <p>Creates QName (prefix:local) from <em class="parameter"><code>href</code></em> and <em class="parameter"><code>local</code></em> in the context of the <em class="parameter"><code>node</code></em> . Caller is responsible for freeing returned string with xmlFree.</p> <div class="refsect3"> <a name="xmlSecGetQName.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the context node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>href</p></td> <td class="parameter_description"><p>the QName href (can be NULL).</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>local</p></td> <td class="parameter_description"><p>the QName local part.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecGetQName.returns"></a><h4>Returns</h4> <p> qname or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecPrintXmlString"></a><h3>xmlSecPrintXmlString ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecPrintXmlString (<em class="parameter"><code><font><span class="type">FILE</span></font> *fd</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *str</code></em>);</pre> <p>Encodes the <em class="parameter"><code>str</code></em> (e.g. replaces '&' with '&') and writes it to <em class="parameter"><code>fd</code></em> .</p> <div class="refsect3"> <a name="xmlSecPrintXmlString.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>fd</p></td> <td class="parameter_description"><p>the file descriptor to write the XML string to</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>str</p></td> <td class="parameter_description"><p>the string</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecPrintXmlString.returns"></a><h4>Returns</h4> <p> he number of bytes transmitted or a negative value if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecIsHex"></a><h3>xmlSecIsHex()</h3> <pre class="programlisting">#define xmlSecIsHex(c)</pre> <p>Macro. Returns 1 if <em class="parameter"><code>c</code></em> is a hex digit or 0 other wise.</p> <div class="refsect3"> <a name="xmlSecIsHex.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>c</p></td> <td class="parameter_description"><p>the character.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecGetHex"></a><h3>xmlSecGetHex()</h3> <pre class="programlisting">#define xmlSecGetHex(ch) xmlSecFromHex(ch) </pre> <p>Deprecated. Macro. Returns the hex value of the <em class="parameter"><code>ch</code></em> .</p> <div class="refsect3"> <a name="xmlSecGetHex.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>ch</p></td> <td class="parameter_description"><p>the character,</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecFromHex"></a><h3>xmlSecFromHex()</h3> <pre class="programlisting">#define xmlSecFromHex(ch)</pre> <p>Macro. Returns the hex value of the <em class="parameter"><code>ch</code></em> .</p> <div class="refsect3"> <a name="xmlSecFromHex.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>ch</p></td> <td class="parameter_description"><p>the character,</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecFromHex2"></a><h3>xmlSecFromHex2()</h3> <pre class="programlisting">#define xmlSecFromHex2(ch1, ch2) ((xmlSecByte)((xmlSecFromHex(ch1) << 4) | (xmlSecFromHex(ch2)))) </pre> <p>Macro. Returns the hex value of the pair (<em class="parameter"><code>c1</code></em> <em class="parameter"><code>c2</code></em> ).</p> <div class="refsect3"> <a name="xmlSecFromHex2.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>ch1</p></td> <td class="parameter_description"><p>the first character,</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>ch2</p></td> <td class="parameter_description"><p>the second character,</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecToHex"></a><h3>xmlSecToHex()</h3> <pre class="programlisting">#define xmlSecToHex(vv)</pre> <p>Macro. Returns the hex character of the <em class="parameter"><code>vv</code></em> .</p> <div class="refsect3"> <a name="xmlSecToHex.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>vv</p></td> <td class="parameter_description"><p>the value,</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2IntegerGetInfo"></a><h3>xmlSecQName2IntegerGetInfo ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlSecQName2IntegerInfoConstPtr</span></font> xmlSecQName2IntegerGetInfo (<em class="parameter"><code><font><span class="type">xmlSecQName2IntegerInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">int</span></font> intValue</code></em>);</pre> <p>Maps integer <em class="parameter"><code>intValue</code></em> to a QName prefix.</p> <div class="refsect3"> <a name="xmlSecQName2IntegerGetInfo.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>intValue</p></td> <td class="parameter_description"><p>the integer value.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2IntegerGetInfo.returns"></a><h4>Returns</h4> <p> the QName info that is mapped to <em class="parameter"><code>intValue</code></em> or NULL if such value is not found.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2IntegerGetInteger"></a><h3>xmlSecQName2IntegerGetInteger ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecQName2IntegerGetInteger (<em class="parameter"><code><font><span class="type">xmlSecQName2IntegerInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *qnameHref</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *qnameLocalPart</code></em>, <em class="parameter"><code><font><span class="type">int</span></font> *intValue</code></em>);</pre> <p>Maps qname qname to an integer and returns it in <em class="parameter"><code>intValue</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2IntegerGetInteger.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>qnameHref</p></td> <td class="parameter_description"><p>the qname href value.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>qnameLocalPart</p></td> <td class="parameter_description"><p>the qname local part value.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>intValue</p></td> <td class="parameter_description"><p>the pointer to result integer value.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2IntegerGetInteger.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2IntegerGetIntegerFromString"></a><h3>xmlSecQName2IntegerGetIntegerFromString ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecQName2IntegerGetIntegerFromString (<em class="parameter"><code><font><span class="type">xmlSecQName2IntegerInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *qname</code></em>, <em class="parameter"><code><font><span class="type">int</span></font> *intValue</code></em>);</pre> <p>Converts <em class="parameter"><code>qname</code></em> into integer in context of <em class="parameter"><code>node</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2IntegerGetIntegerFromString.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the pointer to node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>qname</p></td> <td class="parameter_description"><p>the qname string.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>intValue</p></td> <td class="parameter_description"><p>the pointer to result integer value.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2IntegerGetIntegerFromString.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2IntegerGetStringFromInteger"></a><h3>xmlSecQName2IntegerGetStringFromInteger ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlChar</span></font> * xmlSecQName2IntegerGetStringFromInteger (<em class="parameter"><code><font><span class="type">xmlSecQName2IntegerInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code><font><span class="type">int</span></font> intValue</code></em>);</pre> <p>Creates qname string for <em class="parameter"><code>intValue</code></em> in context of given <em class="parameter"><code>node</code></em> . Caller is responsible for freeing returned string with <em class="parameter"><code>xmlFree</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2IntegerGetStringFromInteger.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the pointer to node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>intValue</p></td> <td class="parameter_description"><p>the integer value.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2IntegerGetStringFromInteger.returns"></a><h4>Returns</h4> <p> pointer to newly allocated string on success or NULL if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2IntegerNodeRead"></a><h3>xmlSecQName2IntegerNodeRead ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecQName2IntegerNodeRead (<em class="parameter"><code><font><span class="type">xmlSecQName2IntegerInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code><font><span class="type">int</span></font> *intValue</code></em>);</pre> <p>Reads the content of <em class="parameter"><code>node</code></em> and converts it to an integer using mapping from <em class="parameter"><code>info</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2IntegerNodeRead.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the pointer to node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>intValue</p></td> <td class="parameter_description"><p>the pointer to result integer value.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2IntegerNodeRead.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2IntegerNodeWrite"></a><h3>xmlSecQName2IntegerNodeWrite ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecQName2IntegerNodeWrite (<em class="parameter"><code><font><span class="type">xmlSecQName2IntegerInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *nodeName</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *nodeNs</code></em>, <em class="parameter"><code><font><span class="type">int</span></font> intValue</code></em>);</pre> <p>Creates new child node in <em class="parameter"><code>node</code></em> and sets its value to <em class="parameter"><code>intValue</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2IntegerNodeWrite.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the parent node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nodeName</p></td> <td class="parameter_description"><p>the child node name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nodeNs</p></td> <td class="parameter_description"><p>the child node namespace.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>intValue</p></td> <td class="parameter_description"><p>the integer value.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2IntegerNodeWrite.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2IntegerAttributeRead"></a><h3>xmlSecQName2IntegerAttributeRead ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecQName2IntegerAttributeRead (<em class="parameter"><code><font><span class="type">xmlSecQName2IntegerInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *attrName</code></em>, <em class="parameter"><code><font><span class="type">int</span></font> *intValue</code></em>);</pre> <p>Gets the value of <em class="parameter"><code>attrName</code></em> atrtibute from <em class="parameter"><code>node</code></em> and converts it to integer according to <em class="parameter"><code>info</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2IntegerAttributeRead.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the element node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>attrName</p></td> <td class="parameter_description"><p>the attribute name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>intValue</p></td> <td class="parameter_description"><p>the pointer to result integer value.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2IntegerAttributeRead.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2IntegerAttributeWrite"></a><h3>xmlSecQName2IntegerAttributeWrite ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecQName2IntegerAttributeWrite (<em class="parameter"><code><font><span class="type">xmlSecQName2IntegerInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *attrName</code></em>, <em class="parameter"><code><font><span class="type">int</span></font> intValue</code></em>);</pre> <p>Converts <em class="parameter"><code>intValue</code></em> to a qname and sets it to the value of attribute <em class="parameter"><code>attrName</code></em> in <em class="parameter"><code>node</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2IntegerAttributeWrite.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the parent node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>attrName</p></td> <td class="parameter_description"><p>the name of attribute.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>intValue</p></td> <td class="parameter_description"><p>the integer value.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2IntegerAttributeWrite.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2IntegerDebugDump"></a><h3>xmlSecQName2IntegerDebugDump ()</h3> <pre class="programlisting"><font><span class="returnvalue">void</span></font> xmlSecQName2IntegerDebugDump (<em class="parameter"><code><font><span class="type">xmlSecQName2IntegerInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">int</span></font> intValue</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code><font><span class="type">FILE</span></font> *output</code></em>);</pre> <p>Prints <em class="parameter"><code>intValue</code></em> into <em class="parameter"><code>output</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2IntegerDebugDump.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>intValue</p></td> <td class="parameter_description"><p>the integer value.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the value name to print.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>output</p></td> <td class="parameter_description"><p>the pointer to output FILE.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2IntegerDebugXmlDump"></a><h3>xmlSecQName2IntegerDebugXmlDump ()</h3> <pre class="programlisting"><font><span class="returnvalue">void</span></font> xmlSecQName2IntegerDebugXmlDump (<em class="parameter"><code><font><span class="type">xmlSecQName2IntegerInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">int</span></font> intValue</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code><font><span class="type">FILE</span></font> *output</code></em>);</pre> <p>Prints <em class="parameter"><code>intValue</code></em> into <em class="parameter"><code>output</code></em> in XML format.</p> <div class="refsect3"> <a name="xmlSecQName2IntegerDebugXmlDump.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>intValue</p></td> <td class="parameter_description"><p>the integer value.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the value name to print.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>output</p></td> <td class="parameter_description"><p>the pointer to output FILE.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2BitMaskGetInfo"></a><h3>xmlSecQName2BitMaskGetInfo ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlSecQName2BitMaskInfoConstPtr</span></font> xmlSecQName2BitMaskGetInfo (<em class="parameter"><code><font><span class="type">xmlSecQName2BitMaskInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmltree.html#xmlSecBitMask" title="xmlSecBitMask"><span class="type">xmlSecBitMask</span></a> mask</code></em>);</pre> <p>Converts <em class="parameter"><code>mask</code></em> to qname.</p> <div class="refsect3"> <a name="xmlSecQName2BitMaskGetInfo.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->bit mask mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>mask</p></td> <td class="parameter_description"><p>the bit mask.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2BitMaskGetInfo.returns"></a><h4>Returns</h4> <p> pointer to the qname info for <em class="parameter"><code>mask</code></em> or NULL if mask is unknown.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2BitMaskGetBitMask"></a><h3>xmlSecQName2BitMaskGetBitMask ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecQName2BitMaskGetBitMask (<em class="parameter"><code><font><span class="type">xmlSecQName2BitMaskInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *qnameLocalPart</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *qnameHref</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmltree.html#xmlSecBitMask" title="xmlSecBitMask"><span class="type">xmlSecBitMask</span></a> *mask</code></em>);</pre> <p>Converts <em class="parameter"><code>qnameLocalPart</code></em> to <em class="parameter"><code>mask</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2BitMaskGetBitMask.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->bit mask mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>qnameHref</p></td> <td class="parameter_description"><p>the qname Href value.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>qnameLocalPart</p></td> <td class="parameter_description"><p>the qname LocalPart value.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>mask</p></td> <td class="parameter_description"><p>the pointer to result mask.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2BitMaskGetBitMask.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2BitMaskNodesRead"></a><h3>xmlSecQName2BitMaskNodesRead ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecQName2BitMaskNodesRead (<em class="parameter"><code><font><span class="type">xmlSecQName2BitMaskInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> *node</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *nodeName</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *nodeNs</code></em>, <em class="parameter"><code><font><span class="type">int</span></font> stopOnUnknown</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmltree.html#xmlSecBitMask" title="xmlSecBitMask"><span class="type">xmlSecBitMask</span></a> *mask</code></em>);</pre> <p>Reads <<em class="parameter"><code>nodeNs</code></em> :<em class="parameter"><code>nodeName</code></em> > elements and puts the result bit mask into <em class="parameter"><code>mask</code></em> . When function exits, <em class="parameter"><code>node</code></em> points to the first element node after all the <<em class="parameter"><code>nodeNs</code></em> :<em class="parameter"><code>nodeName</code></em> > elements.</p> <div class="refsect3"> <a name="xmlSecQName2BitMaskNodesRead.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->bit mask mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the start.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nodeName</p></td> <td class="parameter_description"><p>the mask nodes name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nodeNs</p></td> <td class="parameter_description"><p>the mask nodes namespace.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>stopOnUnknown</p></td> <td class="parameter_description"><p>if this flag is set then function exits if unknown value was found.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>mask</p></td> <td class="parameter_description"><p>the pointer to result mask.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2BitMaskNodesRead.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2BitMaskGetBitMaskFromString"></a><h3>xmlSecQName2BitMaskGetBitMaskFromString ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecQName2BitMaskGetBitMaskFromString (<em class="parameter"><code><font><span class="type">xmlSecQName2BitMaskInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *qname</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmltree.html#xmlSecBitMask" title="xmlSecBitMask"><span class="type">xmlSecBitMask</span></a> *mask</code></em>);</pre> <p>Converts <em class="parameter"><code>qname</code></em> into integer in context of <em class="parameter"><code>node</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2BitMaskGetBitMaskFromString.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the pointer to node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>qname</p></td> <td class="parameter_description"><p>the qname string.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>mask</p></td> <td class="parameter_description"><p>the pointer to result msk value.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2BitMaskGetBitMaskFromString.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2BitMaskGetStringFromBitMask"></a><h3>xmlSecQName2BitMaskGetStringFromBitMask ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlChar</span></font> * xmlSecQName2BitMaskGetStringFromBitMask (<em class="parameter"><code><font><span class="type">xmlSecQName2BitMaskInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmltree.html#xmlSecBitMask" title="xmlSecBitMask"><span class="type">xmlSecBitMask</span></a> mask</code></em>);</pre> <p>Creates qname string for <em class="parameter"><code>mask</code></em> in context of given <em class="parameter"><code>node</code></em> . Caller is responsible for freeing returned string with <em class="parameter"><code>xmlFree</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2BitMaskGetStringFromBitMask.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->integer mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the pointer to node.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>mask</p></td> <td class="parameter_description"><p>the mask.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2BitMaskGetStringFromBitMask.returns"></a><h4>Returns</h4> <p> pointer to newly allocated string on success or NULL if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2BitMaskNodesWrite"></a><h3>xmlSecQName2BitMaskNodesWrite ()</h3> <pre class="programlisting"><font><span class="returnvalue">int</span></font> xmlSecQName2BitMaskNodesWrite (<em class="parameter"><code><font><span class="type">xmlSecQName2BitMaskInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><font><span class="type">xmlNodePtr</span></font> node</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *nodeName</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *nodeNs</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmltree.html#xmlSecBitMask" title="xmlSecBitMask"><span class="type">xmlSecBitMask</span></a> mask</code></em>);</pre> <p>Writes <<em class="parameter"><code>nodeNs</code></em> :<em class="parameter"><code>nodeName</code></em> > elemnts with values from <em class="parameter"><code>mask</code></em> to <em class="parameter"><code>node</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2BitMaskNodesWrite.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->bit mask mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>node</p></td> <td class="parameter_description"><p>the parent element for mask nodes.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nodeName</p></td> <td class="parameter_description"><p>the mask nodes name.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>nodeNs</p></td> <td class="parameter_description"><p>the mask nodes namespace.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>mask</p></td> <td class="parameter_description"><p>the bit mask.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecQName2BitMaskNodesWrite.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs,</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2BitMaskDebugDump"></a><h3>xmlSecQName2BitMaskDebugDump ()</h3> <pre class="programlisting"><font><span class="returnvalue">void</span></font> xmlSecQName2BitMaskDebugDump (<em class="parameter"><code><font><span class="type">xmlSecQName2BitMaskInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmltree.html#xmlSecBitMask" title="xmlSecBitMask"><span class="type">xmlSecBitMask</span></a> mask</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code><font><span class="type">FILE</span></font> *output</code></em>);</pre> <p>Prints debug information about <em class="parameter"><code>mask</code></em> to <em class="parameter"><code>output</code></em> .</p> <div class="refsect3"> <a name="xmlSecQName2BitMaskDebugDump.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->bit mask mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>mask</p></td> <td class="parameter_description"><p>the bit mask.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the value name to print.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>output</p></td> <td class="parameter_description"><p>the pointer to output FILE.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2BitMaskDebugXmlDump"></a><h3>xmlSecQName2BitMaskDebugXmlDump ()</h3> <pre class="programlisting"><font><span class="returnvalue">void</span></font> xmlSecQName2BitMaskDebugXmlDump (<em class="parameter"><code><font><span class="type">xmlSecQName2BitMaskInfoConstPtr</span></font> info</code></em>, <em class="parameter"><code><a class="link" href="xmlsec-xmltree.html#xmlSecBitMask" title="xmlSecBitMask"><span class="type">xmlSecBitMask</span></a> mask</code></em>, <em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *name</code></em>, <em class="parameter"><code><font><span class="type">FILE</span></font> *output</code></em>);</pre> <p>Prints debug information about <em class="parameter"><code>mask</code></em> to <em class="parameter"><code>output</code></em> in XML format.</p> <div class="refsect3"> <a name="xmlSecQName2BitMaskDebugXmlDump.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="parameter_name"><p>info</p></td> <td class="parameter_description"><p>the qname<->bit mask mapping information.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>mask</p></td> <td class="parameter_description"><p>the bit mask.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>name</p></td> <td class="parameter_description"><p>the value name to print.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>output</p></td> <td class="parameter_description"><p>the pointer to output FILE.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecWin32ConvertLocaleToUnicode"></a><h3>xmlSecWin32ConvertLocaleToUnicode ()</h3> <pre class="programlisting"><font><span class="returnvalue">LPWSTR</span></font> xmlSecWin32ConvertLocaleToUnicode (<em class="parameter"><code>const <font><span class="type">char</span></font> *str</code></em>);</pre> <p>Converts input string from current system locale to Unicode.</p> <div class="refsect3"> <a name="xmlSecWin32ConvertLocaleToUnicode.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>str</p></td> <td class="parameter_description"><p>the string to convert.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecWin32ConvertLocaleToUnicode.returns"></a><h4>Returns</h4> <p> a pointer to newly allocated string (must be freed with xmlFree) or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecWin32ConvertUtf8ToUnicode"></a><h3>xmlSecWin32ConvertUtf8ToUnicode ()</h3> <pre class="programlisting"><font><span class="returnvalue">LPWSTR</span></font> xmlSecWin32ConvertUtf8ToUnicode (<em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *str</code></em>);</pre> <p>Converts input string from UTF8 to Unicode.</p> <div class="refsect3"> <a name="xmlSecWin32ConvertUtf8ToUnicode.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>str</p></td> <td class="parameter_description"><p>the string to convert.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecWin32ConvertUtf8ToUnicode.returns"></a><h4>Returns</h4> <p> a pointer to newly allocated string (must be freed with xmlFree) or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecWin32ConvertUnicodeToUtf8"></a><h3>xmlSecWin32ConvertUnicodeToUtf8 ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlChar</span></font> * xmlSecWin32ConvertUnicodeToUtf8 (<em class="parameter"><code><font><span class="type">LPCWSTR</span></font> str</code></em>);</pre> <p>Converts input string from Unicode to UTF8.</p> <div class="refsect3"> <a name="xmlSecWin32ConvertUnicodeToUtf8.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>str</p></td> <td class="parameter_description"><p>the string to convert.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecWin32ConvertUnicodeToUtf8.returns"></a><h4>Returns</h4> <p> a pointer to newly allocated string (must be freed with xmlFree) or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecWin32ConvertLocaleToUtf8"></a><h3>xmlSecWin32ConvertLocaleToUtf8 ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlChar</span></font> * xmlSecWin32ConvertLocaleToUtf8 (<em class="parameter"><code>const <font><span class="type">char</span></font> *str</code></em>);</pre> <p>Converts input string from locale to UTF8.</p> <div class="refsect3"> <a name="xmlSecWin32ConvertLocaleToUtf8.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>str</p></td> <td class="parameter_description"><p>the string to convert.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecWin32ConvertLocaleToUtf8.returns"></a><h4>Returns</h4> <p> a pointer to newly allocated string (must be freed with xmlFree) or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecWin32ConvertUtf8ToLocale"></a><h3>xmlSecWin32ConvertUtf8ToLocale ()</h3> <pre class="programlisting"><font><span class="returnvalue">char</span></font> * xmlSecWin32ConvertUtf8ToLocale (<em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *str</code></em>);</pre> <p>Converts input string from UTF8 to locale.</p> <div class="refsect3"> <a name="xmlSecWin32ConvertUtf8ToLocale.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>str</p></td> <td class="parameter_description"><p>the string to convert.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecWin32ConvertUtf8ToLocale.returns"></a><h4>Returns</h4> <p> a pointer to newly allocated string (must be freed with xmlFree) or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecWin32ConvertTstrToUtf8"></a><h3>xmlSecWin32ConvertTstrToUtf8 ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlChar</span></font> * xmlSecWin32ConvertTstrToUtf8 (<em class="parameter"><code><font><span class="type">LPCTSTR</span></font> str</code></em>);</pre> <p>Converts input string from TSTR (locale or Unicode) to UTF8.</p> <div class="refsect3"> <a name="xmlSecWin32ConvertTstrToUtf8.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>str</p></td> <td class="parameter_description"><p>the string to convert.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecWin32ConvertTstrToUtf8.returns"></a><h4>Returns</h4> <p> a pointer to newly allocated string (must be freed with xmlFree) or NULL if an error occurs.</p> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecWin32ConvertUtf8ToTstr"></a><h3>xmlSecWin32ConvertUtf8ToTstr ()</h3> <pre class="programlisting"><font><span class="returnvalue">LPTSTR</span></font> xmlSecWin32ConvertUtf8ToTstr (<em class="parameter"><code>const <font><span class="type">xmlChar</span></font> *str</code></em>);</pre> <p>Converts input string from UTF8 to TSTR (locale or Unicode).</p> <div class="refsect3"> <a name="xmlSecWin32ConvertUtf8ToTstr.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody><tr> <td class="parameter_name"><p>str</p></td> <td class="parameter_description"><p>the string to convert.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="xmlSecWin32ConvertUtf8ToTstr.returns"></a><h4>Returns</h4> <p> a pointer to newly allocated string (must be freed with xmlFree) or NULL if an error occurs.</p> </div> </div> </div> <div class="refsect1"> <a name="xmlsec-xmltree.other_details"></a><h2>Types and Values</h2> <div class="refsect2"> <a name="xmlSecQName2IntegerInfo"></a><h3>struct xmlSecQName2IntegerInfo</h3> <pre class="programlisting">struct xmlSecQName2IntegerInfo { const xmlChar* qnameHref; const xmlChar* qnameLocalPart; int intValue; }; </pre> <p>QName <-> Integer conversion definition.</p> <div class="refsect3"> <a name="xmlSecQName2IntegerInfo.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="struct_member_name"><p>const <font><span class="type">xmlChar</span></font> *<em class="structfield"><code><a name="xmlSecQName2IntegerInfo.qnameHref"></a>qnameHref</code></em>;</p></td> <td class="struct_member_description"><p>the QName href</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p>const <font><span class="type">xmlChar</span></font> *<em class="structfield"><code><a name="xmlSecQName2IntegerInfo.qnameLocalPart"></a>qnameLocalPart</code></em>;</p></td> <td class="struct_member_description"><p>the QName local</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><font><span class="type">int</span></font> <em class="structfield"><code><a name="xmlSecQName2IntegerInfo.intValue"></a>intValue</code></em>;</p></td> <td class="struct_member_description"><p>the integer value</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2IntegerInfoConstPtr"></a><h3>xmlSecQName2IntegerInfoConstPtr</h3> <pre class="programlisting">typedef const xmlSecQName2IntegerInfo * xmlSecQName2IntegerInfoConstPtr; </pre> <p>Pointer to constant QName <-> Integer conversion definition.</p> </div> <hr> <div class="refsect2"> <a name="xmlSecBitMask"></a><h3>xmlSecBitMask</h3> <pre class="programlisting">typedef unsigned int xmlSecBitMask; </pre> <p>Bitmask datatype.</p> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2BitMaskInfo"></a><h3>struct xmlSecQName2BitMaskInfo</h3> <pre class="programlisting">struct xmlSecQName2BitMaskInfo { const xmlChar* qnameHref; const xmlChar* qnameLocalPart; xmlSecBitMask mask; }; </pre> <p>QName <-> Bitmask conversion definition.</p> <div class="refsect3"> <a name="xmlSecQName2BitMaskInfo.members"></a><h4>Members</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col> <col> <col> </colgroup> <tbody> <tr> <td class="struct_member_name"><p>const <font><span class="type">xmlChar</span></font> *<em class="structfield"><code><a name="xmlSecQName2BitMaskInfo.qnameHref"></a>qnameHref</code></em>;</p></td> <td class="struct_member_description"><p>the QName href</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p>const <font><span class="type">xmlChar</span></font> *<em class="structfield"><code><a name="xmlSecQName2BitMaskInfo.qnameLocalPart"></a>qnameLocalPart</code></em>;</p></td> <td class="struct_member_description"><p>the QName local</p></td> <td class="struct_member_annotations"> </td> </tr> <tr> <td class="struct_member_name"><p><a class="link" href="xmlsec-xmltree.html#xmlSecBitMask" title="xmlSecBitMask"><span class="type">xmlSecBitMask</span></a> <em class="structfield"><code><a name="xmlSecQName2BitMaskInfo.mask"></a>mask</code></em>;</p></td> <td class="struct_member_description"><p>the bitmask value</p></td> <td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="xmlSecQName2BitMaskInfoConstPtr"></a><h3>xmlSecQName2BitMaskInfoConstPtr</h3> <pre class="programlisting">typedef const xmlSecQName2BitMaskInfo* xmlSecQName2BitMaskInfoConstPtr; </pre> <p>Pointer to constant QName <-> Bitmask conversion definition.</p> </div> </div> </div> <div class="footer"> <hr>Generated by GTK-Doc V1.34.0</div> </td></tr></table></td> </tr></table></body> </html>