~xavi-garcia-mena/ubuntu/vivid/upower/percentages-power-off

« back to all changes in this revision

Viewing changes to doc/html/UPower-up-qos-item.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-02-16 10:16:24 UTC
  • Revision ID: james.westby@ubuntu.com-20100216101624-2cmwqsr1ndftdd87
Tags: upstream-0.9.0+git20100216.72bb2
Import upstream version 0.9.0+git20100216.72bb2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>up-qos-item</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
7
<link rel="home" href="index.html" title="UPower Reference Manual">
 
8
<link rel="up" href="libupower-glib.html" title="libpackagekit GObjects">
 
9
<link rel="prev" href="UPower-up-history-item.html" title="up-history-item">
 
10
<link rel="next" href="UPower-up-stats-item.html" title="up-stats-item">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
<link rel="reference" href="ref-dbus.html" title="D-Bus API Reference">
 
14
<link rel="reference" href="libupower-glib.html" title="libpackagekit GObjects">
 
15
<link rel="reference" href="libupower-glib-helpers.html" title="libupower-glib helpers">
 
16
<link rel="reference" href="tools-fileformats.html" title="Manual Pages">
 
17
<link rel="index" href="ix01.html" title="Index">
 
18
<link rel="appendix" href="license.html" title="Appendix A. License">
 
19
</head>
 
20
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
21
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
22
<tr valign="middle">
 
23
<td><a accesskey="p" href="UPower-up-history-item.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
24
<td><a accesskey="u" href="libupower-glib.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
25
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
26
<th width="100%" align="center">UPower Reference Manual</th>
 
27
<td><a accesskey="n" href="UPower-up-stats-item.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
28
</tr>
 
29
<tr><td colspan="5" class="shortcuts">
 
30
<a href="#UPower-up-qos-item.synopsis" class="shortcut">Top</a>
 
31
                 | 
 
32
                <a href="#UPower-up-qos-item.description" class="shortcut">Description</a>
 
33
</td></tr>
 
34
</table>
 
35
<div class="refentry" title="up-qos-item">
 
36
<a name="UPower-up-qos-item"></a><div class="titlepage"></div>
 
37
<div class="refnamediv"><table width="100%"><tr>
 
38
<td valign="top">
 
39
<h2><span class="refentrytitle"><a name="UPower-up-qos-item.top_of_page"></a>up-qos-item</span></h2>
 
40
<p>up-qos-item — Helper object representing one item of QOS data.</p>
 
41
</td>
 
42
<td valign="top" align="right"></td>
 
43
</tr></table></div>
 
44
<div class="refsynopsisdiv" title="Synopsis">
 
45
<a name="UPower-up-qos-item.synopsis"></a><h2>Synopsis</h2>
 
46
<pre class="synopsis">
 
47
typedef             <a class="link" href="UPower-up-qos-item.html#UpQosItemPrivate" title="UpQosItemPrivate">UpQosItemPrivate</a>;
 
48
UpQosItem *         <a class="link" href="UPower-up-qos-item.html#up-qos-item-new" title="up_qos_item_new ()">up_qos_item_new</a>                     (void);
 
49
<a
 
50
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
51
>guint</a>               <a class="link" href="UPower-up-qos-item.html#up-qos-item-get-uid" title="up_qos_item_get_uid ()">up_qos_item_get_uid</a>                 (UpQosItem *qos_item);
 
52
void                <a class="link" href="UPower-up-qos-item.html#up-qos-item-set-uid" title="up_qos_item_set_uid ()">up_qos_item_set_uid</a>                 (UpQosItem *qos_item,
 
53
                                                         <a
 
54
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
55
>guint</a> uid);
 
56
<a
 
57
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
58
>guint</a>               <a class="link" href="UPower-up-qos-item.html#up-qos-item-get-pid" title="up_qos_item_get_pid ()">up_qos_item_get_pid</a>                 (UpQosItem *qos_item);
 
59
void                <a class="link" href="UPower-up-qos-item.html#up-qos-item-set-pid" title="up_qos_item_set_pid ()">up_qos_item_set_pid</a>                 (UpQosItem *qos_item,
 
60
                                                         <a
 
61
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
62
>guint</a> pid);
 
63
const <a
 
64
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
 
65
>gchar</a> *       <a class="link" href="UPower-up-qos-item.html#up-qos-item-get-sender" title="up_qos_item_get_sender ()">up_qos_item_get_sender</a>              (UpQosItem *qos_item);
 
66
void                <a class="link" href="UPower-up-qos-item.html#up-qos-item-set-sender" title="up_qos_item_set_sender ()">up_qos_item_set_sender</a>              (UpQosItem *qos_item,
 
67
                                                         const <a
 
68
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
 
69
>gchar</a> *sender);
 
70
const <a
 
71
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
 
72
>gchar</a> *       <a class="link" href="UPower-up-qos-item.html#up-qos-item-get-cmdline" title="up_qos_item_get_cmdline ()">up_qos_item_get_cmdline</a>             (UpQosItem *qos_item);
 
73
void                <a class="link" href="UPower-up-qos-item.html#up-qos-item-set-cmdline" title="up_qos_item_set_cmdline ()">up_qos_item_set_cmdline</a>             (UpQosItem *qos_item,
 
74
                                                         const <a
 
75
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
 
76
>gchar</a> *cmdline);
 
77
<a
 
78
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
79
>guint</a>               <a class="link" href="UPower-up-qos-item.html#up-qos-item-get-cookie" title="up_qos_item_get_cookie ()">up_qos_item_get_cookie</a>              (UpQosItem *qos_item);
 
80
void                <a class="link" href="UPower-up-qos-item.html#up-qos-item-set-cookie" title="up_qos_item_set_cookie ()">up_qos_item_set_cookie</a>              (UpQosItem *qos_item,
 
81
                                                         <a
 
82
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
83
>guint</a> cookie);
 
84
<a
 
85
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"
 
86
>guint64</a>             <a class="link" href="UPower-up-qos-item.html#up-qos-item-get-timespec" title="up_qos_item_get_timespec ()">up_qos_item_get_timespec</a>            (UpQosItem *qos_item);
 
87
void                <a class="link" href="UPower-up-qos-item.html#up-qos-item-set-timespec" title="up_qos_item_set_timespec ()">up_qos_item_set_timespec</a>            (UpQosItem *qos_item,
 
88
                                                         <a
 
89
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"
 
90
>guint64</a> timespec);
 
91
<a
 
92
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
93
>gboolean</a>            <a class="link" href="UPower-up-qos-item.html#up-qos-item-get-persistent" title="up_qos_item_get_persistent ()">up_qos_item_get_persistent</a>          (UpQosItem *qos_item);
 
94
void                <a class="link" href="UPower-up-qos-item.html#up-qos-item-set-persistent" title="up_qos_item_set_persistent ()">up_qos_item_set_persistent</a>          (UpQosItem *qos_item,
 
95
                                                         <a
 
96
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
97
>gboolean</a> persistent);
 
98
<a class="link" href="UPower-up-types.html#UpQosKind" title="enum UpQosKind">UpQosKind</a>           <a class="link" href="UPower-up-qos-item.html#up-qos-item-get-kind" title="up_qos_item_get_kind ()">up_qos_item_get_kind</a>                (UpQosItem *qos_item);
 
99
void                <a class="link" href="UPower-up-qos-item.html#up-qos-item-set-kind" title="up_qos_item_set_kind ()">up_qos_item_set_kind</a>                (UpQosItem *qos_item,
 
100
                                                         <a class="link" href="UPower-up-types.html#UpQosKind" title="enum UpQosKind">UpQosKind</a> type);
 
101
<a
 
102
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
 
103
>gint</a>                <a class="link" href="UPower-up-qos-item.html#up-qos-item-get-value" title="up_qos_item_get_value ()">up_qos_item_get_value</a>               (UpQosItem *qos_item);
 
104
void                <a class="link" href="UPower-up-qos-item.html#up-qos-item-set-value" title="up_qos_item_set_value ()">up_qos_item_set_value</a>               (UpQosItem *qos_item,
 
105
                                                         <a
 
106
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
 
107
>gint</a> value);
 
108
</pre>
 
109
</div>
 
110
<div class="refsect1" title="Description">
 
111
<a name="UPower-up-qos-item.description"></a><h2>Description</h2>
 
112
<p>
 
113
This object represents one item of data which may be returned from the
 
114
daemon in response to a query.
 
115
</p>
 
116
<p>
 
117
See also: <span class="type">UpDevice</span>, <span class="type">UpClient</span></p>
 
118
</div>
 
119
<div class="refsect1" title="Details">
 
120
<a name="UPower-up-qos-item.details"></a><h2>Details</h2>
 
121
<div class="refsect2" title="UpQosItemPrivate">
 
122
<a name="UpQosItemPrivate"></a><h3>UpQosItemPrivate</h3>
 
123
<pre class="programlisting">typedef struct UpQosItemPrivate UpQosItemPrivate;
 
124
</pre>
 
125
</div>
 
126
<hr>
 
127
<div class="refsect2" title="up_qos_item_new ()">
 
128
<a name="up-qos-item-new"></a><h3>up_qos_item_new ()</h3>
 
129
<pre class="programlisting">UpQosItem *         up_qos_item_new                     (void);</pre>
 
130
<p>
 
131
</p>
 
132
<div class="variablelist"><table border="0">
 
133
<col align="left" valign="top">
 
134
<tbody><tr>
 
135
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
136
<td> a new UpQosItem object.
 
137
 
 
138
</td>
 
139
</tr></tbody>
 
140
</table></div>
 
141
<p class="since">Since 0.9.0</p>
 
142
</div>
 
143
<hr>
 
144
<div class="refsect2" title="up_qos_item_get_uid ()">
 
145
<a name="up-qos-item-get-uid"></a><h3>up_qos_item_get_uid ()</h3>
 
146
<pre class="programlisting"><a
 
147
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
148
>guint</a>               up_qos_item_get_uid                 (UpQosItem *qos_item);</pre>
 
149
<p>
 
150
Gets the item uid.</p>
 
151
<div class="variablelist"><table border="0">
 
152
<col align="left" valign="top">
 
153
<tbody>
 
154
<tr>
 
155
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
156
<td> <span class="type">UpQosItem</span>
 
157
</td>
 
158
</tr>
 
159
<tr>
 
160
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
161
<td> the value
 
162
 
 
163
</td>
 
164
</tr>
 
165
</tbody>
 
166
</table></div>
 
167
<p class="since">Since 0.9.0</p>
 
168
</div>
 
169
<hr>
 
170
<div class="refsect2" title="up_qos_item_set_uid ()">
 
171
<a name="up-qos-item-set-uid"></a><h3>up_qos_item_set_uid ()</h3>
 
172
<pre class="programlisting">void                up_qos_item_set_uid                 (UpQosItem *qos_item,
 
173
                                                         <a
 
174
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
175
>guint</a> uid);</pre>
 
176
<p>
 
177
Sets the item uid.</p>
 
178
<div class="variablelist"><table border="0">
 
179
<col align="left" valign="top">
 
180
<tbody>
 
181
<tr>
 
182
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
183
<td> <span class="type">UpQosItem</span>
 
184
</td>
 
185
</tr>
 
186
<tr>
 
187
<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
 
188
<td> the new value
 
189
</td>
 
190
</tr>
 
191
</tbody>
 
192
</table></div>
 
193
<p class="since">Since 0.9.0</p>
 
194
</div>
 
195
<hr>
 
196
<div class="refsect2" title="up_qos_item_get_pid ()">
 
197
<a name="up-qos-item-get-pid"></a><h3>up_qos_item_get_pid ()</h3>
 
198
<pre class="programlisting"><a
 
199
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
200
>guint</a>               up_qos_item_get_pid                 (UpQosItem *qos_item);</pre>
 
201
<p>
 
202
Gets the item pid.</p>
 
203
<div class="variablelist"><table border="0">
 
204
<col align="left" valign="top">
 
205
<tbody>
 
206
<tr>
 
207
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
208
<td> <span class="type">UpQosItem</span>
 
209
</td>
 
210
</tr>
 
211
<tr>
 
212
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
213
<td> the value
 
214
 
 
215
</td>
 
216
</tr>
 
217
</tbody>
 
218
</table></div>
 
219
<p class="since">Since 0.9.0</p>
 
220
</div>
 
221
<hr>
 
222
<div class="refsect2" title="up_qos_item_set_pid ()">
 
223
<a name="up-qos-item-set-pid"></a><h3>up_qos_item_set_pid ()</h3>
 
224
<pre class="programlisting">void                up_qos_item_set_pid                 (UpQosItem *qos_item,
 
225
                                                         <a
 
226
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
227
>guint</a> pid);</pre>
 
228
<p>
 
229
Sets the item pid.</p>
 
230
<div class="variablelist"><table border="0">
 
231
<col align="left" valign="top">
 
232
<tbody>
 
233
<tr>
 
234
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
235
<td> <span class="type">UpQosItem</span>
 
236
</td>
 
237
</tr>
 
238
<tr>
 
239
<td><p><span class="term"><em class="parameter"><code>pid</code></em> :</span></p></td>
 
240
<td> the new value
 
241
</td>
 
242
</tr>
 
243
</tbody>
 
244
</table></div>
 
245
<p class="since">Since 0.9.0</p>
 
246
</div>
 
247
<hr>
 
248
<div class="refsect2" title="up_qos_item_get_sender ()">
 
249
<a name="up-qos-item-get-sender"></a><h3>up_qos_item_get_sender ()</h3>
 
250
<pre class="programlisting">const <a
 
251
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
 
252
>gchar</a> *       up_qos_item_get_sender              (UpQosItem *qos_item);</pre>
 
253
<p>
 
254
Gets the item sender.</p>
 
255
<div class="variablelist"><table border="0">
 
256
<col align="left" valign="top">
 
257
<tbody>
 
258
<tr>
 
259
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
260
<td> <span class="type">UpQosItem</span>
 
261
</td>
 
262
</tr>
 
263
<tr>
 
264
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
265
<td> the value
 
266
 
 
267
</td>
 
268
</tr>
 
269
</tbody>
 
270
</table></div>
 
271
<p class="since">Since 0.9.0</p>
 
272
</div>
 
273
<hr>
 
274
<div class="refsect2" title="up_qos_item_set_sender ()">
 
275
<a name="up-qos-item-set-sender"></a><h3>up_qos_item_set_sender ()</h3>
 
276
<pre class="programlisting">void                up_qos_item_set_sender              (UpQosItem *qos_item,
 
277
                                                         const <a
 
278
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
 
279
>gchar</a> *sender);</pre>
 
280
<p>
 
281
Sets the item sender.</p>
 
282
<div class="variablelist"><table border="0">
 
283
<col align="left" valign="top">
 
284
<tbody>
 
285
<tr>
 
286
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
287
<td> <span class="type">UpQosItem</span>
 
288
</td>
 
289
</tr>
 
290
<tr>
 
291
<td><p><span class="term"><em class="parameter"><code>sender</code></em> :</span></p></td>
 
292
<td> the new value
 
293
</td>
 
294
</tr>
 
295
</tbody>
 
296
</table></div>
 
297
<p class="since">Since 0.9.0</p>
 
298
</div>
 
299
<hr>
 
300
<div class="refsect2" title="up_qos_item_get_cmdline ()">
 
301
<a name="up-qos-item-get-cmdline"></a><h3>up_qos_item_get_cmdline ()</h3>
 
302
<pre class="programlisting">const <a
 
303
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
 
304
>gchar</a> *       up_qos_item_get_cmdline             (UpQosItem *qos_item);</pre>
 
305
<p>
 
306
Gets the item cmdline.</p>
 
307
<div class="variablelist"><table border="0">
 
308
<col align="left" valign="top">
 
309
<tbody>
 
310
<tr>
 
311
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
312
<td> <span class="type">UpQosItem</span>
 
313
</td>
 
314
</tr>
 
315
<tr>
 
316
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
317
<td> the value
 
318
 
 
319
</td>
 
320
</tr>
 
321
</tbody>
 
322
</table></div>
 
323
<p class="since">Since 0.9.0</p>
 
324
</div>
 
325
<hr>
 
326
<div class="refsect2" title="up_qos_item_set_cmdline ()">
 
327
<a name="up-qos-item-set-cmdline"></a><h3>up_qos_item_set_cmdline ()</h3>
 
328
<pre class="programlisting">void                up_qos_item_set_cmdline             (UpQosItem *qos_item,
 
329
                                                         const <a
 
330
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
 
331
>gchar</a> *cmdline);</pre>
 
332
<p>
 
333
Sets the item cmdline.</p>
 
334
<div class="variablelist"><table border="0">
 
335
<col align="left" valign="top">
 
336
<tbody>
 
337
<tr>
 
338
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
339
<td> <span class="type">UpQosItem</span>
 
340
</td>
 
341
</tr>
 
342
<tr>
 
343
<td><p><span class="term"><em class="parameter"><code>cmdline</code></em> :</span></p></td>
 
344
<td> the new value
 
345
</td>
 
346
</tr>
 
347
</tbody>
 
348
</table></div>
 
349
<p class="since">Since 0.9.0</p>
 
350
</div>
 
351
<hr>
 
352
<div class="refsect2" title="up_qos_item_get_cookie ()">
 
353
<a name="up-qos-item-get-cookie"></a><h3>up_qos_item_get_cookie ()</h3>
 
354
<pre class="programlisting"><a
 
355
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
356
>guint</a>               up_qos_item_get_cookie              (UpQosItem *qos_item);</pre>
 
357
<p>
 
358
Gets the item cookie.</p>
 
359
<div class="variablelist"><table border="0">
 
360
<col align="left" valign="top">
 
361
<tbody>
 
362
<tr>
 
363
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
364
<td> <span class="type">UpQosItem</span>
 
365
</td>
 
366
</tr>
 
367
<tr>
 
368
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
369
<td> the value
 
370
 
 
371
</td>
 
372
</tr>
 
373
</tbody>
 
374
</table></div>
 
375
<p class="since">Since 0.9.0</p>
 
376
</div>
 
377
<hr>
 
378
<div class="refsect2" title="up_qos_item_set_cookie ()">
 
379
<a name="up-qos-item-set-cookie"></a><h3>up_qos_item_set_cookie ()</h3>
 
380
<pre class="programlisting">void                up_qos_item_set_cookie              (UpQosItem *qos_item,
 
381
                                                         <a
 
382
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
383
>guint</a> cookie);</pre>
 
384
<p>
 
385
Sets the item cookie.</p>
 
386
<div class="variablelist"><table border="0">
 
387
<col align="left" valign="top">
 
388
<tbody>
 
389
<tr>
 
390
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
391
<td> <span class="type">UpQosItem</span>
 
392
</td>
 
393
</tr>
 
394
<tr>
 
395
<td><p><span class="term"><em class="parameter"><code>cookie</code></em> :</span></p></td>
 
396
<td> the new value
 
397
</td>
 
398
</tr>
 
399
</tbody>
 
400
</table></div>
 
401
<p class="since">Since 0.9.0</p>
 
402
</div>
 
403
<hr>
 
404
<div class="refsect2" title="up_qos_item_get_timespec ()">
 
405
<a name="up-qos-item-get-timespec"></a><h3>up_qos_item_get_timespec ()</h3>
 
406
<pre class="programlisting"><a
 
407
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"
 
408
>guint64</a>             up_qos_item_get_timespec            (UpQosItem *qos_item);</pre>
 
409
<p>
 
410
Gets the item timespec.</p>
 
411
<div class="variablelist"><table border="0">
 
412
<col align="left" valign="top">
 
413
<tbody>
 
414
<tr>
 
415
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
416
<td> <span class="type">UpQosItem</span>
 
417
</td>
 
418
</tr>
 
419
<tr>
 
420
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
421
<td> the value
 
422
 
 
423
</td>
 
424
</tr>
 
425
</tbody>
 
426
</table></div>
 
427
<p class="since">Since 0.9.0</p>
 
428
</div>
 
429
<hr>
 
430
<div class="refsect2" title="up_qos_item_set_timespec ()">
 
431
<a name="up-qos-item-set-timespec"></a><h3>up_qos_item_set_timespec ()</h3>
 
432
<pre class="programlisting">void                up_qos_item_set_timespec            (UpQosItem *qos_item,
 
433
                                                         <a
 
434
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"
 
435
>guint64</a> timespec);</pre>
 
436
<p>
 
437
Sets the item timespec.</p>
 
438
<div class="variablelist"><table border="0">
 
439
<col align="left" valign="top">
 
440
<tbody>
 
441
<tr>
 
442
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
443
<td> <span class="type">UpQosItem</span>
 
444
</td>
 
445
</tr>
 
446
<tr>
 
447
<td><p><span class="term"><em class="parameter"><code>timespec</code></em> :</span></p></td>
 
448
<td> the new value
 
449
</td>
 
450
</tr>
 
451
</tbody>
 
452
</table></div>
 
453
<p class="since">Since 0.9.0</p>
 
454
</div>
 
455
<hr>
 
456
<div class="refsect2" title="up_qos_item_get_persistent ()">
 
457
<a name="up-qos-item-get-persistent"></a><h3>up_qos_item_get_persistent ()</h3>
 
458
<pre class="programlisting"><a
 
459
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
460
>gboolean</a>            up_qos_item_get_persistent          (UpQosItem *qos_item);</pre>
 
461
<p>
 
462
Gets the item persistent.</p>
 
463
<div class="variablelist"><table border="0">
 
464
<col align="left" valign="top">
 
465
<tbody>
 
466
<tr>
 
467
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
468
<td> <span class="type">UpQosItem</span>
 
469
</td>
 
470
</tr>
 
471
<tr>
 
472
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
473
<td> the value
 
474
 
 
475
</td>
 
476
</tr>
 
477
</tbody>
 
478
</table></div>
 
479
<p class="since">Since 0.9.0</p>
 
480
</div>
 
481
<hr>
 
482
<div class="refsect2" title="up_qos_item_set_persistent ()">
 
483
<a name="up-qos-item-set-persistent"></a><h3>up_qos_item_set_persistent ()</h3>
 
484
<pre class="programlisting">void                up_qos_item_set_persistent          (UpQosItem *qos_item,
 
485
                                                         <a
 
486
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
 
487
>gboolean</a> persistent);</pre>
 
488
<p>
 
489
Sets the item persistent.</p>
 
490
<div class="variablelist"><table border="0">
 
491
<col align="left" valign="top">
 
492
<tbody>
 
493
<tr>
 
494
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
495
<td> <span class="type">UpQosItem</span>
 
496
</td>
 
497
</tr>
 
498
<tr>
 
499
<td><p><span class="term"><em class="parameter"><code>persistent</code></em> :</span></p></td>
 
500
<td> the new value
 
501
</td>
 
502
</tr>
 
503
</tbody>
 
504
</table></div>
 
505
<p class="since">Since 0.9.0</p>
 
506
</div>
 
507
<hr>
 
508
<div class="refsect2" title="up_qos_item_get_kind ()">
 
509
<a name="up-qos-item-get-kind"></a><h3>up_qos_item_get_kind ()</h3>
 
510
<pre class="programlisting"><a class="link" href="UPower-up-types.html#UpQosKind" title="enum UpQosKind">UpQosKind</a>           up_qos_item_get_kind                (UpQosItem *qos_item);</pre>
 
511
<p>
 
512
Gets the item type.</p>
 
513
<div class="variablelist"><table border="0">
 
514
<col align="left" valign="top">
 
515
<tbody>
 
516
<tr>
 
517
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
518
<td> <span class="type">UpQosItem</span>
 
519
</td>
 
520
</tr>
 
521
<tr>
 
522
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
523
<td> the value
 
524
 
 
525
</td>
 
526
</tr>
 
527
</tbody>
 
528
</table></div>
 
529
<p class="since">Since 0.9.0</p>
 
530
</div>
 
531
<hr>
 
532
<div class="refsect2" title="up_qos_item_set_kind ()">
 
533
<a name="up-qos-item-set-kind"></a><h3>up_qos_item_set_kind ()</h3>
 
534
<pre class="programlisting">void                up_qos_item_set_kind                (UpQosItem *qos_item,
 
535
                                                         <a class="link" href="UPower-up-types.html#UpQosKind" title="enum UpQosKind">UpQosKind</a> type);</pre>
 
536
<p>
 
537
Sets the item type.</p>
 
538
<div class="variablelist"><table border="0">
 
539
<col align="left" valign="top">
 
540
<tbody>
 
541
<tr>
 
542
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
543
<td> <span class="type">UpQosItem</span>
 
544
</td>
 
545
</tr>
 
546
<tr>
 
547
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
 
548
<td> the new value
 
549
</td>
 
550
</tr>
 
551
</tbody>
 
552
</table></div>
 
553
<p class="since">Since 0.9.0</p>
 
554
</div>
 
555
<hr>
 
556
<div class="refsect2" title="up_qos_item_get_value ()">
 
557
<a name="up-qos-item-get-value"></a><h3>up_qos_item_get_value ()</h3>
 
558
<pre class="programlisting"><a
 
559
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
 
560
>gint</a>                up_qos_item_get_value               (UpQosItem *qos_item);</pre>
 
561
<p>
 
562
Gets the item value.</p>
 
563
<div class="variablelist"><table border="0">
 
564
<col align="left" valign="top">
 
565
<tbody>
 
566
<tr>
 
567
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
568
<td> <span class="type">UpQosItem</span>
 
569
</td>
 
570
</tr>
 
571
<tr>
 
572
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
573
<td> the value
 
574
 
 
575
</td>
 
576
</tr>
 
577
</tbody>
 
578
</table></div>
 
579
<p class="since">Since 0.9.0</p>
 
580
</div>
 
581
<hr>
 
582
<div class="refsect2" title="up_qos_item_set_value ()">
 
583
<a name="up-qos-item-set-value"></a><h3>up_qos_item_set_value ()</h3>
 
584
<pre class="programlisting">void                up_qos_item_set_value               (UpQosItem *qos_item,
 
585
                                                         <a
 
586
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
 
587
>gint</a> value);</pre>
 
588
<p>
 
589
Sets the item value.</p>
 
590
<div class="variablelist"><table border="0">
 
591
<col align="left" valign="top">
 
592
<tbody>
 
593
<tr>
 
594
<td><p><span class="term"><em class="parameter"><code>qos_item</code></em> :</span></p></td>
 
595
<td> <span class="type">UpQosItem</span>
 
596
</td>
 
597
</tr>
 
598
<tr>
 
599
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
 
600
<td> the new value
 
601
</td>
 
602
</tr>
 
603
</tbody>
 
604
</table></div>
 
605
<p class="since">Since 0.9.0</p>
 
606
</div>
 
607
</div>
 
608
</div>
 
609
<div class="footer">
 
610
<hr>
 
611
          Generated by GTK-Doc V1.11</div>
 
612
</body>
 
613
</html>