Debian Codegraph @

doc/html/structnats_msg_list.html

raw symbols SCIP
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.9.8"/>
8 <title>NATS C Client with JetStream and Streaming support: natsMsgList Struct 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 <link href="search/search.css" rel="stylesheet" type="text/css"/>
17 <script type="text/javascript" src="search/searchdata.js"></script>
18 <script type="text/javascript" src="search/search.js"></script>
19 <link href="customdoxygen.css" rel="stylesheet" type="text/css" />
20 </head>
21 <body>
22 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
23 <div id="titlearea">
24 <table cellspacing="0" cellpadding="0">
25 <tbody>
26 <tr style="height: 56px;">
27 <td id="projectalign" style="padding-left: 0.5em;" >
28 <div id="projectname">NATS C Client with JetStream and Streaming support
29 &#160;<span id="projectnumber">3.12.0</span>
30 </div>
31 <div id="projectbrief">The nats.io C Client, Supported by Synadia Communications Inc.</div>
32 </td>
33 </tr>
34 </tbody>
35 </table>
36 </div>
37 <!-- end header part -->
38 <!-- Generated by Doxygen 1.9.8 -->
39 <script type="text/javascript">
40 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
41 var searchBox = new SearchBox("searchBox", "search/",'.html');
42 /* @license-end */
43 </script>
44 <script type="text/javascript" src="menudata.js"></script>
45 <script type="text/javascript" src="menu.js"></script>
46 <script type="text/javascript">
47 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
48 $(function() {
49 initMenu('',true,false,'search.php','Search');
50 $(document).ready(function() { init_search(); });
51 });
52 /* @license-end */
53 </script>
54 <div id="main-nav"></div>
55 </div><!-- top -->
56 <div id="side-nav" class="ui-resizable side-nav-resizable">
57 <div id="nav-tree">
58 <div id="nav-tree-contents">
59 <div id="nav-sync" class="sync"></div>
60 </div>
61 </div>
62 <div id="splitbar" style="-moz-user-select:none;"
63 class="ui-resizable-handle">
64 </div>
65 </div>
66 <script type="text/javascript">
67 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
68 $(document).ready(function(){initNavTree('structnats_msg_list.html',''); initResizable(); });
69 /* @license-end */
70 </script>
71 <div id="doc-content">
72 <!-- window showing the filter options -->
73 <div id="MSearchSelectWindow"
74 onmouseover="return searchBox.OnSearchSelectShow()"
75 onmouseout="return searchBox.OnSearchSelectHide()"
76 onkeydown="return searchBox.OnSearchSelectKey(event)">
77 </div>
78
79 <!-- iframe showing the search results (closed by default) -->
80 <div id="MSearchResultsWindow">
81 <div id="MSearchResults">
82 <div class="SRPage">
83 <div id="SRIndex">
84 <div id="SRResults"></div>
85 <div class="SRStatus" id="Loading">Loading...</div>
86 <div class="SRStatus" id="Searching">Searching...</div>
87 <div class="SRStatus" id="NoMatches">No Matches</div>
88 </div>
89 </div>
90 </div>
91 </div>
92
93 <div class="header">
94 <div class="summary">
95 <a href="#pub-attribs">Public Attributes</a> &#124;
96 <a href="structnats_msg_list-members.html">List of all members</a> </div>
97 <div class="headertitle"><div class="title">natsMsgList Struct Reference<div class="ingroups"><a class="el" href="group__types_group.html">Types</a></div></div></div>
98 </div><!--header-->
99 <div class="contents">
100
101 <p>A list of NATS messages.
102 <a href="structnats_msg_list.html#details">More...</a></p>
103
104 <p><code>#include &lt;<a class="el" href="nats_8h_source.html">nats.h</a>&gt;</code></p>
105 <table class="memberdecls">
106 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
107 Public Attributes</h2></td></tr>
108 <tr class="memitem:aa123668879f1c9c11c9be7bd81a205c5" id="r_aa123668879f1c9c11c9be7bd81a205c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a> **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnats_msg_list.html#aa123668879f1c9c11c9be7bd81a205c5">Msgs</a></td></tr>
109 <tr class="separator:aa123668879f1c9c11c9be7bd81a205c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
110 <tr class="memitem:a5c48bf6b9e7f1d889d7ad31694911750" id="r_a5c48bf6b9e7f1d889d7ad31694911750"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnats_msg_list.html#a5c48bf6b9e7f1d889d7ad31694911750">Count</a></td></tr>
111 <tr class="separator:a5c48bf6b9e7f1d889d7ad31694911750"><td class="memSeparator" colspan="2">&#160;</td></tr>
112 </table>
113 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
114 <div class="textblock"><p>Used by some APIs which return a list of <a class="el" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a" title="A structure holding a subject, optional reply and payload.">natsMsg</a> objects.</p>
115 <p>Those APIs will not create the object, but instead initialize the object to which a pointer to that object will be passed to it. Typically, the user will define the object on the stack and pass a pointer to this object to APIs that require a pointer to a <a class="el" href="structnats_msg_list.html" title="A list of NATS messages.">natsMsgList</a> object.</p>
116 <p>Similarly, calling <a class="el" href="group__msg_group.html#ga1a091d24f939d881bf04fba78b8995c2" title="Destroys this list of messages.">natsMsgList_Destroy</a> will call <a class="el" href="group__msg_group.html#ga9e9590018284939f43f60964283f33ae" title="Destroys the message object.">natsMsg_Destroy</a> on any message still in the list, free the array containing pointers to the messages, but not free the <a class="el" href="structnats_msg_list.html" title="A list of NATS messages.">natsMsgList</a> object itself.</p>
117 <dl class="section note"><dt>Note</dt><dd>If the user wants to keep some of the messages from the list, the pointers of those messages in the <code>Msgs</code> array should be set to <code>NULL</code>. The value <code>Count</code> MUST not be changed. The function <a class="el" href="group__msg_group.html#ga1a091d24f939d881bf04fba78b8995c2" title="Destroys this list of messages.">natsMsgList_Destroy</a> will iterate through all pointers in the list and only destroy the ones that have not been set to <code>NULL</code>.</dd></dl>
118 <dl class="section see"><dt>See also</dt><dd><a class="el" href="group__msg_group.html#ga1a091d24f939d881bf04fba78b8995c2" title="Destroys this list of messages.">natsMsgList_Destroy</a> </dd></dl>
119 </div><h2 class="groupheader">Member Data Documentation</h2>
120 <a id="aa123668879f1c9c11c9be7bd81a205c5" name="aa123668879f1c9c11c9be7bd81a205c5"></a>
121 <h2 class="memtitle"><span class="permalink"><a href="#aa123668879f1c9c11c9be7bd81a205c5">&#9670;&#160;</a></span>Msgs</h2>
122
123 <div class="memitem">
124 <div class="memproto">
125 <table class="memname">
126 <tr>
127 <td class="memname"><a class="el" href="group__types_group.html#gadcab54026c4ed78f344ce03ce31bb61a">natsMsg</a>** natsMsgList::Msgs</td>
128 </tr>
129 </table>
130 </div><div class="memdoc">
131
132 </div>
133 </div>
134 <a id="a5c48bf6b9e7f1d889d7ad31694911750" name="a5c48bf6b9e7f1d889d7ad31694911750"></a>
135 <h2 class="memtitle"><span class="permalink"><a href="#a5c48bf6b9e7f1d889d7ad31694911750">&#9670;&#160;</a></span>Count</h2>
136
137 <div class="memitem">
138 <div class="memproto">
139 <table class="memname">
140 <tr>
141 <td class="memname">int natsMsgList::Count</td>
142 </tr>
143 </table>
144 </div><div class="memdoc">
145
146 </div>
147 </div>
148 <hr/>The documentation for this struct was generated from the following file:<ul>
149 <li><a class="el" href="nats_8h_source.html">nats.h</a></li>
150 </ul>
151 </div><!-- contents -->
152 </div><!-- doc-content -->
153 <!-- HTML footer for doxygen 1.8.10-->
154 <!-- start footer part -->
155 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
156 <ul>
157 <li class="navelem"><a class="el" href="structnats_msg_list.html">natsMsgList</a></li>
158 <li class="footer">NATS.IO Supported By Synadia Communications Inc.
159 <a href="http://www.nats.io">
160 </a></li>
161 </ul>
162 </div>
163 </body>
164 </html>