stack_8c.html 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <!-- HTML header for doxygen 1.8.10-->
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  6. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  7. <meta name="generator" content="Doxygen 1.8.11"/>
  8. <title>Intel&reg; Enhanced Privacy ID SDK: epid/common/stack.c File Reference</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. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <script type="text/javascript">
  17. $(document).ready(initResizable);
  18. $(window).load(resizeHeight);
  19. </script>
  20. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  21. <link href="epidstyle.css" rel="stylesheet" type="text/css"/>
  22. </head>
  23. <body>
  24. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  25. <div id="titlearea">
  26. <table cellspacing="0" cellpadding="0">
  27. <tbody>
  28. <tr style="height: 56px;">
  29. <td id="projectalign" style="padding-left: 0.5em;">
  30. <div id="projectname"><a
  31. onclick="storeLink('index.html')"
  32. id="projectlink"
  33. class="index.html"
  34. href="index.html">Intel&reg; Enhanced Privacy ID SDK</a>
  35. &#160;<span id="projectnumber">2.0.0</span>
  36. </div>
  37. </td>
  38. </tr>
  39. </tbody>
  40. </table>
  41. </div>
  42. <!-- end header part -->
  43. <!-- Generated by Doxygen 1.8.11 -->
  44. </div><!-- top -->
  45. <div id="side-nav" class="ui-resizable side-nav-resizable">
  46. <div id="nav-tree">
  47. <div id="nav-tree-contents">
  48. <div id="nav-sync" class="sync"></div>
  49. </div>
  50. </div>
  51. <div id="splitbar" style="-moz-user-select:none;"
  52. class="ui-resizable-handle">
  53. </div>
  54. </div>
  55. <script type="text/javascript">
  56. $(document).ready(function(){initNavTree('stack_8c.html','');});
  57. </script>
  58. <div id="doc-content">
  59. <div class="header">
  60. <div class="summary">
  61. <a href="#nested-classes">Data Structures</a> &#124;
  62. <a href="#func-members">Functions</a> </div>
  63. <div class="headertitle">
  64. <div class="title">stack.c File Reference</div> </div>
  65. </div><!--header-->
  66. <div class="contents">
  67. <p><a class="el" href="struct_stack.html" title="Internal representation of a Stack. ">Stack</a> container implementation.
  68. <a href="#details">More...</a></p>
  69. <div class="textblock"><code>#include &lt;limits.h&gt;</code><br />
  70. <code>#include &quot;<a class="el" href="stack_8h.html">epid/common/stack.h</a>&quot;</code><br />
  71. <code>#include &quot;<a class="el" href="memory_8h.html">epid/common/memory.h</a>&quot;</code><br />
  72. </div><table class="memberdecls">
  73. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  74. Data Structures</h2></td></tr>
  75. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_stack.html">Stack</a></td></tr>
  76. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal representation of a <a class="el" href="struct_stack.html" title="Internal representation of a Stack. ">Stack</a>. <a href="struct_stack.html#details">More...</a><br /></td></tr>
  77. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. </table><table class="memberdecls">
  79. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  80. Functions</h2></td></tr>
  81. <tr class="memitem:ga00cb25d52726cef61a9a5266176c2a58"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdtypes_8h.html#ad5c9d4ba3dc37783a528b0925dc981a0">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#ga00cb25d52726cef61a9a5266176c2a58">CreateStack</a> (size_t element_size, <a class="el" href="struct_stack.html">Stack</a> **stack)</td></tr>
  82. <tr class="memdesc:ga00cb25d52726cef61a9a5266176c2a58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create stack. <a href="group___epid_common.html#ga00cb25d52726cef61a9a5266176c2a58">More...</a><br /></td></tr>
  83. <tr class="separator:ga00cb25d52726cef61a9a5266176c2a58"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:ga0b4dedb867504e0148aa0e1fdf642b2b"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#ga0b4dedb867504e0148aa0e1fdf642b2b">StackPushN</a> (<a class="el" href="struct_stack.html">Stack</a> *stack, size_t n, void *elements)</td></tr>
  85. <tr class="memdesc:ga0b4dedb867504e0148aa0e1fdf642b2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Push multiple elements to the stack. <a href="group___epid_common.html#ga0b4dedb867504e0148aa0e1fdf642b2b">More...</a><br /></td></tr>
  86. <tr class="separator:ga0b4dedb867504e0148aa0e1fdf642b2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:ga8cdde2b366f4473f0a6965bcfea5b6a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdtypes_8h.html#ad5c9d4ba3dc37783a528b0925dc981a0">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#ga8cdde2b366f4473f0a6965bcfea5b6a6">StackPopN</a> (<a class="el" href="struct_stack.html">Stack</a> *stack, size_t n, void *elements)</td></tr>
  88. <tr class="memdesc:ga8cdde2b366f4473f0a6965bcfea5b6a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pop multiple elements from the stack. <a href="group___epid_common.html#ga8cdde2b366f4473f0a6965bcfea5b6a6">More...</a><br /></td></tr>
  89. <tr class="separator:ga8cdde2b366f4473f0a6965bcfea5b6a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:gab34066dc882ad63362c43c0790973fdc"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#gab34066dc882ad63362c43c0790973fdc">StackGetSize</a> (<a class="el" href="struct_stack.html">Stack</a> const *stack)</td></tr>
  91. <tr class="memdesc:gab34066dc882ad63362c43c0790973fdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get number of elements in the stack. <a href="group___epid_common.html#gab34066dc882ad63362c43c0790973fdc">More...</a><br /></td></tr>
  92. <tr class="separator:gab34066dc882ad63362c43c0790973fdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:ga3335a4754825c54840263aa4b2a9bf67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_common.html#ga3335a4754825c54840263aa4b2a9bf67">DeleteStack</a> (<a class="el" href="struct_stack.html">Stack</a> **stack)</td></tr>
  94. <tr class="memdesc:ga3335a4754825c54840263aa4b2a9bf67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deallocates memory used for the stack. <a href="group___epid_common.html#ga3335a4754825c54840263aa4b2a9bf67">More...</a><br /></td></tr>
  95. <tr class="separator:ga3335a4754825c54840263aa4b2a9bf67"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. </table>
  97. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  98. <div class="textblock"><p><a class="el" href="struct_stack.html" title="Internal representation of a Stack. ">Stack</a> container implementation. </p>
  99. </div></div><!-- contents -->
  100. </div><!-- doc-content -->
  101. <!-- HTML footer for doxygen 1.8.10-->
  102. <!-- start footer part -->
  103. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  104. <ul>
  105. <li class="navelem"><a class="el" href="dir_12b90d9c027aaf878a834df729679a56.html">epid</a></li><li class="navelem"><a class="el" href="dir_f6bef457d5f671b6e774bfccc16651f6.html">common</a></li><li class="navelem"><a class="el" href="stack_8c.html">stack.c</a></li>
  106. <li class="footer">
  107. &copy; 2016 Intel Corporation
  108. </li>
  109. </ul>
  110. </div>
  111. </body>
  112. </html>