Update.
[platform/upstream/glib.git] / docs / reference / glib / tmpl / glib-unused.sgml
1 <!-- ##### ENUM GChannelError ##### -->
2 <para>
3
4 </para>
5
6 @G_CHANNEL_ERROR_ACCES: 
7 @G_CHANNEL_ERROR_BADF: 
8 @G_CHANNEL_ERROR_DEADLK: 
9 @G_CHANNEL_ERROR_FAULT: 
10 @G_CHANNEL_ERROR_INVAL: 
11 @G_CHANNEL_ERROR_IO: 
12 @G_CHANNEL_ERROR_ISDIR: 
13 @G_CHANNEL_ERROR_MFILE: 
14 @G_CHANNEL_ERROR_NOLCK: 
15 @G_CHANNEL_ERROR_NOSPC: 
16 @G_CHANNEL_ERROR_PERM: 
17 @G_CHANNEL_ERROR_PIPE: 
18 @G_CHANNEL_ERROR_SPIPE: 
19 @G_CHANNEL_ERROR_ENCODE_RW: 
20 @G_CHANNEL_ERROR_FAILED: 
21
22 <!-- ##### ENUM GChannelStatus ##### -->
23 <para>
24
25 </para>
26
27 @G_CHANNEL_STATUS_NORMAL: 
28 @G_CHANNEL_STATUS_EOF: 
29 @G_CHANNEL_STATUS_PARTIAL_CHARS: 
30 @G_CHANNEL_STATUS_AGAIN: 
31 @G_CHANNEL_STATUS_INTR: 
32 @G_CHANNEL_STATUS_ERROR: 
33 @G_CHANNEL_STATUS_BAD_INPUT: 
34
35 <!-- ##### USER_FUNCTION GCompareFuncData ##### -->
36 <para>
37
38 </para>
39
40 @a: 
41 @b: 
42 @user_data: 
43 @Returns: 
44
45 <!-- ##### USER_FUNCTION GCompletionStrcmpFunc ##### -->
46 <para>
47
48 </para>
49
50 @s1: 
51 @s2: 
52 @Returns: 
53
54 <!-- ##### USER_FUNCTION GErrorFunc ##### -->
55 <para>
56 Specifies the type of function passed to g_set_error_handler().
57 </para>
58
59 @str: the error message.
60
61 <!-- ##### USER_FUNCTION GHookFreeFunc ##### -->
62 <para>
63
64 </para>
65
66 @hook_list: 
67 @hook: 
68
69 <!-- ##### ENUM GIOFileMode ##### -->
70 <para>
71
72 </para>
73
74 @G_IO_FILE_MODE_READ: 
75 @G_IO_FILE_MODE_WRITE: 
76 @G_IO_FILE_MODE_APPEND: 
77 @G_IO_FILE_MODE_READ_WRITE: 
78 @G_IO_FILE_MODE_READ_WRITE_TRUNCATE: 
79 @G_IO_FILE_MODE_READ_WRITE_APPEND: 
80
81 <!-- ##### ENUM GMatchType ##### -->
82 <para>
83 Enumeration representing different kinds of patterns. This is only used
84 internally for optimizing the match algorithm.
85 </para>
86
87 @G_MATCH_ALL: a general pattern.
88 @G_MATCH_ALL_TAIL: a general pattern which contains a fixed part matching
89 the end of the string.
90 @G_MATCH_HEAD: a pattern matching every string with a certain prefix.
91 @G_MATCH_TAIL: a pattern matching every string with a certain suffix.
92 @G_MATCH_EXACT: a pattern matching exactly one string.
93 @G_MATCH_LAST: 
94
95 <!-- ##### USER_FUNCTION GWarningFunc ##### -->
96 <para>
97 Specifies the type of function passed to g_set_warning_handler().
98 </para>
99
100 @str: the warning message.
101
102 <!-- ##### MACRO G_CHANNEL_ERROR ##### -->
103 <para>
104
105 </para>
106
107
108 <!-- ##### MACRO G_HOOK_DEFERRED_DESTROY ##### -->
109 <para>
110
111 </para>
112
113
114 <!-- ##### MACRO G_IO_CHANNEL_DEFAULT_LINE_TERM ##### -->
115 <para>
116 One of %G_IO_CHANNEL_UNIX_LINE_TERM, %G_IO_CHANNEL_DOS_LINE_TERM,
117 or %G_IO_CHANNEL_MACINTOSH_LINE_TERM (unimplemented)
118 depending on the system type.
119 </para>
120
121
122 <!-- ##### MACRO G_IO_CHANNEL_DOS_LINE_TERM ##### -->
123 <para>
124
125 </para>
126
127
128 <!-- ##### MACRO G_IO_CHANNEL_ENCODE_RAW ##### -->
129 <para>
130 Encoding for nonbuffered IO. With this encoding, data must be
131 read using g_io_channel_read_chars(); the other functions will
132 not work.
133 </para>
134
135
136 <!-- ##### MACRO G_IO_CHANNEL_MACINTOSH_LINE_TERM ##### -->
137 <para>
138
139 </para>
140
141
142 <!-- ##### MACRO G_IO_CHANNEL_UNIX_LINE_TERM ##### -->
143 <para>
144
145 </para>
146
147
148 <!-- ##### MACRO NAME_MAX ##### -->
149 <para>
150 Provided for UNIX emulation on Windows; equivalent to UNIX macro 
151 %NAME_MAX, which is the maximum length of a single path component.
152 i.e. just the <filename>foo</filename> in <filename>/usr/bin/foo</filename>.
153 </para>
154
155
156 <!-- ##### MACRO access ##### -->
157 <para>
158
159 </para>
160
161
162 <!-- ##### MACRO close ##### -->
163 <para>
164
165 </para>
166
167
168 <!-- ##### FUNCTION closedir ##### -->
169 <para>
170 Provided for UNIX emulation on Windows; see documentation for <function>closedir()</function>
171 in any UNIX manual.
172 </para>
173
174 @Param1: 
175 @Returns: 
176
177 <!-- ##### MACRO fdopen ##### -->
178 <para>
179
180 </para>
181
182
183 <!-- ##### FUNCTION g_channel_error_from_errno ##### -->
184 <para>
185
186 </para>
187
188 @en: 
189 @Returns: 
190
191 <!-- ##### FUNCTION g_channel_error_quark ##### -->
192 <para>
193
194 </para>
195
196 @Returns: 
197
198 <!-- ##### FUNCTION g_convert_error_quark ##### -->
199 <para>
200
201 </para>
202
203 @Returns: 
204
205 <!-- ##### FUNCTION g_io_channel_error_quark ##### -->
206 <para>
207
208 </para>
209
210 @Returns: 
211
212 <!-- ##### VARIABLE g_log_domain_glib ##### -->
213 <para>
214 The log domain used for messages logged by GLib itself.
215 </para>
216
217
218 <!-- ##### FUNCTION g_main_add_poll ##### -->
219 <para>
220 Adds a file descriptor to be polled.
221 This is usually combined with g_source_add() to add an event source.
222 The event source's check function will typically test the revents
223 field in the #GPollFD struct and return TRUE if events need to be processed.
224 </para>
225
226 @fd: a #GPollFD, which is a file descriptor together with a bitwise
227 combination of #GIOCondition flags determining which events to poll for.
228 @priority: the priority of the poll, which should be the same as the priority
229 used for g_source_add() to ensure that the file descriptor is polled whenever
230 the results may be needed.
231 See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH,
232 #G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW.
233
234 <!-- ##### FUNCTION g_main_context_get ##### -->
235 <para>
236
237 </para>
238
239 @thread: 
240 @Returns: 
241
242 <!-- ##### FUNCTION g_main_loop_destroy ##### -->
243 <para>
244
245 </para>
246
247 @loop: 
248
249 <!-- ##### FUNCTION g_main_remove_poll ##### -->
250 <para>
251 Removes a file descriptor from the list being polled.
252 </para>
253
254 @fd: the #GPollFD to remove.
255
256 <!-- ##### FUNCTION g_main_win32_get_poll_func ##### -->
257 <para>
258
259 </para>
260
261 @Returns: 
262
263 <!-- ##### FUNCTION g_mem_check ##### -->
264 <para>
265 Checks if the given memory has already been freed. If it has it outputs
266 a warning message.
267 To use this function you must configure glib with the flag
268 '--enable-mem-check=yes' before compiling.
269 </para>
270
271 @mem: the memory to check.
272
273 <!-- ##### FUNCTION g_scanner_stat_mode ##### -->
274 <para>
275 Gets the file attributes.
276 This is the <structfield>st_mode</structfield> field from the
277 <structname>stat</structname> structure. See the <function>stat()</function>
278 documentation.
279 </para>
280
281 @filename: the file name.
282 @Returns: the file attributes.
283
284 <!-- ##### FUNCTION g_set_error_handler ##### -->
285 <para>
286 Sets the function to be called to handle error messages.
287 This function is deprecated in favour of the new logging facilities.
288 </para>
289
290 @func: the function to be called to handle error messages.
291 @Returns: the old error handler.
292
293 <!-- ##### FUNCTION g_set_message_handler ##### -->
294 <para>
295 Sets the function to be called to handle messages.
296 This function is deprecated in favour of the new logging facilities.
297 </para>
298
299 @func: the function to be called to handle normal messages.
300 @Returns: the old message handler.
301
302 <!-- ##### FUNCTION g_set_warning_handler ##### -->
303 <para>
304 Sets the function to be called to handle warning messages.
305 This function is deprecated in favour of the new logging facilities.
306 </para>
307
308 @func: the function to be called to handle warning messages.
309 @Returns: the old warning handler.
310
311 <!-- ##### FUNCTION g_source_add ##### -->
312 <para>
313 </para>
314
315 @priority: 
316 @can_recurse: 
317 @funcs: 
318 @source_data: 
319 @user_data: 
320 @notify: 
321 @Returns: 
322 @source: 
323 @context: 
324
325 <!-- ##### FUNCTION g_source_connect ##### -->
326 <para>
327
328 </para>
329
330 @source: 
331 @func: 
332 @data: 
333 @notify: 
334
335 <!-- ##### FUNCTION g_source_connect_indirect ##### -->
336 <para>
337
338 </para>
339
340 @source: 
341 @callback_data: 
342 @callback_funcs: 
343
344 <!-- ##### FUNCTION g_source_remove_by_source_data ##### -->
345 <para>
346 Removes the first event source found with the given source data.
347 </para>
348 <para>
349 Event sources are sorted with the highest priority first. Sources with equal
350 priority are stored in the order in which they were added.
351 </para>
352
353 @source_data: the source data, which contains information specific to the
354 type of source.
355 @Returns: TRUE if an event source was found and removed.
356
357 <!-- ##### FUNCTION g_static_private_get_for_thread ##### -->
358 <para>
359
360 </para>
361
362 @private_key: 
363 @thread: 
364 @Returns: 
365
366 <!-- ##### FUNCTION g_static_private_set_for_thread ##### -->
367 <para>
368
369 </para>
370
371 @private_key: 
372 @thread: 
373 @data: 
374 @notify: 
375
376 <!-- ##### MACRO g_string ##### -->
377 <para>
378 Turns the argument into a string literal by using the '#' stringizing operator.
379 </para>
380
381 @x: text to convert to a literal string.
382
383 <!-- ##### MACRO getcwd ##### -->
384 <para>
385
386 </para>
387
388
389 <!-- ##### MACRO getpid ##### -->
390 <para>
391
392 </para>
393
394
395 <!-- ##### MACRO lseek ##### -->
396 <para>
397
398 </para>
399
400
401 <!-- ##### MACRO open ##### -->
402 <para>
403
404 </para>
405
406
407 <!-- ##### FUNCTION opendir ##### -->
408 <para>
409 Provided for UNIX emulation on Windows; see documentation for <function>opendir()</function>
410 in any UNIX manual.
411 </para>
412
413 @Param1: 
414 @Returns: 
415
416 <!-- ##### MACRO pclose ##### -->
417 <para>
418
419 </para>
420
421
422 <!-- ##### MACRO popen ##### -->
423 <para>
424
425 </para>
426
427
428 <!-- ##### MACRO read ##### -->
429 <para>
430
431 </para>
432
433
434 <!-- ##### MACRO readdir ##### -->
435 <para>
436 Provided for UNIX emulation on Windows; see documentation for <function>readdir()</function>
437 in any UNIX manual.
438 </para>
439
440
441 <!-- ##### FUNCTION rewinddir ##### -->
442 <para>
443 Provided for UNIX emulation on Windows; see documentation for <function>rewinddir()</function>
444 in any UNIX manual.
445 </para>
446
447 @Param1: 
448
449 <!-- ##### MACRO write ##### -->
450 <para>
451
452 </para>
453
454