netsukuku/d2/dab/xmalloc_8c.html

395 lines
52 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>The Netsukuku Project: src/xmalloc.c File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">The Netsukuku Project
&#160;<span id="projectnumber">0.0.9</span>
</div>
<div id="projectbrief">An Alternative routing method</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
<li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="../../search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="../../files.html"><span>File&#160;List</span></a></li>
<li><a href="../../globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d2/dab/xmalloc_8c.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">xmalloc.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="../../d8/de3/xmalloc_8h_source.html">xmalloc.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="../../d7/d7f/log_8h_source.html">log.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for xmalloc.c:</div>
<div class="dyncontent">
<div class="center"><img src="../../d1/d95/xmalloc_8c__incl.png" border="0" usemap="#src_2xmalloc_8c" alt=""/></div>
<map name="src_2xmalloc_8c" id="src_2xmalloc_8c">
<area shape="rect" id="node7" href="../../d8/de3/xmalloc_8h.html" title="xmalloc.h" alt="" coords="181,83,259,112"/><area shape="rect" id="node9" href="../../d7/d7f/log_8h.html" title="log.h" alt="" coords="283,83,333,112"/></map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a42ccfa6fc49cc4ce90cc44cd05052490"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490">xmalloc</a> (size_t size)</td></tr>
<tr class="separator:a42ccfa6fc49cc4ce90cc44cd05052490"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7ead2fc5daad78a7f124e173863b16e"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dab/xmalloc_8c.html#ad7ead2fc5daad78a7f124e173863b16e">xzalloc</a> (size_t size)</td></tr>
<tr class="separator:ad7ead2fc5daad78a7f124e173863b16e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf4d2a0b6c4f9229a0f4687202abed54"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dab/xmalloc_8c.html#acf4d2a0b6c4f9229a0f4687202abed54">xcalloc</a> (size_t nmemb, size_t size)</td></tr>
<tr class="separator:acf4d2a0b6c4f9229a0f4687202abed54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95c6a612049c763f0d351481361ad689"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dab/xmalloc_8c.html#a95c6a612049c763f0d351481361ad689">xrealloc</a> (void *ptr, size_t new_size)</td></tr>
<tr class="separator:a95c6a612049c763f0d351481361ad689"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99b85f61d0affc573a28ec9ad827db2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dab/xmalloc_8c.html#a99b85f61d0affc573a28ec9ad827db2d">_xfree</a> (void *ptr)</td></tr>
<tr class="separator:a99b85f61d0affc573a28ec9ad827db2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0d9692e0141edaf2b2f748d630b5485"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dab/xmalloc_8c.html#aa0d9692e0141edaf2b2f748d630b5485">xstrndup</a> (const char *str, size_t n)</td></tr>
<tr class="separator:aa0d9692e0141edaf2b2f748d630b5485"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6142d091f00b2d4543ce7a43e5d0eba"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dab/xmalloc_8c.html#ad6142d091f00b2d4543ce7a43e5d0eba">xstrdup</a> (const char *str)</td></tr>
<tr class="separator:ad6142d091f00b2d4543ce7a43e5d0eba"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a99b85f61d0affc573a28ec9ad827db2d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void _xfree </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/dab/xmalloc_8c_a99b85f61d0affc573a28ec9ad827db2d_cgraph.png" border="0" usemap="#d2/dab/xmalloc_8c_a99b85f61d0affc573a28ec9ad827db2d_cgraph" alt=""/></div>
<map name="d2/dab/xmalloc_8c_a99b85f61d0affc573a28ec9ad827db2d_cgraph" id="d2/dab/xmalloc_8c_a99b85f61d0affc573a28ec9ad827db2d_cgraph">
<area shape="rect" id="node3" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="113,32,159,61"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="224,5,293,35"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="208,59,309,88"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="acf4d2a0b6c4f9229a0f4687202abed54"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* xcalloc </td>
<td>(</td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>nmemb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/dab/xmalloc_8c_acf4d2a0b6c4f9229a0f4687202abed54_cgraph.png" border="0" usemap="#d2/dab/xmalloc_8c_acf4d2a0b6c4f9229a0f4687202abed54_cgraph" alt=""/></div>
<map name="d2/dab/xmalloc_8c_acf4d2a0b6c4f9229a0f4687202abed54_cgraph" id="d2/dab/xmalloc_8c_acf4d2a0b6c4f9229a0f4687202abed54_cgraph">
<area shape="rect" id="node3" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="119,32,164,61"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="229,5,299,35"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="213,59,315,88"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a42ccfa6fc49cc4ce90cc44cd05052490"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* xmalloc </td>
<td>(</td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/dab/xmalloc_8c_a42ccfa6fc49cc4ce90cc44cd05052490_cgraph.png" border="0" usemap="#d2/dab/xmalloc_8c_a42ccfa6fc49cc4ce90cc44cd05052490_cgraph" alt=""/></div>
<map name="d2/dab/xmalloc_8c_a42ccfa6fc49cc4ce90cc44cd05052490_cgraph" id="d2/dab/xmalloc_8c_a42ccfa6fc49cc4ce90cc44cd05052490_cgraph">
<area shape="rect" id="node3" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="121,32,167,61"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="232,5,301,35"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="216,59,317,88"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a95c6a612049c763f0d351481361ad689"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* xrealloc </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>ptr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>new_size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/dab/xmalloc_8c_a95c6a612049c763f0d351481361ad689_cgraph.png" border="0" usemap="#d2/dab/xmalloc_8c_a95c6a612049c763f0d351481361ad689_cgraph" alt=""/></div>
<map name="d2/dab/xmalloc_8c_a95c6a612049c763f0d351481361ad689_cgraph" id="d2/dab/xmalloc_8c_a95c6a612049c763f0d351481361ad689_cgraph">
<area shape="rect" id="node3" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="121,32,167,61"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="232,5,301,35"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="216,59,317,88"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/dab/xmalloc_8c_a95c6a612049c763f0d351481361ad689_icgraph.png" border="0" usemap="#d2/dab/xmalloc_8c_a95c6a612049c763f0d351481361ad689_icgraph" alt=""/></div>
<map name="d2/dab/xmalloc_8c_a95c6a612049c763f0d351481361ad689_icgraph" id="d2/dab/xmalloc_8c_a95c6a612049c763f0d351481361ad689_icgraph">
<area shape="rect" id="node3" href="../../d5/dbf/bmap_8h.html#a4cb9464f4d1d4b9cdbf155cd8bff044b" title="map_add_bnode" alt="" coords="329,163,447,192"/><area shape="rect" id="node29" href="../../d5/dbf/bmap_8h.html#ad5e42fe96459ba88f0babdb9aada0edf" title="map_bnode_del" alt="" coords="131,555,243,584"/><area shape="rect" id="node49" href="../../dc/db7/map_8h.html#a739f2953fdd9ba9f9d383ee0ea094b27" title="rnode_add" alt="" coords="347,267,429,296"/><area shape="rect" id="node76" href="../../dc/db7/map_8h.html#a2087a6f2eec0f8b5e8818b45a93745df" title="rnode_del" alt="" coords="148,475,225,504"/><area shape="rect" id="node83" href="../../d4/d08/misc_8h.html#afa3287a0852a49ffaeb854b3a43efeeb" title="split_string" alt="" coords="144,1059,229,1088"/><area shape="rect" id="node95" href="../../d5/ddf/qspn-empiric_8h.html#a227bd5c605c1a2a67e9f72b1a3232392" title="store_tracer_pkt" alt="" coords="129,745,244,775"/><area shape="rect" id="node112" href="../../d8/da0/qspn_8h.html#ade9d52b888ef2388737a05b2345caec4" title="qspn_b_add" alt="" coords="141,993,232,1023"/><area shape="rect" id="node115" href="../../d6/d62/tracer_8c.html#a12fc41aade1399b3916ab2a91315c6d3" title="tracer_build_bentry" alt="" coords="121,940,252,969"/><area shape="rect" id="node117" href="../../da/db5/tracer_8h.html#aedc888fcd3fe8dafa7e3a6199190e476" title="tracer_pkt_build" alt="" coords="753,656,868,685"/><area shape="rect" id="node5" href="../../d7/d02/radar_8c.html#a65ab00ad81de179672cf0569f84718d6" title="radar_update_bmap" alt="" coords="539,5,675,35"/><area shape="rect" id="node15" href="../../d6/d62/tracer_8c.html#a3a5faa1eb3192e2c783c87912f8c6251" title="tracer_store_bblock" alt="" coords="539,163,675,192"/><area shape="rect" id="node7" href="../../d3/df5/radar_8h.html#a6908f30023e15ac38b957dc8f3941f37" title="radar_update_map" alt="" coords="747,57,875,87"/><area shape="rect" id="node9" href="../../d3/df5/radar_8h.html#a3d46b80b3ad27f86a02c0586617f18cc" title="radar_scan" alt="" coords="1473,591,1559,620"/><area shape="rect" id="node13" href="../../d3/df5/radar_8h.html#aa589f34d936b21665c16fca95f06092f" title="refresh_hook_root_node" alt="" coords="932,45,1092,75"/><area shape="rect" id="node11" href="../../d3/dc7/hook_8c.html#a5e32a215ed05b1ef1f870ce105f67640" title="hook_finish" alt="" coords="1621,636,1709,665"/><area shape="rect" id="node17" href="../../da/db5/tracer_8h.html#a12c03f2eaa97e2c644dcdd892e0fa758" title="tracer_store_pkt" alt="" coords="753,368,868,397"/><area shape="rect" id="node19" href="../../d8/da0/qspn_8h.html#ab70abece99b6ae77b078ec100c35912a" title="qspn_close" alt="" coords="1141,511,1229,540"/><area shape="rect" id="node23" href="../../d8/da0/qspn_8h.html#a6df687dad6a64c0807fbfc105cf244c5" title="qspn_open" alt="" coords="969,681,1055,711"/><area shape="rect" id="node26" href="../../da/db5/tracer_8h.html#ab53c5821a9d4215b3d5ba16fd95e8297" title="tracer_pkt_recv" alt="" coords="956,420,1068,449"/><area shape="rect" id="node21" href="../../d8/da0/qspn_8h.html#a6c5c062e24ec079201aea53899af3e28" title="qspn_init" alt="" coords="1307,511,1381,540"/><area shape="rect" id="node31" href="../../d5/dbf/bmap_8h.html#a0ef1ec0f5dbe658850ed40094ee31b45" title="map_del_bnode_rnode" alt="" coords="312,528,464,557"/><area shape="rect" id="node35" href="../../db/de6/qspn_8c.html#aaf014079dd9e527ab38f3b21c547489b" title="qspn_remove_deads" alt="" coords="740,577,881,607"/><area shape="rect" id="node46" href="../../d7/d02/radar_8c.html#a94b39741ffea4a0e3fef007399f9ee02" title="radar_remove_old_rnodes" alt="" coords="303,475,473,504"/><area shape="rect" id="node33" href="../../d5/dbf/bmap_8h.html#a8e708a5466d5ad8c7a848e2617d5fdf9" title="bmaps_del_bnode_rnode" alt="" coords="524,552,689,581"/><area shape="rect" id="node37" href="../../d8/da0/qspn_8h.html#ab2f4bfac6bcea3379068bf4aab92e381" title="qspn_new_round" alt="" coords="952,577,1072,607"/><area shape="rect" id="node39" href="../../d8/da0/qspn_8h.html#a0c2ef8efd5611e3ed71086a267af7915" title="qspn_send" alt="" coords="1143,591,1228,620"/><area shape="rect" id="node41" href="../../d7/d02/r
</div>
</p>
</div>
</div>
<a class="anchor" id="ad6142d091f00b2d4543ce7a43e5d0eba"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* xstrdup </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>str</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/dab/xmalloc_8c_ad6142d091f00b2d4543ce7a43e5d0eba_cgraph.png" border="0" usemap="#d2/dab/xmalloc_8c_ad6142d091f00b2d4543ce7a43e5d0eba_cgraph" alt=""/></div>
<map name="d2/dab/xmalloc_8c_ad6142d091f00b2d4543ce7a43e5d0eba_cgraph" id="d2/dab/xmalloc_8c_ad6142d091f00b2d4543ce7a43e5d0eba_cgraph">
<area shape="rect" id="node3" href="../../d2/dab/xmalloc_8c.html#aa0d9692e0141edaf2b2f748d630b5485" title="xstrndup" alt="" coords="120,32,192,61"/><area shape="rect" id="node5" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="240,32,307,61"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="356,32,401,61"/><area shape="rect" id="node9" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="467,5,536,35"/><area shape="rect" id="node11" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="451,59,552,88"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/dab/xmalloc_8c_ad6142d091f00b2d4543ce7a43e5d0eba_icgraph.png" border="0" usemap="#d2/dab/xmalloc_8c_ad6142d091f00b2d4543ce7a43e5d0eba_icgraph" alt=""/></div>
<map name="d2/dab/xmalloc_8c_ad6142d091f00b2d4543ce7a43e5d0eba_icgraph" id="d2/dab/xmalloc_8c_ad6142d091f00b2d4543ce7a43e5d0eba_icgraph">
<area shape="rect" id="node3" href="../../d5/d05/andna_8h.html#a5da3518ba270f03f8d087c3c1cb25115" title="andna_recv_reg_rq" alt="" coords="569,296,700,325"/><area shape="rect" id="node11" href="../../d5/d05/andna_8h.html#aaa787887419437e0bca8efae5cd88aaf" title="andna_recv_check_counter" alt="" coords="544,349,725,379"/><area shape="rect" id="node14" href="../../d5/d05/andna_8h.html#a8aab86a04409ff7c8baef00863464621" title="andna_recv_resolve_rq" alt="" coords="121,400,276,429"/><area shape="rect" id="node17" href="../../d5/d05/andna_8h.html#a518d5d1d638386131f4e1ca4b5e2edb6" title="put_single_acache" alt="" coords="133,453,264,483"/><area shape="rect" id="node20" href="../../d7/d74/andna__cache_8h.html#a58ddbd1e98331ce0103b1df0f9d02e62" title="lcl_cache_new" alt="" coords="145,169,252,199"/><area shape="rect" id="node32" href="../../d7/d74/andna__cache_8h.html#a78885141648274051a9347d0bfe8d5b9" title="lcl_get_registered\l_hnames" alt="" coords="137,23,260,70"/><area shape="rect" id="node45" href="../../d7/d74/andna__cache_8h.html#ad36261c4854577e1921a9d9033b09e88" title="unpack_lcl_cache" alt="" coords="136,93,261,123"/><area shape="rect" id="node51" href="../../d1/d6f/igs_8c.html#a29026505ec5e0465ebe99a7077ff6d49" title="internet_hosts_to_ip" alt="" coords="129,507,268,536"/><area shape="rect" id="node53" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="339,503,483,550"/><area shape="rect" id="node57" href="../../d4/d08/misc_8h.html#afa3287a0852a49ffaeb854b3a43efeeb" title="split_string" alt="" coords="156,245,241,275"/><area shape="rect" id="node68" href="../../d9/d7f/route_8h.html#aa5e6a218401371f79910f174b4aabaee" title="rt_update_node" alt="" coords="144,691,253,720"/><area shape="rect" id="node5" href="../../d5/d05/andna_8h.html#aa7b53282a673cbc82c998a3cf4e5aff2" title="andna_init" alt="" coords="776,375,856,404"/><area shape="rect" id="node7" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="2627,507,2733,536"/><area shape="rect" id="node9" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="2781,507,2832,536"/><area shape="rect" id="node22" href="../../d7/d74/andna__cache_8h.html#a980b534d1201d9557fdb3beba6221ba7" title="load_hostnames" alt="" coords="352,139,469,168"/><area shape="rect" id="node24" href="../../d5/d05/andna_8h.html#afc0f24a5b798975732d4f238dccc42ef" title="andna_load_caches" alt="" coords="567,139,703,168"/><area shape="rect" id="node27" href="../../d4/d3b/netsukuku_8c.html#a678f7ec6e159e6bee076921c8d709847" title="reload_hostname_thread" alt="" coords="553,192,716,221"/><area shape="rect" id="node29" href="../../d4/d3b/netsukuku_8c.html#a207b25374e65f083a666cdfaca49bb99" title="sighup_handler" alt="" coords="1115,192,1224,221"/><area shape="rect" id="node34" href="../../d5/d05/andna_8h.html#a9f9606b7d11bf10088542d80e6aac805" title="andna_reverse_resolve" alt="" coords="333,32,488,61"/><area shape="rect" id="node36" href="../../dd/dd9/andns_8h.html#a81431a7e5716758c3bbefd17f8e68898" title="inet_rslv" alt="" coords="600,59,669,88"/><area shape="rect" id="node42" href="../../dd/dd9/andns_8h.html#a77c1322dbf52a1bacabe97028c9ce8d2" title="nk_rslv" alt="" coords="603,5,667,35"/><area shape="rect" id="node38" href="../../dd/dd9/andns_8h.html#ad55d591cf7a444daa6b9cea7f8ae29bc" title="andns_rslv" alt="" coords="773,32,859,61"/><area shape="rect" id="node40" href="../../db/d6b/dns__wrapper_8c.html#ae858f92cfdc42ee9f2ba357a4021b59e" title="dns_exec_pkt" alt="" coords="923,32,1024,61"/><area shape="rect" id="node48" href="../../d7/d74/andna__cache_8h.html#aed9cccf08d649d2e68d14ade8dcac375" title="load_lcl_cache" alt="" coords="357,85,464,115"/><area shape="rect" id="node59" href="../../d7/d74/andna__cache_8h.html#ae30431f21d44516e3c006ae361578d9c" title="load_snsd" alt="" coords="371,192,451,221"/><area shape="rect" id="node63" href="../../da/dd7/igs_8h.html#a2b648cbf154af516c4ed807ebaa4fe88" title="parse_internet_hosts" alt="" c
</div>
</p>
</div>
</div>
<a class="anchor" id="aa0d9692e0141edaf2b2f748d630b5485"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* xstrndup </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>n</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/dab/xmalloc_8c_aa0d9692e0141edaf2b2f748d630b5485_cgraph.png" border="0" usemap="#d2/dab/xmalloc_8c_aa0d9692e0141edaf2b2f748d630b5485_cgraph" alt=""/></div>
<map name="d2/dab/xmalloc_8c_aa0d9692e0141edaf2b2f748d630b5485_cgraph" id="d2/dab/xmalloc_8c_aa0d9692e0141edaf2b2f748d630b5485_cgraph">
<area shape="rect" id="node3" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="125,32,192,61"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="241,32,287,61"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="352,5,421,35"/><area shape="rect" id="node9" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="336,59,437,88"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/dab/xmalloc_8c_aa0d9692e0141edaf2b2f748d630b5485_icgraph.png" border="0" usemap="#d2/dab/xmalloc_8c_aa0d9692e0141edaf2b2f748d630b5485_icgraph" alt=""/></div>
<map name="d2/dab/xmalloc_8c_aa0d9692e0141edaf2b2f748d630b5485_icgraph" id="d2/dab/xmalloc_8c_aa0d9692e0141edaf2b2f748d630b5485_icgraph">
<area shape="rect" id="node3" href="../../da/dd7/igs_8h.html#a016c3a34a9dc7add88dd0bce88440e05" title="str_to_inet_gw" alt="" coords="125,43,232,72"/><area shape="rect" id="node9" href="../../d4/d3b/netsukuku_8c.html#a0318e97f40679e849d9259e5edb4dfce" title="parse_options" alt="" coords="1747,15,1848,44"/><area shape="rect" id="node12" href="../../d8/de3/xmalloc_8h.html#a835e932cf00850024c335f5c982ffd6c" title="xstrdup" alt="" coords="147,587,211,616"/><area shape="rect" id="node5" href="../../d4/d3b/netsukuku_8c.html#a9eccd187480c0bd5207afd99966ef68b" title="fill_loaded_cfg_options" alt="" coords="720,89,875,119"/><area shape="rect" id="node7" href="../../d9/d88/ntkresolv_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1904,273,1955,303"/><area shape="rect" id="node14" href="../../d5/d05/andna_8h.html#a5da3518ba270f03f8d087c3c1cb25115" title="andna_recv_reg_rq" alt="" coords="732,555,863,584"/><area shape="rect" id="node21" href="../../d5/d05/andna_8h.html#aaa787887419437e0bca8efae5cd88aaf" title="andna_recv_check_counter" alt="" coords="280,560,461,589"/><area shape="rect" id="node24" href="../../d5/d05/andna_8h.html#a8aab86a04409ff7c8baef00863464621" title="andna_recv_resolve_rq" alt="" coords="293,613,448,643"/><area shape="rect" id="node27" href="../../d5/d05/andna_8h.html#a518d5d1d638386131f4e1ca4b5e2edb6" title="put_single_acache" alt="" coords="305,720,436,749"/><area shape="rect" id="node30" href="../../d7/d74/andna__cache_8h.html#a58ddbd1e98331ce0103b1df0f9d02e62" title="lcl_cache_new" alt="" coords="317,456,424,485"/><area shape="rect" id="node42" href="../../d7/d74/andna__cache_8h.html#a78885141648274051a9347d0bfe8d5b9" title="lcl_get_registered\l_hnames" alt="" coords="309,773,432,819"/><area shape="rect" id="node55" href="../../d7/d74/andna__cache_8h.html#ad36261c4854577e1921a9d9033b09e88" title="unpack_lcl_cache" alt="" coords="308,667,433,696"/><area shape="rect" id="node61" href="../../d1/d6f/igs_8c.html#a29026505ec5e0465ebe99a7077ff6d49" title="internet_hosts_to_ip" alt="" coords="301,893,440,923"/><area shape="rect" id="node63" href="../../da/dd7/igs_8h.html#a184ab033bb2e2c1f856df5430ba87a80" title="init_internet_gateway\l_search" alt="" coords="516,862,660,909"/><area shape="rect" id="node67" href="../../d4/d08/misc_8h.html#afa3287a0852a49ffaeb854b3a43efeeb" title="split_string" alt="" coords="328,245,413,275"/><area shape="rect" id="node76" href="../../d9/d7f/route_8h.html#aa5e6a218401371f79910f174b4aabaee" title="rt_update_node" alt="" coords="316,299,425,328"/><area shape="rect" id="node16" href="../../d5/d05/andna_8h.html#aa7b53282a673cbc82c998a3cf4e5aff2" title="andna_init" alt="" coords="973,588,1053,617"/><area shape="rect" id="node18" href="../../d4/d3b/netsukuku_8c.html#a110d67ecacf72375eea84dc00338030c" title="init_netsukuku" alt="" coords="1356,519,1463,548"/><area shape="rect" id="node32" href="../../d7/d74/andna__cache_8h.html#a980b534d1201d9557fdb3beba6221ba7" title="load_hostnames" alt="" coords="529,456,647,485"/><area shape="rect" id="node34" href="../../d5/d05/andna_8h.html#afc0f24a5b798975732d4f238dccc42ef" title="andna_load_caches" alt="" coords="729,489,865,519"/><area shape="rect" id="node37" href="../../d4/d3b/netsukuku_8c.html#a678f7ec6e159e6bee076921c8d709847" title="reload_hostname_thread" alt="" coords="716,355,879,384"/><area shape="rect" id="node39" href="../../d4/d3b/netsukuku_8c.html#a207b25374e65f083a666cdfaca49bb99" title="sighup_handler" alt="" coords="1355,360,1464,389"/><area shape="rect" id="node44" href="../../d5/d05/andna_8h.html#a9f9606b7d11bf10088542d80e6aac805" title="andna_reverse_resolve" alt="" coords="511,773,665,803"/><area shape="rect" id="node46" href="../../dd/dd9/andns_8h.html#a81431a7e5716758c3bbefd17f8e68898" title="inet_rslv" alt="" coords="763,819,832,848"/><area shape="rect" id="node52" href="../../dd/dd9/andns_8h.html#a77c1322dbf52a1bacabe97028c9ce8d2" title="nk_rslv" alt="" coords="765,765,829,795"/><area shape="rect" id="node48" href="../../dd/dd9/andns_8h.html#ad55d591cf7a444daa6b9cea7f8ae29bc" title="andns_rslv" alt="
</div>
</p>
</div>
</div>
<a class="anchor" id="ad7ead2fc5daad78a7f124e173863b16e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* xzalloc </td>
<td>(</td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/dab/xmalloc_8c_ad7ead2fc5daad78a7f124e173863b16e_cgraph.png" border="0" usemap="#d2/dab/xmalloc_8c_ad7ead2fc5daad78a7f124e173863b16e_cgraph" alt=""/></div>
<map name="d2/dab/xmalloc_8c_ad7ead2fc5daad78a7f124e173863b16e_cgraph" id="d2/dab/xmalloc_8c_ad7ead2fc5daad78a7f124e173863b16e_cgraph">
<area shape="rect" id="node3" href="../../d2/dab/xmalloc_8c.html#a42ccfa6fc49cc4ce90cc44cd05052490" title="xmalloc" alt="" coords="117,32,184,61"/><area shape="rect" id="node5" href="../../d7/df8/log_8c.html#a677da14e8c4326bde43622f233f1ead3" title="fatal" alt="" coords="233,32,279,61"/><area shape="rect" id="node7" href="../../d7/df8/log_8c.html#a3bd4b0345d9f0035edbe68f3795319de" title="print_log" alt="" coords="344,5,413,35"/><area shape="rect" id="node9" href="../../d7/df8/log_8c.html#a32f684e2d9d47ca24806b88e58498931" title="close_log_file" alt="" coords="328,59,429,88"/></map>
</div>
</p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/dab/xmalloc_8c_ad7ead2fc5daad78a7f124e173863b16e_icgraph.png" border="0" usemap="#d2/dab/xmalloc_8c_ad7ead2fc5daad78a7f124e173863b16e_icgraph" alt=""/></div>
<map name="d2/dab/xmalloc_8c_ad7ead2fc5daad78a7f124e173863b16e_icgraph" id="d2/dab/xmalloc_8c_ad7ead2fc5daad78a7f124e173863b16e_icgraph">
<area shape="rect" id="node3" href="../../d7/d74/andna__cache_8h.html#a58ddbd1e98331ce0103b1df0f9d02e62" title="lcl_cache_new" alt="" coords="143,5,249,35"/><area shape="rect" id="node7" href="../../d7/d74/andna__cache_8h.html#a52518e47b04c11f9400f5a27d92b26da" title="ac_queue_add" alt="" coords="576,57,683,87"/><area shape="rect" id="node11" href="../../d7/d74/andna__cache_8h.html#ae8ebacd9d4cd117ac0be33b267ebbfbe" title="andna_cache_addhash" alt="" coords="552,111,707,140"/><area shape="rect" id="node14" href="../../d7/d74/andna__cache_8h.html#a3a7e5bcce911a001f171ff5aec1363e3" title="cc_hashes_add" alt="" coords="140,160,252,189"/><area shape="rect" id="node18" href="../../d7/d74/andna__cache_8h.html#a9f7cabda293c637bbcaf1d99c26b5670" title="counter_c_add" alt="" coords="143,213,249,243"/><area shape="rect" id="node21" href="../../d2/de6/andna__cache_8c.html#a77e44126b698e365f7d25e3fe40a6f90" title="rh_cache_new_hash" alt="" coords="125,267,267,296"/><area shape="rect" id="node27" href="../../d7/d74/andna__cache_8h.html#ad36261c4854577e1921a9d9033b09e88" title="unpack_lcl_cache" alt="" coords="133,320,259,349"/><area shape="rect" id="node33" href="../../d2/de6/andna__cache_8c.html#a616a54519cf7a95237b8805ce7be6207" title="unpack_acq_llist" alt="" coords="137,373,255,403"/><area shape="rect" id="node35" href="../../d7/d74/andna__cache_8h.html#a35e46feb951ff01251d48e46ef345f96" title="unpack_andna_cache" alt="" coords="340,427,487,456"/><area shape="rect" id="node45" href="../../d7/d74/andna__cache_8h.html#abeab4c42702fa5492a775eb8c01fe95c" title="unpack_counter_cache" alt="" coords="119,477,273,507"/><area shape="rect" id="node49" href="../../d7/d74/andna__cache_8h.html#a2e671db507cb5a73fe73c8eda6fcc7f4" title="unpack_rh_cache" alt="" coords="135,531,257,560"/><area shape="rect" id="node51" href="../../d7/d74/andna__cache_8h.html#a9edd08e680358abba0f550b789d58d05" title="del_resolv_conf" alt="" coords="140,584,252,613"/><area shape="rect" id="node53" href="../../d7/d3b/gmap_8h.html#aaf77ae01a39e9df709e5d31fac86ea90" title="e_rnode_add" alt="" coords="148,637,244,667"/><area shape="rect" id="node55" href="../../d3/df5/radar_8h.html#a6908f30023e15ac38b957dc8f3941f37" title="radar_update_map" alt="" coords="349,664,477,693"/><area shape="rect" id="node57" href="../../d6/d34/hook_8h.html#a7da6546e5822e282b57e5aee17e0c80c" title="put_free_nodes" alt="" coords="141,741,251,771"/><area shape="rect" id="node59" href="../../d6/d34/hook_8h.html#a14eec030eb6098fc9cc4a8609b19bd00" title="put_qspn_round" alt="" coords="139,795,253,824"/><area shape="rect" id="node61" href="../../d3/dc7/hook_8c.html#ad4b44c41d2528f0f4e70c24d5b4c5daf" title="hook_reset" alt="" coords="153,848,239,877"/><area shape="rect" id="node63" href="../../d3/dc7/hook_8c.html#ab77263b0b4d7970fb36fdd74ebd0df3a" title="hook_get_int_map" alt="" coords="132,901,260,931"/><area shape="rect" id="node65" href="../../da/dd7/igs_8h.html#aab1091590ed4414ea138fedb0d2982e3" title="init_igws" alt="" coords="160,955,232,984"/><area shape="rect" id="node67" href="../../da/dd7/igs_8h.html#ac988c4e403d8e860068177e9c0358363" title="unpack_igws" alt="" coords="364,980,463,1009"/><area shape="rect" id="node69" href="../../da/dd7/igs_8h.html#a625d6b7c80cf35070eb68f83615cf8f7" title="igw_add_node" alt="" coords="144,1059,248,1088"/><area shape="rect" id="node71" href="../../da/dd7/igs_8h.html#a51d86ef21953a6f2d0231b9c83701ce6" title="igw_replace_def_igws" alt="" coords="121,1112,271,1141"/><area shape="rect" id="node73" href="../../da/dd7/igs_8h.html#ae0ee5831e7c8e3cc9828be7d4b8204ec" title="igw_build_bentry" alt="" coords="137,1165,255,1195"/><area shape="rect" id="node75" href="../../da/dd7/igs_8h.html#a413fd34c9565aa635c90cc7f811169e5" title="pack_igws" alt="" coords="155,1219,237,1248"/><area shape="rect" id="node78" href="../../d7/d0e/krnl__route_8h.html#ab4a91fd7ee58aa30f8ffa83ff10ac8b2" title="route_rp_filter" alt="" coords="145,1272,247,1301"/><area shape="rect" id="node80" href="../../d5/d89/pkts_8h.html#a9bcb8ed5a94ff428d1f9f5f8b0e83d63" title="pkt_q_wait_recv" alt="" coor
</div>
</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../d2/dab/xmalloc_8c.html">xmalloc.c</a></li>
<li class="footer">Generated on Wed Feb 19 2014 14:19:16 for The Netsukuku Project by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
</ul>
</div>
</body>
</html>