Craig Tiller | 68f4e0f | 2015-08-05 08:18:21 -0700 | [diff] [blame^] | 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 | <meta name="generator" content="Doxygen 1.8.6"/> |
| 7 | <title>GRPC Core: src/core/client_config/resolvers/sockaddr_resolver.h Source File</title> |
| 8 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 9 | <script type="text/javascript" src="jquery.js"></script> |
| 10 | <script type="text/javascript" src="dynsections.js"></script> |
| 11 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 12 | <script type="text/javascript" src="search/search.js"></script> |
| 13 | <script type="text/javascript"> |
| 14 | $(document).ready(function() { searchBox.OnSelectItem(0); }); |
| 15 | </script> |
| 16 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 17 | </head> |
| 18 | <body> |
| 19 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 20 | <div id="titlearea"> |
| 21 | <table cellspacing="0" cellpadding="0"> |
| 22 | <tbody> |
| 23 | <tr style="height: 56px;"> |
| 24 | <td style="padding-left: 0.5em;"> |
| 25 | <div id="projectname">GRPC Core |
| 26 |  <span id="projectnumber">0.10.0.0</span> |
| 27 | </div> |
| 28 | </td> |
| 29 | </tr> |
| 30 | </tbody> |
| 31 | </table> |
| 32 | </div> |
| 33 | <!-- end header part --> |
| 34 | <!-- Generated by Doxygen 1.8.6 --> |
| 35 | <script type="text/javascript"> |
| 36 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 37 | </script> |
| 38 | <div id="navrow1" class="tabs"> |
| 39 | <ul class="tablist"> |
| 40 | <li><a href="index.html"><span>Main Page</span></a></li> |
| 41 | <li><a href="annotated.html"><span>Data Structures</span></a></li> |
| 42 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
| 43 | <li> |
| 44 | <div id="MSearchBox" class="MSearchBoxInactive"> |
| 45 | <span class="left"> |
| 46 | <img id="MSearchSelect" src="search/mag_sel.png" |
| 47 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 48 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 49 | alt=""/> |
| 50 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
| 51 | onfocus="searchBox.OnSearchFieldFocus(true)" |
| 52 | onblur="searchBox.OnSearchFieldFocus(false)" |
| 53 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| 54 | </span><span class="right"> |
| 55 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| 56 | </span> |
| 57 | </div> |
| 58 | </li> |
| 59 | </ul> |
| 60 | </div> |
| 61 | <div id="navrow2" class="tabs2"> |
| 62 | <ul class="tablist"> |
| 63 | <li><a href="files.html"><span>File List</span></a></li> |
| 64 | <li><a href="globals.html"><span>Globals</span></a></li> |
| 65 | </ul> |
| 66 | </div> |
| 67 | <!-- window showing the filter options --> |
| 68 | <div id="MSearchSelectWindow" |
| 69 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 70 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 71 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 72 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></div> |
| 73 | |
| 74 | <!-- iframe showing the search results (closed by default) --> |
| 75 | <div id="MSearchResultsWindow"> |
| 76 | <iframe src="javascript:void(0)" frameborder="0" |
| 77 | name="MSearchResults" id="MSearchResults"> |
| 78 | </iframe> |
| 79 | </div> |
| 80 | |
| 81 | <div id="nav-path" class="navpath"> |
| 82 | <ul> |
| 83 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.html">core</a></li><li class="navelem"><a class="el" href="dir_d6c86f4345f838817939dd561d8a016c.html">client_config</a></li><li class="navelem"><a class="el" href="dir_c11753f61f8d651d8cfd411cfadfafab.html">resolvers</a></li> </ul> |
| 84 | </div> |
| 85 | </div><!-- top --> |
| 86 | <div class="header"> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">sockaddr_resolver.h</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | <a href="sockaddr__resolver_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> <span class="comment">/*</span></div> |
| 92 | <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *</span></div> |
| 93 | <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright 2015, Google Inc.</span></div> |
| 94 | <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * All rights reserved.</span></div> |
| 95 | <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div> |
| 96 | <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div> |
| 97 | <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * modification, are permitted provided that the following conditions are</span></div> |
| 98 | <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * met:</span></div> |
| 99 | <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div> |
| 100 | <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * * Redistributions of source code must retain the above copyright</span></div> |
| 101 | <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div> |
| 102 | <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * * Redistributions in binary form must reproduce the above</span></div> |
| 103 | <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * copyright notice, this list of conditions and the following disclaimer</span></div> |
| 104 | <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * in the documentation and/or other materials provided with the</span></div> |
| 105 | <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * distribution.</span></div> |
| 106 | <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * * Neither the name of Google Inc. nor the names of its</span></div> |
| 107 | <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * contributors may be used to endorse or promote products derived from</span></div> |
| 108 | <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * this software without specific prior written permission.</span></div> |
| 109 | <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> *</span></div> |
| 110 | <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span></div> |
| 111 | <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span></div> |
| 112 | <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR</span></div> |
| 113 | <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT</span></div> |
| 114 | <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,</span></div> |
| 115 | <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT</span></div> |
| 116 | <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,</span></div> |
| 117 | <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY</span></div> |
| 118 | <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div> |
| 119 | <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div> |
| 120 | <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div> |
| 121 | <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> *</span></div> |
| 122 | <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> */</span></div> |
| 123 | <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div> |
| 124 | <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#ifndef GRPC_INTERNAL_CORE_CLIENT_CONFIG_RESOLVERS_UNIX_RESOLVER_H</span></div> |
| 125 | <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"></span><span class="preprocessor">#define GRPC_INTERNAL_CORE_CLIENT_CONFIG_RESOLVERS_UNIX_RESOLVER_H</span></div> |
| 126 | <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor"></span></div> |
| 127 | <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include <<a class="code" href="port__platform_8h.html">grpc/support/port_platform.h</a>></span></div> |
| 128 | <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div> |
| 129 | <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include "<a class="code" href="resolver__factory_8h.html">src/core/client_config/resolver_factory.h</a>"</span></div> |
| 130 | <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div> |
| 131 | <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <a class="code" href="structgrpc__resolver__factory.html">grpc_resolver_factory</a> *<a class="code" href="sockaddr__resolver_8h.html#a621b7e3868a79b41351f2204a4c5c1fa">grpc_ipv4_resolver_factory_create</a>(<span class="keywordtype">void</span>);</div> |
| 132 | <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div> |
| 133 | <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <a class="code" href="structgrpc__resolver__factory.html">grpc_resolver_factory</a> *<a class="code" href="sockaddr__resolver_8h.html#abe451b1e6a083dfcc0656fb77a9e42c2">grpc_ipv6_resolver_factory_create</a>(<span class="keywordtype">void</span>);</div> |
| 134 | <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div> |
| 135 | <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#ifdef GPR_POSIX_SOCKET</span></div> |
| 136 | <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"></span></div> |
| 137 | <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <a class="code" href="structgrpc__resolver__factory.html">grpc_resolver_factory</a> *grpc_unix_resolver_factory_create(<span class="keywordtype">void</span>);</div> |
| 138 | <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#endif</span></div> |
| 139 | <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor"></span></div> |
| 140 | <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#endif </span><span class="comment">/* GRPC_INTERNAL_CORE_CLIENT_CONFIG_RESOLVERS_UNIX_RESOLVER_H */</span><span class="preprocessor"></span></div> |
| 141 | <div class="ttc" id="sockaddr__resolver_8h_html_abe451b1e6a083dfcc0656fb77a9e42c2"><div class="ttname"><a href="sockaddr__resolver_8h.html#abe451b1e6a083dfcc0656fb77a9e42c2">grpc_ipv6_resolver_factory_create</a></div><div class="ttdeci">grpc_resolver_factory * grpc_ipv6_resolver_factory_create(void)</div><div class="ttdef"><b>Definition:</b> sockaddr_resolver.c:299</div></div> |
| 142 | <div class="ttc" id="port__platform_8h_html"><div class="ttname"><a href="port__platform_8h.html">port_platform.h</a></div></div> |
| 143 | <div class="ttc" id="resolver__factory_8h_html"><div class="ttname"><a href="resolver__factory_8h.html">resolver_factory.h</a></div></div> |
| 144 | <div class="ttc" id="structgrpc__resolver__factory_html"><div class="ttname"><a href="structgrpc__resolver__factory.html">grpc_resolver_factory</a></div><div class="ttdoc">grpc_resolver provides grpc_client_config objects to grpc_channel objects </div><div class="ttdef"><b>Definition:</b> resolver_factory.h:46</div></div> |
| 145 | <div class="ttc" id="sockaddr__resolver_8h_html_a621b7e3868a79b41351f2204a4c5c1fa"><div class="ttname"><a href="sockaddr__resolver_8h.html#a621b7e3868a79b41351f2204a4c5c1fa">grpc_ipv4_resolver_factory_create</a></div><div class="ttdeci">grpc_resolver_factory * grpc_ipv4_resolver_factory_create(void)</div><div class="ttdef"><b>Definition:</b> sockaddr_resolver.c:298</div></div> |
| 146 | </div><!-- fragment --></div><!-- contents --> |
| 147 | <!-- start footer part --> |
| 148 | <hr class="footer"/><address class="footer"><small> |
| 149 | Generated on Wed Aug 5 2015 08:17:07 for GRPC Core by  <a href="http://www.doxygen.org/index.html"> |
| 150 | <img class="footer" src="doxygen.png" alt="doxygen"/> |
| 151 | </a> 1.8.6 |
| 152 | </small></address> |
| 153 | </body> |
| 154 | </html> |