| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 |
<meta http-equiv="X-UA-Compatible" content="IE=11"/> |
| 6 |
<meta name="generator" content="Doxygen 1.15.0"/> |
| 7 |
<meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 |
<title>Hardware Locality (hwloc): export.h Source File</title> |
| 9 |
<link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 |
<script type="text/javascript" src="jquery.js"></script> |
| 11 |
<script type="text/javascript" src="dynsections.js"></script> |
| 12 |
<script type="text/javascript" src="clipboard.js"></script> |
| 13 |
<link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 14 |
</head> |
| 15 |
<body> |
| 16 |
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 17 |
<div id="titlearea"> |
| 18 |
<table cellspacing="0" cellpadding="0"> |
| 19 |
<tbody> |
| 20 |
<tr id="projectrow"> |
| 21 |
<td id="projectalign"> |
| 22 |
<div id="projectname">Hardware Locality (hwloc)<span id="projectnumber"> 2.14.0</span> |
| 23 |
</div> |
| 24 |
</td> |
| 25 |
</tr> |
| 26 |
</tbody> |
| 27 |
</table> |
| 28 |
</div> |
| 29 |
<!-- end header part --> |
| 30 |
<!-- Generated by Doxygen 1.15.0 --> |
| 31 |
<script type="text/javascript"> |
| 32 |
$(function() { codefold.init(); }); |
| 33 |
</script> |
| 34 |
<script type="text/javascript" src="menudata.js"></script> |
| 35 |
<script type="text/javascript" src="menu.js"></script> |
| 36 |
<script type="text/javascript"> |
| 37 |
$(function() { |
| 38 |
initMenu('',false,false,'search.php','Search',false); |
| 39 |
}); |
| 40 |
</script> |
| 41 |
<div id="main-nav"></div> |
| 42 |
<div id="nav-path" class="navpath"> |
| 43 |
<ul> |
| 44 |
<li class="navelem"><a href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a href="dir_5cb306d949c7931a3b6c77517393dd34.html">hwloc</a></li> </ul> |
| 45 |
</div> |
| 46 |
</div><!-- top --> |
| 47 |
<div id="doc-content"> |
| 48 |
<div class="header"> |
| 49 |
<div class="headertitle"><div class="title">export.h</div></div> |
| 50 |
</div><!--header--> |
| 51 |
<div class="contents"> |
| 52 |
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div> |
| 53 |
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div> |
| 54 |
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * Copyright © 2009-2018 Inria. All rights reserved.</span></div> |
| 55 |
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * Copyright © 2009-2012 Université Bordeaux</span></div> |
| 56 |
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.</span></div> |
| 57 |
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> * See COPYING in top-level directory.</span></div> |
| 58 |
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> */</span></div> |
| 59 |
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span></div> |
| 60 |
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div> |
| 61 |
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#ifndef HWLOC_EXPORT_H</span></div> |
| 62 |
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#define HWLOC_EXPORT_H</span></div> |
| 63 |
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div> |
| 64 |
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#ifndef HWLOC_H</span></div> |
| 65 |
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#error Please include the main hwloc.h instead</span></div> |
| 66 |
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#endif</span></div> |
| 67 |
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div> |
| 68 |
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div> |
| 69 |
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#ifdef __cplusplus</span></div> |
| 70 |
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div> |
| 71 |
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#elif 0</span></div> |
| 72 |
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span>}</div> |
| 73 |
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#endif</span></div> |
| 74 |
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div> |
| 75 |
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span></div> |
| 76 |
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span></div> |
| 77 |
<div class="foldopen" id="foldopen00036" data-start="{" data-end="};"> |
| 78 |
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="a00189.html#ga0eb99636aff71fe2704e1fa0ffe8c18d"> 36</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="a00189.html#ga0eb99636aff71fe2704e1fa0ffe8c18d">hwloc_topology_export_xml_flags_e</a> {</div> |
| 79 |
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="a00189.html#gga0eb99636aff71fe2704e1fa0ffe8c18dae7d6d96546131ef0043867b836b02e0f"> 41</a></span> <a class="code hl_enumvalue" href="a00189.html#gga0eb99636aff71fe2704e1fa0ffe8c18dae7d6d96546131ef0043867b836b02e0f">HWLOC_TOPOLOGY_EXPORT_XML_FLAG_V1</a> = (1UL<<0)</div> |
| 80 |
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>};</div> |
| 81 |
</div> |
| 82 |
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span></div> |
| 83 |
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="a00189.html#ga333f79975b4eeb28a3d8fad3373583ce"> 72</a></span>HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00189.html#ga333f79975b4eeb28a3d8fad3373583ce">hwloc_topology_export_xml</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keyword">const</span> <span class="keywordtype">char</span> *xmlpath, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div> |
| 84 |
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span></div> |
| 85 |
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="a00189.html#gad33b7f7c11db10459505a3b1634fd3f1"> 106</a></span>HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00189.html#gad33b7f7c11db10459505a3b1634fd3f1">hwloc_topology_export_xmlbuffer</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">char</span> **xmlbuffer, <span class="keywordtype">int</span> *buflen, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div> |
| 86 |
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span></div> |
| 87 |
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="a00189.html#ga293e4a6489f15fd16ad22a5734561cf1"> 109</a></span>HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code hl_function" href="a00189.html#ga293e4a6489f15fd16ad22a5734561cf1">hwloc_free_xmlbuffer</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">char</span> *xmlbuffer);</div> |
| 88 |
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span></div> |
| 89 |
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="a00189.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc"> 129</a></span>HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code hl_function" href="a00189.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc">hwloc_topology_set_userdata_export_callback</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 90 |
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <span class="keywordtype">void</span> (*export_cb)(<span class="keywordtype">void</span> *reserved, <a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj));</div> |
| 91 |
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span></div> |
| 92 |
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="a00189.html#gaa541bdd628416dbbe97d0df69d3de958"> 159</a></span>HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00189.html#gaa541bdd628416dbbe97d0df69d3de958">hwloc_export_obj_userdata</a>(<span class="keywordtype">void</span> *reserved, <a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">void</span> *buffer, <span class="keywordtype">size_t</span> length);</div> |
| 93 |
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span></div> |
| 94 |
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="a00189.html#ga1b7358137cec27bd073f58a606ecbaba"> 180</a></span>HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00189.html#ga1b7358137cec27bd073f58a606ecbaba">hwloc_export_obj_userdata_base64</a>(<span class="keywordtype">void</span> *reserved, <a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">void</span> *buffer, <span class="keywordtype">size_t</span> length);</div> |
| 95 |
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span></div> |
| 96 |
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="a00189.html#ga5ac6917ea7289955fb1ffda4353af9b0"> 204</a></span>HWLOC_DECLSPEC <span class="keywordtype">void</span> <a class="code hl_function" href="a00189.html#ga5ac6917ea7289955fb1ffda4353af9b0">hwloc_topology_set_userdata_import_callback</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology,</div> |
| 97 |
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> <span class="keywordtype">void</span> (*import_cb)(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <a class="code hl_typedef" href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a> obj, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">void</span> *buffer, <span class="keywordtype">size_t</span> length));</div> |
| 98 |
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span></div> |
| 99 |
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> </div> |
| 100 |
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span></div> |
| 101 |
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span></div> |
| 102 |
<div class="foldopen" id="foldopen00218" data-start="{" data-end="};"> |
| 103 |
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"><a class="line" href="a00190.html#ga7ac6f97cc40bd50c40285084f869ba63"> 218</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="a00190.html#ga7ac6f97cc40bd50c40285084f869ba63">hwloc_topology_export_synthetic_flags_e</a> {</div> |
| 104 |
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"><a class="line" href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63a3b3bd4ba2ef9990810865e561034ccc9"> 224</a></span> <a class="code hl_enumvalue" href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63a3b3bd4ba2ef9990810865e561034ccc9">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES</a> = (1UL<<0),</div> |
| 105 |
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span></div> |
| 106 |
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"><a class="line" href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63aaa2702ffba050bab079b3041aec737d4"> 232</a></span> <a class="code hl_enumvalue" href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63aaa2702ffba050bab079b3041aec737d4">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS</a> = (1UL<<1),</div> |
| 107 |
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span></div> |
| 108 |
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"><a class="line" href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63a7896bdf4ccfcdcd09a9f76c0f5e3a5b8"> 242</a></span> <a class="code hl_enumvalue" href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63a7896bdf4ccfcdcd09a9f76c0f5e3a5b8">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_V1</a> = (1UL<<2),</div> |
| 109 |
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span></div> |
| 110 |
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63a22c57cf18e1da4a6c584fb783b552f9f"> 252</a></span> <a class="code hl_enumvalue" href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63a22c57cf18e1da4a6c584fb783b552f9f">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_IGNORE_MEMORY</a> = (1UL<<3)</div> |
| 111 |
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span>};</div> |
| 112 |
</div> |
| 113 |
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span></div> |
| 114 |
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"><a class="line" href="a00190.html#ga24b7864a1c588309c4749f621f03b4c7"> 276</a></span> HWLOC_DECLSPEC <span class="keywordtype">int</span> <a class="code hl_function" href="a00190.html#ga24b7864a1c588309c4749f621f03b4c7">hwloc_topology_export_synthetic</a>(<a class="code hl_typedef" href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a> topology, <span class="keywordtype">char</span> *buffer, <span class="keywordtype">size_t</span> buflen, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags);</div> |
| 115 |
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span></div> |
| 116 |
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> </div> |
| 117 |
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> </div> |
| 118 |
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> </div> |
| 119 |
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span><span class="preprocessor">#ifdef __cplusplus</span></div> |
| 120 |
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span>} <span class="comment">/* extern "C" */</span></div> |
| 121 |
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span><span class="preprocessor">#endif</span></div> |
| 122 |
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> </div> |
| 123 |
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> </div> |
| 124 |
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span><span class="preprocessor">#endif </span><span class="comment">/* HWLOC_EXPORT_H */</span><span class="preprocessor"></span></div> |
| 125 |
<div class="ttc" id="aa00168_html_ga79b8ab56877ef99ac59b833203391c7d"><div class="ttname"><a href="a00168.html#ga79b8ab56877ef99ac59b833203391c7d">hwloc_obj_t</a></div><div class="ttdeci">struct hwloc_obj * hwloc_obj_t</div><div class="ttdoc">Convenience typedef; a pointer to a struct hwloc_obj.</div><div class="ttdef"><b>Definition</b> hwloc.h:637</div></div> |
| 126 |
<div class="ttc" id="aa00169_html_ga9d1e76ee15a7dee158b786c30b6a6e38"><div class="ttname"><a href="a00169.html#ga9d1e76ee15a7dee158b786c30b6a6e38">hwloc_topology_t</a></div><div class="ttdeci">struct hwloc_topology * hwloc_topology_t</div><div class="ttdoc">Topology context.</div><div class="ttdef"><b>Definition</b> hwloc.h:748</div></div> |
| 127 |
<div class="ttc" id="aa00189_html_ga0eb99636aff71fe2704e1fa0ffe8c18d"><div class="ttname"><a href="a00189.html#ga0eb99636aff71fe2704e1fa0ffe8c18d">hwloc_topology_export_xml_flags_e</a></div><div class="ttdeci">hwloc_topology_export_xml_flags_e</div><div class="ttdoc">Flags for exporting XML topologies.</div><div class="ttdef"><b>Definition</b> export.h:36</div></div> |
| 128 |
<div class="ttc" id="aa00189_html_ga1b7358137cec27bd073f58a606ecbaba"><div class="ttname"><a href="a00189.html#ga1b7358137cec27bd073f58a606ecbaba">hwloc_export_obj_userdata_base64</a></div><div class="ttdeci">int hwloc_export_obj_userdata_base64(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)</div><div class="ttdoc">Encode and export some object userdata to XML.</div></div> |
| 129 |
<div class="ttc" id="aa00189_html_ga293e4a6489f15fd16ad22a5734561cf1"><div class="ttname"><a href="a00189.html#ga293e4a6489f15fd16ad22a5734561cf1">hwloc_free_xmlbuffer</a></div><div class="ttdeci">void hwloc_free_xmlbuffer(hwloc_topology_t topology, char *xmlbuffer)</div><div class="ttdoc">Free a buffer allocated by hwloc_topology_export_xmlbuffer().</div></div> |
| 130 |
<div class="ttc" id="aa00189_html_ga333f79975b4eeb28a3d8fad3373583ce"><div class="ttname"><a href="a00189.html#ga333f79975b4eeb28a3d8fad3373583ce">hwloc_topology_export_xml</a></div><div class="ttdeci">int hwloc_topology_export_xml(hwloc_topology_t topology, const char *xmlpath, unsigned long flags)</div><div class="ttdoc">Export the topology into an XML file.</div></div> |
| 131 |
<div class="ttc" id="aa00189_html_ga5ac6917ea7289955fb1ffda4353af9b0"><div class="ttname"><a href="a00189.html#ga5ac6917ea7289955fb1ffda4353af9b0">hwloc_topology_set_userdata_import_callback</a></div><div class="ttdeci">void hwloc_topology_set_userdata_import_callback(hwloc_topology_t topology, void(*import_cb)(hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length))</div><div class="ttdoc">Set the application-specific callback for importing userdata.</div></div> |
| 132 |
<div class="ttc" id="aa00189_html_ga9d6ff0f7a8dd45be9aa8575ef31978cc"><div class="ttname"><a href="a00189.html#ga9d6ff0f7a8dd45be9aa8575ef31978cc">hwloc_topology_set_userdata_export_callback</a></div><div class="ttdeci">void hwloc_topology_set_userdata_export_callback(hwloc_topology_t topology, void(*export_cb)(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj))</div><div class="ttdoc">Set the application-specific callback for exporting object userdata.</div></div> |
| 133 |
<div class="ttc" id="aa00189_html_gaa541bdd628416dbbe97d0df69d3de958"><div class="ttname"><a href="a00189.html#gaa541bdd628416dbbe97d0df69d3de958">hwloc_export_obj_userdata</a></div><div class="ttdeci">int hwloc_export_obj_userdata(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)</div><div class="ttdoc">Export some object userdata to XML.</div></div> |
| 134 |
<div class="ttc" id="aa00189_html_gad33b7f7c11db10459505a3b1634fd3f1"><div class="ttname"><a href="a00189.html#gad33b7f7c11db10459505a3b1634fd3f1">hwloc_topology_export_xmlbuffer</a></div><div class="ttdeci">int hwloc_topology_export_xmlbuffer(hwloc_topology_t topology, char **xmlbuffer, int *buflen, unsigned long flags)</div><div class="ttdoc">Export the topology into a newly-allocated XML memory buffer.</div></div> |
| 135 |
<div class="ttc" id="aa00189_html_gga0eb99636aff71fe2704e1fa0ffe8c18dae7d6d96546131ef0043867b836b02e0f"><div class="ttname"><a href="a00189.html#gga0eb99636aff71fe2704e1fa0ffe8c18dae7d6d96546131ef0043867b836b02e0f">HWLOC_TOPOLOGY_EXPORT_XML_FLAG_V1</a></div><div class="ttdeci">@ HWLOC_TOPOLOGY_EXPORT_XML_FLAG_V1</div><div class="ttdoc">Export XML that is loadable by hwloc v1.x. However, the export may miss some details about the topolo...</div><div class="ttdef"><b>Definition</b> export.h:41</div></div> |
| 136 |
<div class="ttc" id="aa00190_html_ga24b7864a1c588309c4749f621f03b4c7"><div class="ttname"><a href="a00190.html#ga24b7864a1c588309c4749f621f03b4c7">hwloc_topology_export_synthetic</a></div><div class="ttdeci">int hwloc_topology_export_synthetic(hwloc_topology_t topology, char *buffer, size_t buflen, unsigned long flags)</div><div class="ttdoc">Export the topology as a synthetic string.</div></div> |
| 137 |
<div class="ttc" id="aa00190_html_ga7ac6f97cc40bd50c40285084f869ba63"><div class="ttname"><a href="a00190.html#ga7ac6f97cc40bd50c40285084f869ba63">hwloc_topology_export_synthetic_flags_e</a></div><div class="ttdeci">hwloc_topology_export_synthetic_flags_e</div><div class="ttdoc">Flags for exporting synthetic topologies.</div><div class="ttdef"><b>Definition</b> export.h:218</div></div> |
| 138 |
<div class="ttc" id="aa00190_html_gga7ac6f97cc40bd50c40285084f869ba63a22c57cf18e1da4a6c584fb783b552f9f"><div class="ttname"><a href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63a22c57cf18e1da4a6c584fb783b552f9f">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_IGNORE_MEMORY</a></div><div class="ttdeci">@ HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_IGNORE_MEMORY</div><div class="ttdoc">Do not export memory information.</div><div class="ttdef"><b>Definition</b> export.h:252</div></div> |
| 139 |
<div class="ttc" id="aa00190_html_gga7ac6f97cc40bd50c40285084f869ba63a3b3bd4ba2ef9990810865e561034ccc9"><div class="ttname"><a href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63a3b3bd4ba2ef9990810865e561034ccc9">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES</a></div><div class="ttdeci">@ HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES</div><div class="ttdoc">Export extended types such as L2dcache as basic types such as Cache.</div><div class="ttdef"><b>Definition</b> export.h:224</div></div> |
| 140 |
<div class="ttc" id="aa00190_html_gga7ac6f97cc40bd50c40285084f869ba63a7896bdf4ccfcdcd09a9f76c0f5e3a5b8"><div class="ttname"><a href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63a7896bdf4ccfcdcd09a9f76c0f5e3a5b8">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_V1</a></div><div class="ttdeci">@ HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_V1</div><div class="ttdoc">Export the memory hierarchy as expected in hwloc 1.x.</div><div class="ttdef"><b>Definition</b> export.h:242</div></div> |
| 141 |
<div class="ttc" id="aa00190_html_gga7ac6f97cc40bd50c40285084f869ba63aaa2702ffba050bab079b3041aec737d4"><div class="ttname"><a href="a00190.html#gga7ac6f97cc40bd50c40285084f869ba63aaa2702ffba050bab079b3041aec737d4">HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS</a></div><div class="ttdeci">@ HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS</div><div class="ttdoc">Do not export level attributes.</div><div class="ttdef"><b>Definition</b> export.h:232</div></div> |
| 142 |
</div><!-- fragment --></div><!-- contents --> |
| 143 |
<!-- start footer part --> |
| 144 |
<hr class="footer"/><address class="footer"><small> |
| 145 |
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.15.0 |
| 146 |
</small></address> |
| 147 |
</div><!-- doc-content --> |
| 148 |
</body> |
| 149 |
</html> |