1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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 <title>json-c: /home/erh/json-c-0.15/json_c_version.h File Reference</title> 7 <link href="tabs.css" rel="stylesheet" type="text/css"/> 8 <script type="text/javascript" src="jquery.js"></script> 9 <script type="text/javascript" src="dynsections.js"></script> 10 <link href="doxygen.css" rel="stylesheet" type="text/css" /> 11 </head> 12 <body> 13 <div id="top"><!-- do not remove this div, it is closed by doxygen! --> 14 <div id="titlearea"> 15 <table cellspacing="0" cellpadding="0"> 16 <tbody> 17 <tr style="height: 56px;"> 18 <td style="padding-left: 0.5em;"> 19 <div id="projectname">json-c 20  <span id="projectnumber">0.15</span> 21 </div> 22 </td> 23 </tr> 24 </tbody> 25 </table> 26 </div> 27 <!-- end header part --> 28 <!-- Generated by Doxygen 1.8.2 --> 29 <div id="navrow1" class="tabs"> 30 <ul class="tablist"> 31 <li><a href="index.html"><span>Main Page</span></a></li> 32 <li><a href="pages.html"><span>Related Pages</span></a></li> 33 <li><a href="annotated.html"><span>Data Structures</span></a></li> 34 <li class="current"><a href="files.html"><span>Files</span></a></li> 35 </ul> 36 </div> 37 <div id="navrow2" class="tabs2"> 38 <ul class="tablist"> 39 <li><a href="files.html"><span>File List</span></a></li> 40 <li><a href="globals.html"><span>Globals</span></a></li> 41 </ul> 42 </div> 43 <div id="nav-path" class="navpath"> 44 <ul> 45 <li class="navelem"><a class="el" href="dir_71f13e590eb9d766c31051438785ada5.html">json-c-0.15</a></li> </ul> 46 </div> 47 </div><!-- top --> 48 <div class="header"> 49 <div class="summary"> 50 <a href="#define-members">Macros</a> | 51 <a href="#func-members">Functions</a> </div> 52 <div class="headertitle"> 53 <div class="title">json_c_version.h File Reference</div> </div> 54 </div><!--header--> 55 <div class="contents"> 56 57 <p>Methods for retrieving the json-c version. 58 <a href="#details">More...</a></p> 59 <table class="memberdecls"> 60 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> 61 Macros</h2></td></tr> 62 <tr class="memitem:a251c3e1f59a379a4a905382b4e855125"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a>   0</td></tr> 63 <tr class="separator:a251c3e1f59a379a4a905382b4e855125"><td class="memSeparator" colspan="2"> </td></tr> 64 <tr class="memitem:adc87477fbc1c75848fe6b6feec21c2d6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a>   15</td></tr> 65 <tr class="separator:adc87477fbc1c75848fe6b6feec21c2d6"><td class="memSeparator" colspan="2"> </td></tr> 66 <tr class="memitem:a64457730097067ab096906d82e4a51a6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>   0</td></tr> 67 <tr class="separator:a64457730097067ab096906d82e4a51a6"><td class="memSeparator" colspan="2"> </td></tr> 68 <tr class="memitem:a78e176eee75ee6aed43c4d65ca4c5b44"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">JSON_C_VERSION_NUM</a>   ((<a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a> << 16) | (<a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a> << 8) | <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>)</td></tr> 69 <tr class="separator:a78e176eee75ee6aed43c4d65ca4c5b44"><td class="memSeparator" colspan="2"> </td></tr> 70 <tr class="memitem:a894adda66a072bc3fd34ebe91a5aa7f4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">JSON_C_VERSION</a>   "0.15"</td></tr> 71 <tr class="separator:a894adda66a072bc3fd34ebe91a5aa7f4"><td class="memSeparator" colspan="2"> </td></tr> 72 <tr class="memitem:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a>   extern</td></tr> 73 <tr class="separator:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memSeparator" colspan="2"> </td></tr> 74 </table><table class="memberdecls"> 75 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> 76 Functions</h2></td></tr> 77 <tr class="memitem:a1c42f6f71943775e2696c47951989711"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a1c42f6f71943775e2696c47951989711">json_c_version</a> (void)</td></tr> 78 <tr class="separator:a1c42f6f71943775e2696c47951989711"><td class="memSeparator" colspan="2"> </td></tr> 79 <tr class="memitem:a860ee32b09f4faf38d73771a6ed193ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a860ee32b09f4faf38d73771a6ed193ed">json_c_version_num</a> (void)</td></tr> 80 <tr class="separator:a860ee32b09f4faf38d73771a6ed193ed"><td class="memSeparator" colspan="2"> </td></tr> 81 </table> 82 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> 83 <div class="textblock"><p>Methods for retrieving the json-c version. </p> 84 </div><h2 class="groupheader">Macro Definition Documentation</h2> 85 <a class="anchor" id="a251c3e1f59a379a4a905382b4e855125"></a> 86 <div class="memitem"> 87 <div class="memproto"> 88 <table class="memname"> 89 <tr> 90 <td class="memname">#define JSON_C_MAJOR_VERSION   0</td> 91 </tr> 92 </table> 93 </div><div class="memdoc"> 94 95 </div> 96 </div> 97 <a class="anchor" id="a64457730097067ab096906d82e4a51a6"></a> 98 <div class="memitem"> 99 <div class="memproto"> 100 <table class="memname"> 101 <tr> 102 <td class="memname">#define JSON_C_MICRO_VERSION   0</td> 103 </tr> 104 </table> 105 </div><div class="memdoc"> 106 107 </div> 108 </div> 109 <a class="anchor" id="adc87477fbc1c75848fe6b6feec21c2d6"></a> 110 <div class="memitem"> 111 <div class="memproto"> 112 <table class="memname"> 113 <tr> 114 <td class="memname">#define JSON_C_MINOR_VERSION   15</td> 115 </tr> 116 </table> 117 </div><div class="memdoc"> 118 119 </div> 120 </div> 121 <a class="anchor" id="a894adda66a072bc3fd34ebe91a5aa7f4"></a> 122 <div class="memitem"> 123 <div class="memproto"> 124 <table class="memname"> 125 <tr> 126 <td class="memname">#define JSON_C_VERSION   "0.15"</td> 127 </tr> 128 </table> 129 </div><div class="memdoc"> 130 131 </div> 132 </div> 133 <a class="anchor" id="a78e176eee75ee6aed43c4d65ca4c5b44"></a> 134 <div class="memitem"> 135 <div class="memproto"> 136 <table class="memname"> 137 <tr> 138 <td class="memname">#define JSON_C_VERSION_NUM   ((<a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a> << 16) | (<a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a> << 8) | <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>)</td> 139 </tr> 140 </table> 141 </div><div class="memdoc"> 142 143 </div> 144 </div> 145 <a class="anchor" id="a2a31d5c00f3a4712f2d5d62aee66344e"></a> 146 <div class="memitem"> 147 <div class="memproto"> 148 <table class="memname"> 149 <tr> 150 <td class="memname">#define JSON_EXPORT   extern</td> 151 </tr> 152 </table> 153 </div><div class="memdoc"> 154 155 </div> 156 </div> 157 <h2 class="groupheader">Function Documentation</h2> 158 <a class="anchor" id="a1c42f6f71943775e2696c47951989711"></a> 159 <div class="memitem"> 160 <div class="memproto"> 161 <table class="memname"> 162 <tr> 163 <td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char* json_c_version </td> 164 <td>(</td> 165 <td class="paramtype">void </td> 166 <td class="paramname"></td><td>)</td> 167 <td></td> 168 </tr> 169 </table> 170 </div><div class="memdoc"> 171 <dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">JSON_C_VERSION</a> </dd></dl> 172 <dl class="section return"><dt>Returns</dt><dd>the version of the json-c library as a string </dd></dl> 173 174 </div> 175 </div> 176 <a class="anchor" id="a860ee32b09f4faf38d73771a6ed193ed"></a> 177 <div class="memitem"> 178 <div class="memproto"> 179 <table class="memname"> 180 <tr> 181 <td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_c_version_num </td> 182 <td>(</td> 183 <td class="paramtype">void </td> 184 <td class="paramname"></td><td>)</td> 185 <td></td> 186 </tr> 187 </table> 188 </div><div class="memdoc"> 189 <p>The json-c version encoded into an int, with the low order 8 bits being the micro version, the next higher 8 bits being the minor version and the next higher 8 bits being the major version. For example, 7.12.99 would be 0x00070B63.</p> 190 <dl class="section see"><dt>See Also</dt><dd><a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">JSON_C_VERSION_NUM</a> </dd></dl> 191 <dl class="section return"><dt>Returns</dt><dd>the version of the json-c library as an int </dd></dl> 192 193 </div> 194 </div> 195 </div><!-- contents --> 196 <!-- start footer part --> 197 <hr class="footer"/><address class="footer"><small> 198 Generated on Sun Jul 26 2020 15:11:19 for json-c by  <a href="http://www.doxygen.org/index.html"> 199 <img class="footer" src="doxygen.png" alt="doxygen"/> 200 </a> 1.8.2 201 </small></address> 202 </body> 203 </html>
This page was automatically generated by LXR 0.3.1. • OpenWrt