constants_8h_source.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.16"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Socket Server: headers/constants.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. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">Socket Server
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.16 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. <div id="nav-path" class="navpath">
  61. <ul>
  62. <li class="navelem"><a class="el" href="dir_7f57b1e41c5acd0e859ae5f3a2b075a9.html">headers</a></li> </ul>
  63. </div>
  64. </div><!-- top -->
  65. <div class="header">
  66. <div class="headertitle">
  67. <div class="title">constants.h</div> </div>
  68. </div><!--header-->
  69. <div class="contents">
  70. <a href="constants_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef __CONSTANTS_H__</span></div>
  71. <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define __CONSTANTS_H__</span></div>
  72. <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#ifndef TRX_SOCKET_CONSTANTS</span></div>
  73. <div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="constants_8h.html#a7b09af6ee3c356c6ba02789d8df81ead"> 4</a></span>&#160;<span class="preprocessor">#define TRX_SOCKET_CONSTANTS 1</span></div>
  74. <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160; </div>
  75. <div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="constants_8h.html#a7f4f0dd9da8c8a8f94c90f220180b5aa"> 8</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="constants_8h.html#a7f4f0dd9da8c8a8f94c90f220180b5aa">SOCKET_ERROR</a> = -1;</div>
  76. <div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="constants_8h.html#af59cdc19a0071eae1c2cdc360933915b"> 9</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="constants_8h.html#af59cdc19a0071eae1c2cdc360933915b">SOCKET_OK</a> = 0;</div>
  77. <div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="constants_8h.html#a1da4089355fd8fe699510ce617f0c853"> 13</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="constants_8h.html#a1da4089355fd8fe699510ce617f0c853">WAIT_SOCKET_FAILURE</a> = -1;</div>
  78. <div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="constants_8h.html#a5af241ff8315b3576a4361ed240b0aac"> 14</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="constants_8h.html#a5af241ff8315b3576a4361ed240b0aac">WAIT_SOCKET_SUCCESS</a> = 0;</div>
  79. <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
  80. <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#endif</span></div>
  81. <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#endif // __CONSTANTS_H__</span></div>
  82. </div><!-- fragment --></div><!-- contents -->
  83. <div class="ttc" id="aconstants_8h_html_a1da4089355fd8fe699510ce617f0c853"><div class="ttname"><a href="constants_8h.html#a1da4089355fd8fe699510ce617f0c853">WAIT_SOCKET_FAILURE</a></div><div class="ttdeci">const int WAIT_SOCKET_FAILURE</div><div class="ttdef"><b>Definition:</b> constants.h:13</div></div>
  84. <div class="ttc" id="aconstants_8h_html_a5af241ff8315b3576a4361ed240b0aac"><div class="ttname"><a href="constants_8h.html#a5af241ff8315b3576a4361ed240b0aac">WAIT_SOCKET_SUCCESS</a></div><div class="ttdeci">const int WAIT_SOCKET_SUCCESS</div><div class="ttdef"><b>Definition:</b> constants.h:14</div></div>
  85. <div class="ttc" id="aconstants_8h_html_a7f4f0dd9da8c8a8f94c90f220180b5aa"><div class="ttname"><a href="constants_8h.html#a7f4f0dd9da8c8a8f94c90f220180b5aa">SOCKET_ERROR</a></div><div class="ttdeci">const int SOCKET_ERROR</div><div class="ttdef"><b>Definition:</b> constants.h:8</div></div>
  86. <div class="ttc" id="aconstants_8h_html_af59cdc19a0071eae1c2cdc360933915b"><div class="ttname"><a href="constants_8h.html#af59cdc19a0071eae1c2cdc360933915b">SOCKET_OK</a></div><div class="ttdeci">const int SOCKET_OK</div><div class="ttdef"><b>Definition:</b> constants.h:9</div></div>
  87. <!-- start footer part -->
  88. <hr class="footer"/><address class="footer"><small>
  89. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  90. <img class="footer" src="doxygen.png" alt="doxygen"/>
  91. </a> 1.8.16
  92. </small></address>
  93. </body>
  94. </html>