1 <INCLUDE>glib.h</INCLUDE>
4 <TITLE>Basic Types</TITLE>
49 <TITLE>Limits of Basic Types</TITLE>
98 <TITLE>Version Information</TITLE>
115 <TITLE>Standard Macros</TITLE>
126 G_SEARCHPATH_SEPARATOR
127 G_SEARCHPATH_SEPARATOR_S
158 <TITLE>Type Conversion Macros</TITLE>
159 <FILE>type_conversion</FILE>
171 <TITLE>Byte Order Macros</TITLE>
172 <FILE>byte_order</FILE>
258 GUINT16_SWAP_LE_BE_CONSTANT
259 GUINT32_SWAP_LE_BE_CONSTANT
260 GUINT64_SWAP_LE_BE_CONSTANT
261 GUINT16_SWAP_LE_BE_IA32
262 GUINT32_SWAP_LE_BE_IA32
263 GUINT64_SWAP_LE_BE_IA32
264 GUINT16_SWAP_LE_BE_IA64
265 GUINT32_SWAP_LE_BE_IA64
266 GUINT64_SWAP_LE_BE_IA64
267 GUINT32_SWAP_LE_BE_X86_64
268 GUINT64_SWAP_LE_BE_X86_64
273 <TITLE>Numerical Definitions</TITLE>
274 <FILE>numerical</FILE>
276 G_IEEE754_DOUBLE_BIAS
293 <TITLE>Miscellaneous Macros</TITLE>
294 <FILE>macros_misc</FILE>
325 G_GNUC_PRETTY_FUNCTION
327 G_HAVE_GNUC_VISIBILITY
366 <TITLE>Error Reporting</TITLE>
367 <FILE>error_reporting</FILE>
380 <TITLE>The Main Event Loop</TITLE>
388 g_main_loop_is_running
389 g_main_loop_get_context
400 G_PRIORITY_DEFAULT_IDLE
408 g_main_context_default
409 g_main_context_iteration
411 g_main_context_pending
413 g_main_context_find_source_by_id
414 g_main_context_find_source_by_user_data
415 g_main_context_find_source_by_funcs_user_data
416 g_main_context_wakeup
417 g_main_context_acquire
418 g_main_context_release
420 g_main_context_prepare
423 g_main_context_dispatch
424 g_main_context_set_poll_func
425 g_main_context_get_poll_func
427 g_main_context_add_poll
428 g_main_context_remove_poll
441 g_idle_remove_by_data
446 g_child_watch_source_new
448 g_child_watch_add_full
462 g_source_set_priority
463 g_source_get_priority
464 g_source_set_can_recurse
465 g_source_get_can_recurse
468 g_source_set_callback
470 g_source_set_callback_indirect
473 g_source_get_current_time
475 g_source_remove_by_funcs_user_data
476 g_source_remove_by_user_data
495 <TITLE>Threads</TITLE>
500 G_THREADS_IMPL_SOLARIS
520 g_thread_set_priority
537 g_static_mutex_trylock
538 g_static_mutex_unlock
539 g_static_mutex_get_mutex
552 G_STATIC_REC_MUTEX_INIT
553 g_static_rec_mutex_init
554 g_static_rec_mutex_lock
555 g_static_rec_mutex_trylock
556 g_static_rec_mutex_unlock
557 g_static_rec_mutex_lock_full
558 g_static_rec_mutex_unlock_full
559 g_static_rec_mutex_free
563 G_STATIC_RW_LOCK_INIT
564 g_static_rw_lock_init
565 g_static_rw_lock_reader_lock
566 g_static_rw_lock_reader_trylock
567 g_static_rw_lock_reader_unlock
568 g_static_rw_lock_writer_lock
569 g_static_rw_lock_writer_trylock
570 g_static_rw_lock_writer_unlock
571 g_static_rw_lock_free
590 G_STATIC_PRIVATE_INIT
591 g_static_private_init
594 g_static_private_free
606 g_static_mutex_get_mutex_impl
607 g_static_mutex_get_mutex_impl_shortcut
609 g_thread_init_with_errorcheck_mutexes
613 g_thread_use_default_impl
614 g_threads_got_initialized
615 g_thread_functions_for_glib_use
622 <TITLE>Thread Pools</TITLE>
623 <FILE>thread_pools</FILE>
627 g_thread_pool_set_max_threads
628 g_thread_pool_get_max_threads
629 g_thread_pool_get_num_threads
630 g_thread_pool_unprocessed
632 g_thread_pool_set_max_unused_threads
633 g_thread_pool_get_max_unused_threads
634 g_thread_pool_get_num_unused_threads
635 g_thread_pool_stop_unused_threads
639 <TITLE>Asynchronous Queues</TITLE>
640 <FILE>async_queues</FILE>
647 g_async_queue_try_pop
648 g_async_queue_timed_pop
654 g_async_queue_ref_unlocked
655 g_async_queue_unref_and_unlock
656 g_async_queue_push_unlocked
657 g_async_queue_pop_unlocked
658 g_async_queue_try_pop_unlocked
659 g_async_queue_timed_pop_unlocked
660 g_async_queue_length_unlocked
664 <TITLE>Atomic Operations</TITLE>
665 <FILE>atomic_operations</FILE>
668 g_atomic_int_exchange_and_add
669 g_atomic_int_compare_and_exchange
671 g_atomic_pointer_compare_and_exchange
673 g_atomic_int_dec_and_test
677 <TITLE>IO Channels</TITLE>
678 <FILE>iochannels</FILE>
682 g_io_channel_unix_new
683 g_io_channel_unix_get_fd
689 g_io_channel_new_file
690 g_io_channel_read_chars
691 g_io_channel_read_unichar
692 g_io_channel_read_line
693 g_io_channel_read_line_string
694 g_io_channel_read_to_end
695 g_io_channel_write_chars
696 g_io_channel_write_unichar
698 g_io_channel_seek_position
700 g_io_channel_shutdown
706 g_io_channel_error_from_errno
723 g_io_channel_get_buffer_size
724 g_io_channel_set_buffer_size
725 g_io_channel_get_buffer_condition
726 g_io_channel_get_flags
727 g_io_channel_set_flags
729 g_io_channel_get_line_term
730 g_io_channel_set_line_term
731 g_io_channel_get_buffered
732 g_io_channel_set_buffered
733 g_io_channel_get_encoding
734 g_io_channel_set_encoding
735 g_io_channel_get_close_on_unref
736 g_io_channel_set_close_on_unref
739 g_io_channel_win32_new_fd
740 g_io_channel_win32_new_messages
741 g_io_channel_win32_new_socket
742 g_io_channel_win32_poll
743 g_io_channel_win32_make_pollfd
744 g_io_channel_win32_get_fd
754 g_io_channel_error_quark
759 <TITLE>Memory Allocation</TITLE>
786 g_mem_is_system_malloc
789 glib_mem_profiler_table
794 <TITLE>Warnings and Assertions</TITLE>
795 <FILE>warnings</FILE>
802 g_set_printerr_handler
808 g_return_val_if_reached
816 g_on_error_stack_trace
822 g_return_if_fail_warning
827 <TITLE>Glob-style pattern matching</TITLE>
828 <FILE>patterns</FILE>
834 g_pattern_match_string
835 g_pattern_match_simple
839 <TITLE>Message Logging</TITLE>
840 <FILE>messages</FILE>
843 G_LOG_LEVEL_USER_SHIFT
859 g_log_set_always_fatal
861 g_log_default_handler
862 g_log_set_default_handler
866 <TITLE>Timers</TITLE>
879 <TITLE>Spawning Processes</TITLE>
885 g_spawn_async_with_pipes
888 g_spawn_command_line_async
889 g_spawn_command_line_sync
896 <TITLE>Simple XML Subset Parser</TITLE>
904 g_markup_printf_escaped
905 g_markup_vprintf_escaped
906 g_markup_parse_context_end_parse
907 g_markup_parse_context_free
908 g_markup_parse_context_get_position
909 g_markup_parse_context_get_element
910 g_markup_parse_context_new
911 g_markup_parse_context_parse
918 <TITLE>Shell-related Utilities</TITLE>
931 <TITLE>Commandline option parser</TITLE>
938 g_option_context_free
939 g_option_context_parse
940 g_option_context_set_help_enabled
941 g_option_context_get_help_enabled
942 g_option_context_set_ignore_unknown_options
943 g_option_context_get_ignore_unknown_options
948 g_option_context_add_main_entries
950 g_option_context_add_group
951 g_option_context_set_main_group
952 g_option_context_get_main_group
955 g_option_group_add_entries
957 g_option_group_set_parse_hooks
959 g_option_group_set_error_hook
961 g_option_group_set_translate_func
962 g_option_group_set_translation_domain
969 <TITLE>File Utilities</TITLE>
970 <FILE>fileutils</FILE>
971 <INCLUDE>glib.h,glib/gstdio.h</INCLUDE>
975 g_file_error_from_errno
1000 <SUBSECTION Private>
1006 <TITLE>String Utility Functions</TITLE>
1007 <FILE>string_utils</FILE>
1008 <INCLUDE>glib.h,glib/gprintf.h</INCLUDE>
1036 g_printf_string_upper_bound
1053 g_ascii_xdigit_value
1084 G_ASCII_DTOSTR_BUF_SIZE
1113 <SUBSECTION Private>
1118 <TITLE>Date and Time Functions</TITLE>
1158 g_date_subtract_days
1160 g_date_subtract_months
1162 g_date_subtract_years
1174 g_date_get_day_of_year
1177 g_date_get_days_in_month
1178 g_date_is_first_of_month
1179 g_date_is_last_of_month
1181 g_date_get_monday_week_of_year
1182 g_date_get_monday_weeks_in_year
1183 g_date_get_sunday_week_of_year
1184 g_date_get_sunday_weeks_in_year
1185 g_date_get_iso8601_week_of_year
1198 g_date_valid_weekday
1200 <SUBSECTION Private>
1207 g_date_monday_week_of_year
1208 g_date_sunday_week_of_year
1209 g_date_days_in_month
1210 g_date_monday_weeks_in_year
1211 g_date_sunday_weeks_in_year
1215 <TITLE>Hook Functions</TITLE>
1226 g_hook_list_invoke_check
1229 g_hook_list_marshal_check
1230 GHookCheckMarshaller
1237 g_hook_insert_before
1238 g_hook_insert_sorted
1248 g_hook_find_func_data
1256 G_HOOK_FLAG_USER_SHIFT
1275 <TITLE>Miscellaneous Utility Functions</TITLE>
1276 <FILE>misc_utils</FILE>
1277 g_get_application_name
1278 g_set_application_name
1286 g_get_user_cache_dir
1288 g_get_user_config_dir
1289 g_get_system_data_dirs
1290 g_get_system_config_dirs
1306 g_find_program_in_path
1314 g_spaced_primes_closest
1320 g_parse_debug_string
1333 <SUBSECTION Private>
1341 <TITLE>Lexical Scanner</TITLE>
1342 <FILE>scanner</FILE>
1348 g_scanner_input_file
1349 g_scanner_sync_file_offset
1350 g_scanner_input_text
1351 g_scanner_peek_next_token
1352 g_scanner_get_next_token
1356 g_scanner_cur_position
1363 g_scanner_scope_add_symbol
1364 g_scanner_scope_foreach_symbol
1365 g_scanner_scope_lookup_symbol
1366 g_scanner_scope_remove_symbol
1369 g_scanner_freeze_symbol_table
1370 g_scanner_thaw_symbol_table
1371 g_scanner_lookup_symbol
1376 g_scanner_unexp_token
1393 g_scanner_add_symbol
1394 g_scanner_remove_symbol
1395 g_scanner_foreach_symbol
1399 <TITLE>Key-value file parser</TITLE>
1400 <FILE>keyfile</FILE>
1407 g_key_file_set_list_separator
1408 g_key_file_load_from_file
1409 g_key_file_load_from_data
1410 g_key_file_load_from_data_dirs
1412 g_key_file_get_start_group
1413 g_key_file_get_groups
1415 g_key_file_has_group
1419 g_key_file_get_value
1420 g_key_file_get_string
1421 g_key_file_get_locale_string
1422 g_key_file_get_boolean
1423 g_key_file_get_integer
1424 g_key_file_get_string_list
1425 g_key_file_get_locale_string_list
1426 g_key_file_get_boolean_list
1427 g_key_file_get_integer_list
1428 g_key_file_get_comment
1431 g_key_file_set_value
1432 g_key_file_set_string
1433 g_key_file_set_locale_string
1434 g_key_file_set_boolean
1435 g_key_file_set_integer
1436 g_key_file_set_string_list
1437 g_key_file_set_locale_string_list
1438 g_key_file_set_boolean_list
1439 g_key_file_set_integer_list
1440 g_key_file_set_comment
1441 g_key_file_remove_group
1442 g_key_file_remove_key
1443 g_key_file_remove_comment
1445 <SUBSECTION Private>
1446 g_key_file_error_quark
1450 <TITLE>Dynamic Loading of Modules</TITLE>
1451 <FILE>modules</FILE>
1452 <INCLUDE>gmodule.h</INCLUDE>
1460 g_module_make_resident
1472 <TITLE>Automatic String Completion</TITLE>
1473 <FILE>completion</FILE>
1477 g_completion_add_items
1478 g_completion_remove_items
1479 g_completion_clear_items
1480 g_completion_complete
1481 g_completion_complete_utf8
1482 g_completion_set_compare
1483 GCompletionStrncmpFunc
1488 <TITLE>Windows Compatability Functions</TITLE>
1489 <FILE>windows</FILE>
1494 g_win32_error_message
1496 g_win32_get_package_installation_directory
1497 g_win32_get_package_installation_subdirectory
1498 g_win32_get_windows_version
1499 G_WIN32_DLLMAIN_FOR_DLL_NAME
1500 G_WIN32_HAVE_WIDECHAR_API
1503 <SUBSECTION Private>
1511 <TITLE>Memory Chunks</TITLE>
1512 <FILE>memory_chunks</FILE>
1542 <TITLE>Doubly-Linked Lists</TITLE>
1543 <FILE>linked_lists_double</FILE>
1550 g_list_insert_before
1551 g_list_insert_sorted
1568 g_list_sort_with_data
1590 g_list_push_allocator
1591 g_list_pop_allocator
1595 <TITLE>Singly-Linked Lists</TITLE>
1596 <FILE>linked_lists_single</FILE>
1604 g_slist_insert_before
1605 g_slist_insert_sorted
1618 g_slist_sort_with_data
1635 g_slist_push_allocator
1636 g_slist_pop_allocator
1640 <TITLE>Double-ended Queues</TITLE>
1666 g_queue_insert_before
1667 g_queue_insert_after
1668 g_queue_insert_sorted
1669 g_queue_push_head_link
1670 g_queue_push_tail_link
1671 g_queue_push_nth_link
1672 g_queue_pop_head_link
1673 g_queue_pop_tail_link
1674 g_queue_pop_nth_link
1675 g_queue_peek_head_link
1676 g_queue_peek_tail_link
1677 g_queue_peek_nth_link
1684 <TITLE>Trash Stacks</TITLE>
1685 <FILE>trash_stack</FILE>
1691 g_trash_stack_height
1695 <TITLE>Hash Tables</TITLE>
1696 <FILE>hash_tables</FILE>
1699 g_hash_table_new_full
1703 g_hash_table_replace
1706 g_hash_table_lookup_extended
1707 g_hash_table_foreach
1712 g_hash_table_foreach_remove
1713 g_hash_table_foreach_steal
1717 g_hash_table_destroy
1730 <TITLE>Strings</TITLE>
1731 <FILE>strings</FILE>
1740 g_string_append_printf
1743 g_string_append_unichar
1747 g_string_prepend_unichar
1748 g_string_prepend_len
1751 g_string_insert_unichar
1769 <TITLE>String Chunks</TITLE>
1770 <FILE>string_chunks</FILE>
1773 g_string_chunk_insert
1774 g_string_chunk_insert_const
1775 g_string_chunk_insert_len
1781 <TITLE>Arrays</TITLE>
1789 g_array_prepend_vals
1792 g_array_remove_index
1793 g_array_remove_index_fast
1794 g_array_remove_range
1796 g_array_sort_with_data
1803 <TITLE>Pointer Arrays</TITLE>
1804 <FILE>arrays_pointer</FILE>
1807 g_ptr_array_sized_new
1810 g_ptr_array_remove_index
1811 g_ptr_array_remove_fast
1812 g_ptr_array_remove_index_fast
1813 g_ptr_array_remove_range
1815 g_ptr_array_sort_with_data
1816 g_ptr_array_set_size
1824 <TITLE>Byte Arrays</TITLE>
1825 <FILE>arrays_byte</FILE>
1828 g_byte_array_sized_new
1830 g_byte_array_prepend
1831 g_byte_array_remove_index
1832 g_byte_array_remove_index_fast
1833 g_byte_array_remove_range
1835 g_byte_array_sort_with_data
1836 g_byte_array_set_size
1842 <TITLE>Balanced Binary Trees</TITLE>
1843 <FILE>trees-binary</FILE>
1846 g_tree_new_with_data
1853 g_tree_lookup_extended
1865 <TITLE>N-ary Trees</TITLE>
1866 <FILE>trees-nary</FILE>
1875 g_node_insert_before
1882 g_node_insert_data_before
1887 g_node_reverse_children
1891 g_node_children_foreach
1899 g_node_child_position
1903 g_node_first_sibling
1922 g_node_push_allocator
1923 g_node_pop_allocator
1928 <TITLE>Quarks</TITLE>
1932 g_quark_from_static_string
1939 <TITLE>Keyed Data Lists</TITLE>
1940 <FILE>datalist</FILE>
1945 g_datalist_id_set_data
1946 g_datalist_id_set_data_full
1947 g_datalist_id_get_data
1948 g_datalist_id_remove_data
1949 g_datalist_id_remove_no_notify
1953 g_datalist_set_data_full
1955 g_datalist_remove_data
1956 g_datalist_remove_no_notify
1965 <TITLE>Datasets</TITLE>
1966 <FILE>datasets</FILE>
1967 g_dataset_id_set_data
1968 g_dataset_id_set_data_full
1970 g_dataset_id_get_data
1971 g_dataset_id_remove_data
1972 g_dataset_id_remove_no_notify
1976 g_dataset_set_data_full
1978 g_dataset_remove_data
1979 g_dataset_remove_no_notify
1989 <TITLE>Relations and Tuples</TITLE>
1990 <FILE>relations</FILE>
2011 <TITLE>Caches</TITLE>
2021 g_cache_value_foreach
2030 <TITLE>Memory Allocators</TITLE>
2031 <FILE>allocators</FILE>
2036 <SUBSECTION Private>
2043 <TITLE>Random Numbers</TITLE>
2044 <FILE>random_numbers</FILE>
2046 g_rand_new_with_seed
2047 g_rand_new_with_seed_array
2052 g_rand_set_seed_array
2063 g_random_double_range
2067 <TITLE>Character Set Conversion</TITLE>
2068 <FILE>conversions</FILE>
2070 g_convert_with_fallback
2072 g_convert_with_iconv
2079 g_filename_from_utf8
2082 g_uri_list_extract_uris
2089 <SUBSECTION Private>
2090 g_convert_error_quark
2094 <TITLE>Unicode Manipulation</TITLE>
2095 <FILE>unicode</FILE>
2118 g_unichar_digit_value
2119 g_unichar_xdigit_value
2123 g_unichar_break_type
2124 g_unicode_canonical_ordering
2125 g_unicode_canonical_decomposition
2126 g_unichar_get_mirror_char
2131 g_utf8_get_char_validated
2132 g_utf8_offset_to_pointer
2133 g_utf8_pointer_to_offset
2135 g_utf8_find_next_char
2136 g_utf8_find_prev_char
2167 <INCLUDE>glib.h,glib/gi18n.h</INCLUDE>
2173 g_get_language_names