1 <!-- ##### ENUM GChannelError ##### -->
6 @G_CHANNEL_ERROR_ACCES:
8 @G_CHANNEL_ERROR_DEADLK:
9 @G_CHANNEL_ERROR_FAULT:
10 @G_CHANNEL_ERROR_INVAL:
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:
22 <!-- ##### ENUM GChannelStatus ##### -->
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:
35 <!-- ##### USER_FUNCTION GCompareFuncData ##### -->
45 <!-- ##### USER_FUNCTION GCompletionStrcmpFunc ##### -->
54 <!-- ##### USER_FUNCTION GErrorFunc ##### -->
56 Specifies the type of function passed to g_set_error_handler().
59 @str: the error message.
61 <!-- ##### USER_FUNCTION GHookFreeFunc ##### -->
69 <!-- ##### ENUM GIOFileMode ##### -->
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:
81 <!-- ##### ENUM GMatchType ##### -->
83 Enumeration representing different kinds of patterns. This is only used
84 internally for optimizing the match algorithm.
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.
95 <!-- ##### USER_FUNCTION GWarningFunc ##### -->
97 Specifies the type of function passed to g_set_warning_handler().
100 @str: the warning message.
102 <!-- ##### MACRO G_CHANNEL_ERROR ##### -->
108 <!-- ##### MACRO G_HOOK_DEFERRED_DESTROY ##### -->
114 <!-- ##### MACRO G_IO_CHANNEL_DEFAULT_LINE_TERM ##### -->
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.
122 <!-- ##### MACRO G_IO_CHANNEL_DOS_LINE_TERM ##### -->
128 <!-- ##### MACRO G_IO_CHANNEL_ENCODE_RAW ##### -->
130 Encoding for nonbuffered IO. With this encoding, data must be
131 read using g_io_channel_read_chars(); the other functions will
136 <!-- ##### MACRO G_IO_CHANNEL_MACINTOSH_LINE_TERM ##### -->
142 <!-- ##### MACRO G_IO_CHANNEL_UNIX_LINE_TERM ##### -->
148 <!-- ##### MACRO NAME_MAX ##### -->
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>.
156 <!-- ##### MACRO access ##### -->
162 <!-- ##### MACRO close ##### -->
168 <!-- ##### FUNCTION closedir ##### -->
170 Provided for UNIX emulation on Windows; see documentation for <function>closedir()</function>
177 <!-- ##### MACRO fdopen ##### -->
183 <!-- ##### MACRO ftruncate ##### -->
185 Provided for UNIX emulation on Windows; see documentation for <function>ftruncate()</function>
192 <!-- ##### FUNCTION g_channel_error_from_errno ##### -->
200 <!-- ##### FUNCTION g_channel_error_quark ##### -->
207 <!-- ##### FUNCTION g_convert_error_quark ##### -->
214 <!-- ##### FUNCTION g_get_language_names ##### -->
221 <!-- ##### FUNCTION g_get_system_config_dirs ##### -->
228 <!-- ##### FUNCTION g_get_system_data_dirs ##### -->
235 <!-- ##### FUNCTION g_io_channel_error_quark ##### -->
242 <!-- ##### VARIABLE g_log_domain_glib ##### -->
244 The log domain used for messages logged by GLib itself.
248 <!-- ##### FUNCTION g_main_add_poll ##### -->
250 Adds a file descriptor to be polled.
251 This is usually combined with g_source_add() to add an event source.
252 The event source's check function will typically test the revents
253 field in the #GPollFD struct and return TRUE if events need to be processed.
256 @fd: a #GPollFD, which is a file descriptor together with a bitwise
257 combination of #GIOCondition flags determining which events to poll for.
258 @priority: the priority of the poll, which should be the same as the priority
259 used for g_source_add() to ensure that the file descriptor is polled whenever
260 the results may be needed.
261 See #G_PRIORITY_DEFAULT, #G_PRIORITY_DEFAULT_IDLE, #G_PRIORITY_HIGH,
262 #G_PRIORITY_HIGH_IDLE, and #G_PRIORITY_LOW.
264 <!-- ##### FUNCTION g_main_context_get ##### -->
272 <!-- ##### FUNCTION g_main_loop_destroy ##### -->
279 <!-- ##### FUNCTION g_main_remove_poll ##### -->
281 Removes a file descriptor from the list being polled.
284 @fd: the #GPollFD to remove.
286 <!-- ##### FUNCTION g_main_win32_get_poll_func ##### -->
293 <!-- ##### FUNCTION g_mem_check ##### -->
295 Checks if the given memory has already been freed. If it has it outputs
297 To use this function you must configure glib with the flag
298 '--enable-mem-check=yes' before compiling.
301 @mem: the memory to check.
303 <!-- ##### FUNCTION g_scanner_stat_mode ##### -->
305 Gets the file attributes.
306 This is the <structfield>st_mode</structfield> field from the
307 <structname>stat</structname> structure. See the <function>stat()</function>
311 @filename: the file name.
312 @Returns: the file attributes.
314 <!-- ##### FUNCTION g_set_error_handler ##### -->
316 Sets the function to be called to handle error messages.
317 This function is deprecated in favour of the new logging facilities.
320 @func: the function to be called to handle error messages.
321 @Returns: the old error handler.
323 <!-- ##### FUNCTION g_set_message_handler ##### -->
325 Sets the function to be called to handle messages.
326 This function is deprecated in favour of the new logging facilities.
329 @func: the function to be called to handle normal messages.
330 @Returns: the old message handler.
332 <!-- ##### FUNCTION g_set_warning_handler ##### -->
334 Sets the function to be called to handle warning messages.
335 This function is deprecated in favour of the new logging facilities.
338 @func: the function to be called to handle warning messages.
339 @Returns: the old warning handler.
341 <!-- ##### FUNCTION g_source_add ##### -->
355 <!-- ##### FUNCTION g_source_connect ##### -->
365 <!-- ##### FUNCTION g_source_connect_indirect ##### -->
374 <!-- ##### FUNCTION g_source_remove_by_source_data ##### -->
376 Removes the first event source found with the given source data.
379 Event sources are sorted with the highest priority first. Sources with equal
380 priority are stored in the order in which they were added.
383 @source_data: the source data, which contains information specific to the
385 @Returns: TRUE if an event source was found and removed.
387 <!-- ##### FUNCTION g_static_private_get_for_thread ##### -->
396 <!-- ##### FUNCTION g_static_private_set_for_thread ##### -->
406 <!-- ##### MACRO g_string ##### -->
408 Turns the argument into a string literal by using the '#' stringizing operator.
411 @x: text to convert to a literal string.
413 <!-- ##### MACRO getcwd ##### -->
419 <!-- ##### MACRO getpid ##### -->
425 <!-- ##### MACRO lseek ##### -->
431 <!-- ##### MACRO open ##### -->
437 <!-- ##### FUNCTION opendir ##### -->
439 Provided for UNIX emulation on Windows; see documentation for <function>opendir()</function>
446 <!-- ##### MACRO pclose ##### -->
452 <!-- ##### MACRO popen ##### -->
458 <!-- ##### MACRO read ##### -->
464 <!-- ##### MACRO readdir ##### -->
466 Provided for UNIX emulation on Windows; see documentation for <function>readdir()</function>
471 <!-- ##### FUNCTION rewinddir ##### -->
473 Provided for UNIX emulation on Windows; see documentation for <function>rewinddir()</function>
479 <!-- ##### MACRO write ##### -->