Debian Codegraph @

doc/gssdp-1.6/method.Client.append_header.html

raw symbols SCIP
1 <!--
2 SPDX-FileCopyrightText: The GUPnP developers
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5 -->
6
7 <!DOCTYPE html>
8 <html lang="en">
9 <head>
10 <title>GSSDP.Client.append_header</title>
11 <meta name="viewport" content="width=device-width, initial-scale=1">
12
13 <meta charset="utf-8" />
14
15
16 <meta property="og:type" content="website"/>
17
18
19 <meta property="og:image:width" content="256"/>
20 <meta property="og:image:height" content="256"/>
21 <meta property="og:image:secure_url" content="gupnp-logo-short.svg"/>
22 <meta property="og:image:alt" content="GSSDP-1.6"/>
23
24
25
26 <meta priority="og:title" content="GSSDP.Client.append_header"/>
27 <meta priority="og:description" content="Reference for GSSDP.Client.append_header"/>
28 <meta name="twitter:title" content="GSSDP.Client.append_header"/>
29 <meta name="twitter:description" content="Reference for GSSDP.Client.append_header"/>
30
31
32
33 <meta name="twitter:card" content="summary"/>
34
35
36
37
38
39
40 <link rel="stylesheet" href="style.css" type="text/css" />
41
42
43
44
45 <script src="urlmap.js"></script>
46
47
48 <script src="fzy.js"></script>
49 <script src="search.js"></script>
50
51 <script src="main.js"></script>
52
53
54 </head>
55
56 <body>
57 <div id="body-wrapper" tabindex="-1">
58
59 <nav class="sidebar devhelp-hidden">
60
61 <div class="section">
62 <a href="index.html"><img src="gupnp-logo-short.svg" class="logo"/></a>
63 </div>
64
65
66 <div class="search section">
67 <form id="search-form" autocomplete="off">
68 <input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
69 </form>
70 </div>
71
72 <div class="section namespace">
73 <h3><a href="index.html">GSSDP</a></h3>
74 <p>API Version: 1.6</p>
75
76 <p>Library Version: 1.6.6</p>
77
78 </div>
79
80 <div class="section">
81 <h5>Type</h5>
82 <div class="links">
83 <a href="class.Client.html">Client</a>
84 </div>
85 </div>
86 <div class="section">
87 <h5>Methods</h5>
88 <div class="links">
89
90 <a class="method" href="method.Client.add_cache_entry.html">add_cache_entry</a>
91
92 <a class="method current" href="method.Client.append_header.html">append_header</a>
93
94 <a class="method" href="method.Client.can_reach.html">can_reach</a>
95
96 <a class="method" href="method.Client.clear_headers.html">clear_headers</a>
97
98 <a class="method" href="method.Client.get_active.html">get_active</a>
99
100 <a class="method" href="method.Client.get_address.html">get_address</a>
101
102 <a class="method" href="method.Client.get_address_mask.html">get_address_mask</a>
103
104 <a class="method" href="method.Client.get_family.html">get_family</a>
105
106 <a class="method" href="method.Client.get_host_ip.html">get_host_ip</a>
107
108 <a class="method" href="method.Client.get_index.html">get_index</a>
109
110 <a class="method" href="method.Client.get_interface.html">get_interface</a>
111
112 <a class="method" href="method.Client.get_network.html">get_network</a>
113
114 <a class="method" href="method.Client.get_port.html">get_port</a>
115
116 <a class="method" href="method.Client.get_server_id.html">get_server_id</a>
117
118 <a class="method" href="method.Client.get_tcp_socket.html">get_tcp_socket</a>
119
120 <a class="method" href="method.Client.get_uda_version.html">get_uda_version</a>
121
122 <a class="method" href="method.Client.guess_user_agent.html">guess_user_agent</a>
123
124 <a class="method" href="method.Client.remove_header.html">remove_header</a>
125
126 <a class="method" href="method.Client.set_boot_id.html">set_boot_id</a>
127
128 <a class="method" href="method.Client.set_config_id.html">set_config_id</a>
129
130 <a class="method" href="method.Client.set_network.html">set_network</a>
131
132 <a class="method" href="method.Client.set_server_id.html">set_server_id</a>
133
134 </div>
135 </div>
136
137 <div class="section generator">
138 <p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2026.1</p>
139 </div>
140 </nav>
141
142 <button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
143
144
145 <section id="main" class="content">
146 <header>
147 <h3>Method</h3>
148 <h1><a href="index.html">GSSDP</a><span class="sep"></span><a href="class.Client.html">Client</a><span class="sep"></span>append_header</h1>
149 </header>
150
151 <section>
152 <div class="docblock">
153 <p></p>
154 </div>
155
156 <div class="declaration toggle-wrapper">
157 <h4 style="display:flex;" id="declaration">
158 Declaration
159 <a class="anchor" href="#declaration"></a>
160
161 <a class="srclink" title="go to source location" href="https://gitlab.gnome.org/GNOME/gssdp/-/blob/libgssdp/gssdp-client.h#L113">[src]</a>
162
163 </h4>
164
165 <div class="docblock c-decl">
166 <pre><code><div class="highlight"><pre><span></span><span class="kt">void</span>
167 <span class="n">gssdp_client_append_header</span><span class="w"> </span><span class="p">(</span>
168 <span class="w"> </span><span class="n">GSSDPClient</span><span class="o">*</span><span class="w"> </span><span class="n">client</span><span class="p">,</span>
169 <span class="w"> </span><span class="k">const</span><span class="w"> </span><span class="kt">char</span><span class="o">*</span><span class="w"> </span><span class="n">name</span><span class="p">,</span>
170 <span class="w"> </span><span class="k">const</span><span class="w"> </span><span class="kt">char</span><span class="o">*</span><span class="w"> </span><span class="n">value</span>
171 <span class="p">)</span>
172 </pre></div>
173 </code></pre>
174 </div>
175 </div>
176
177 <div class="description toggle-wrapper">
178 <h4 style="display:flex;" id="description">
179 Description
180 <a class="anchor" href="#description"></a>
181
182 <a class="srclink" title="go to source location" href="https://gitlab.gnome.org/GNOME/gssdp/-/blob/libgssdp/gssdp-client.c#L1201">[src]</a>
183
184 </h4>
185
186 <div class="docblock">
187 <p>Adds a header field to the messages sent by&nbsp;this <code>client</code>. It is intended to
188 be used by clients requiring vendor specific header&nbsp;fields.</p>
189 <p>If there is an existing header&nbsp;with <code>name</code> it will append another&nbsp;one.</p>
190 </div>
191
192 <div class="docblock">
193
194
195
196
197
198
199
200 </div>
201
202
203 </div>
204
205
206 <div class="parameters toggle-wrapper">
207 <h4 id="parameters">
208 Parameters
209 <a href="#parameters" class="anchor"></a>
210 </h4>
211
212 <div class="docblock">
213 <dl class="arguments">
214
215
216
217 <dt class="arg-name"><code>name</code></dt>
218 <dd class="arg-description">
219 <p><em>Type:</em>&nbsp;<code>const char*</code></p>
220 <p>Header&nbsp;name.</p>
221 <table>
222
223
224
225
226
227
228
229 <tr><td title="transfer: none">The data is owned by the caller of the method.</td></tr>
230 <tr><td>The value is a NUL terminated UTF-8 string.</td></tr>
231 </table>
232 </dd>
233
234 <dt class="arg-name"><code>value</code></dt>
235 <dd class="arg-description">
236 <p><em>Type:</em>&nbsp;<code>const char*</code></p>
237 <p>Header&nbsp;value.</p>
238 <table>
239
240 <tr><td>The argument can be <code>NULL</code>.</td></tr>
241
242
243
244
245
246 <tr><td title="transfer: none">The data is owned by the caller of the method.</td></tr>
247 <tr><td>The value is a NUL terminated UTF-8 string.</td></tr>
248 </table>
249 </dd>
250
251
252
253 </dl>
254 </div>
255 </div>
256
257
258
259
260 </section>
261 </section>
262
263
264
265
266 <section id="search" class="content hidden"></section>
267
268 <footer>
269
270 </footer>
271 </div>
272 </body>
273 </html>