mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-28 06:10:53 +08:00
219 lines
11 KiB
HTML
219 lines
11 KiB
HTML
<!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.8"/>
|
|
<title>protobuf-c: ProtobufCServiceDescriptor Struct 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="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">protobuf-c
|
|
 <span id="projectnumber">1.1.0</span>
|
|
</div>
|
|
<div id="projectbrief">Protocol Buffers implementation in C</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.8 -->
|
|
</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('structProtobufCServiceDescriptor.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-attribs">Data Fields</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">ProtobufCServiceDescriptor Struct Reference<div class="ingroups"><a class="el" href="group__api.html">Public API</a></div></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Service descriptor.
|
|
<a href="structProtobufCServiceDescriptor.html#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
Data Fields</h2></td></tr>
|
|
<tr class="memitem:a65d2805d0d37a47692470a07835f9b5f"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structProtobufCServiceDescriptor.html#a65d2805d0d37a47692470a07835f9b5f">magic</a></td></tr>
|
|
<tr class="memdesc:a65d2805d0d37a47692470a07835f9b5f"><td class="mdescLeft"> </td><td class="mdescRight">Magic value checked to ensure that the API is used correctly. <a href="#a65d2805d0d37a47692470a07835f9b5f">More...</a><br /></td></tr>
|
|
<tr class="separator:a65d2805d0d37a47692470a07835f9b5f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6dffdde115632481cd4ba3d33fa5030f"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structProtobufCServiceDescriptor.html#a6dffdde115632481cd4ba3d33fa5030f">name</a></td></tr>
|
|
<tr class="memdesc:a6dffdde115632481cd4ba3d33fa5030f"><td class="mdescLeft"> </td><td class="mdescRight">Service name. <a href="#a6dffdde115632481cd4ba3d33fa5030f">More...</a><br /></td></tr>
|
|
<tr class="separator:a6dffdde115632481cd4ba3d33fa5030f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab57899984a434d8fba90e34dc18ba76d"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structProtobufCServiceDescriptor.html#ab57899984a434d8fba90e34dc18ba76d">short_name</a></td></tr>
|
|
<tr class="memdesc:ab57899984a434d8fba90e34dc18ba76d"><td class="mdescLeft"> </td><td class="mdescRight">Short version of service name. <a href="#ab57899984a434d8fba90e34dc18ba76d">More...</a><br /></td></tr>
|
|
<tr class="separator:ab57899984a434d8fba90e34dc18ba76d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0f8afc0f364cf66e7b3e7442eb947454"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structProtobufCServiceDescriptor.html#a0f8afc0f364cf66e7b3e7442eb947454">c_name</a></td></tr>
|
|
<tr class="memdesc:a0f8afc0f364cf66e7b3e7442eb947454"><td class="mdescLeft"> </td><td class="mdescRight">C identifier for the service name. <a href="#a0f8afc0f364cf66e7b3e7442eb947454">More...</a><br /></td></tr>
|
|
<tr class="separator:a0f8afc0f364cf66e7b3e7442eb947454"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0e8cd495b1b6821e637fa428ac4f5f11"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structProtobufCServiceDescriptor.html#a0e8cd495b1b6821e637fa428ac4f5f11">package</a></td></tr>
|
|
<tr class="memdesc:a0e8cd495b1b6821e637fa428ac4f5f11"><td class="mdescLeft"> </td><td class="mdescRight">Package name. <a href="#a0e8cd495b1b6821e637fa428ac4f5f11">More...</a><br /></td></tr>
|
|
<tr class="separator:a0e8cd495b1b6821e637fa428ac4f5f11"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9707053a676eee8e99f39724267f6fec"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="structProtobufCServiceDescriptor.html#a9707053a676eee8e99f39724267f6fec">n_methods</a></td></tr>
|
|
<tr class="memdesc:a9707053a676eee8e99f39724267f6fec"><td class="mdescLeft"> </td><td class="mdescRight">Number of elements in <code>methods</code>. <a href="#a9707053a676eee8e99f39724267f6fec">More...</a><br /></td></tr>
|
|
<tr class="separator:a9707053a676eee8e99f39724267f6fec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a603d33ec345f41fa788e16c49922c38b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structProtobufCMethodDescriptor.html">ProtobufCMethodDescriptor</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structProtobufCServiceDescriptor.html#a603d33ec345f41fa788e16c49922c38b">methods</a></td></tr>
|
|
<tr class="memdesc:a603d33ec345f41fa788e16c49922c38b"><td class="mdescLeft"> </td><td class="mdescRight">Method descriptors, in the order defined in the .proto file. <a href="#a603d33ec345f41fa788e16c49922c38b">More...</a><br /></td></tr>
|
|
<tr class="separator:a603d33ec345f41fa788e16c49922c38b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a778e51570e3a7cb102e963891b5c6a9d"><td class="memItemLeft" align="right" valign="top">const unsigned * </td><td class="memItemRight" valign="bottom"><a class="el" href="structProtobufCServiceDescriptor.html#a778e51570e3a7cb102e963891b5c6a9d">method_indices_by_name</a></td></tr>
|
|
<tr class="memdesc:a778e51570e3a7cb102e963891b5c6a9d"><td class="mdescLeft"> </td><td class="mdescRight">Sort index of methods. <a href="#a778e51570e3a7cb102e963891b5c6a9d">More...</a><br /></td></tr>
|
|
<tr class="separator:a778e51570e3a7cb102e963891b5c6a9d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Service descriptor. </p>
|
|
</div><h2 class="groupheader">Field Documentation</h2>
|
|
<a class="anchor" id="a65d2805d0d37a47692470a07835f9b5f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t ProtobufCServiceDescriptor::magic</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Magic value checked to ensure that the API is used correctly. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6dffdde115632481cd4ba3d33fa5030f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char* ProtobufCServiceDescriptor::name</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Service name. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab57899984a434d8fba90e34dc18ba76d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char* ProtobufCServiceDescriptor::short_name</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Short version of service name. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0f8afc0f364cf66e7b3e7442eb947454"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char* ProtobufCServiceDescriptor::c_name</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>C identifier for the service name. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0e8cd495b1b6821e637fa428ac4f5f11"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char* ProtobufCServiceDescriptor::package</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Package name. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9707053a676eee8e99f39724267f6fec"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned ProtobufCServiceDescriptor::n_methods</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Number of elements in <code>methods</code>. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a603d33ec345f41fa788e16c49922c38b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="structProtobufCMethodDescriptor.html">ProtobufCMethodDescriptor</a>* ProtobufCServiceDescriptor::methods</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Method descriptors, in the order defined in the .proto file. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a778e51570e3a7cb102e963891b5c6a9d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const unsigned* ProtobufCServiceDescriptor::method_indices_by_name</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Sort index of methods. </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="structProtobufCServiceDescriptor.html">ProtobufCServiceDescriptor</a></li>
|
|
<li class="footer">Generated by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|