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_NULL_TERMINATED
327 G_GNUC_PRETTY_FUNCTION
329 G_HAVE_GNUC_VISIBILITY
368 <TITLE>Error Reporting</TITLE>
369 <FILE>error_reporting</FILE>
382 <TITLE>The Main Event Loop</TITLE>
390 g_main_loop_is_running
391 g_main_loop_get_context
402 G_PRIORITY_DEFAULT_IDLE
410 g_main_context_default
411 g_main_context_iteration
413 g_main_context_pending
415 g_main_context_find_source_by_id
416 g_main_context_find_source_by_user_data
417 g_main_context_find_source_by_funcs_user_data
418 g_main_context_wakeup
419 g_main_context_acquire
420 g_main_context_release
422 g_main_context_prepare
425 g_main_context_dispatch
426 g_main_context_set_poll_func
427 g_main_context_get_poll_func
429 g_main_context_add_poll
430 g_main_context_remove_poll
443 g_idle_remove_by_data
448 g_child_watch_source_new
450 g_child_watch_add_full
464 g_source_set_priority
465 g_source_get_priority
466 g_source_set_can_recurse
467 g_source_get_can_recurse
470 g_source_set_callback
472 g_source_set_callback_indirect
475 g_source_get_current_time
477 g_source_remove_by_funcs_user_data
478 g_source_remove_by_user_data
497 <TITLE>Threads</TITLE>
502 G_THREADS_IMPL_SOLARIS
522 g_thread_set_priority
540 g_static_mutex_trylock
541 g_static_mutex_unlock
542 g_static_mutex_get_mutex
555 G_STATIC_REC_MUTEX_INIT
556 g_static_rec_mutex_init
557 g_static_rec_mutex_lock
558 g_static_rec_mutex_trylock
559 g_static_rec_mutex_unlock
560 g_static_rec_mutex_lock_full
561 g_static_rec_mutex_unlock_full
562 g_static_rec_mutex_free
566 G_STATIC_RW_LOCK_INIT
567 g_static_rw_lock_init
568 g_static_rw_lock_reader_lock
569 g_static_rw_lock_reader_trylock
570 g_static_rw_lock_reader_unlock
571 g_static_rw_lock_writer_lock
572 g_static_rw_lock_writer_trylock
573 g_static_rw_lock_writer_unlock
574 g_static_rw_lock_free
593 G_STATIC_PRIVATE_INIT
594 g_static_private_init
597 g_static_private_free
609 g_static_mutex_get_mutex_impl
610 g_static_mutex_get_mutex_impl_shortcut
612 g_thread_init_with_errorcheck_mutexes
616 g_thread_use_default_impl
617 g_threads_got_initialized
618 g_thread_functions_for_glib_use
625 <TITLE>Thread Pools</TITLE>
626 <FILE>thread_pools</FILE>
630 g_thread_pool_set_max_threads
631 g_thread_pool_get_max_threads
632 g_thread_pool_get_num_threads
633 g_thread_pool_unprocessed
635 g_thread_pool_set_max_unused_threads
636 g_thread_pool_get_max_unused_threads
637 g_thread_pool_get_num_unused_threads
638 g_thread_pool_stop_unused_threads
642 <TITLE>Asynchronous Queues</TITLE>
643 <FILE>async_queues</FILE>
650 g_async_queue_try_pop
651 g_async_queue_timed_pop
657 g_async_queue_ref_unlocked
658 g_async_queue_unref_and_unlock
659 g_async_queue_push_unlocked
660 g_async_queue_pop_unlocked
661 g_async_queue_try_pop_unlocked
662 g_async_queue_timed_pop_unlocked
663 g_async_queue_length_unlocked
667 <TITLE>Atomic Operations</TITLE>
668 <FILE>atomic_operations</FILE>
671 g_atomic_int_exchange_and_add
672 g_atomic_int_compare_and_exchange
674 g_atomic_pointer_compare_and_exchange
676 g_atomic_int_dec_and_test
680 <TITLE>IO Channels</TITLE>
681 <FILE>iochannels</FILE>
685 g_io_channel_unix_new
686 g_io_channel_unix_get_fd
692 g_io_channel_new_file
693 g_io_channel_read_chars
694 g_io_channel_read_unichar
695 g_io_channel_read_line
696 g_io_channel_read_line_string
697 g_io_channel_read_to_end
698 g_io_channel_write_chars
699 g_io_channel_write_unichar
701 g_io_channel_seek_position
703 g_io_channel_shutdown
709 g_io_channel_error_from_errno
726 g_io_channel_get_buffer_size
727 g_io_channel_set_buffer_size
728 g_io_channel_get_buffer_condition
729 g_io_channel_get_flags
730 g_io_channel_set_flags
732 g_io_channel_get_line_term
733 g_io_channel_set_line_term
734 g_io_channel_get_buffered
735 g_io_channel_set_buffered
736 g_io_channel_get_encoding
737 g_io_channel_set_encoding
738 g_io_channel_get_close_on_unref
739 g_io_channel_set_close_on_unref
742 g_io_channel_win32_new_fd
743 g_io_channel_win32_new_messages
744 g_io_channel_win32_new_socket
745 g_io_channel_win32_poll
746 g_io_channel_win32_make_pollfd
747 g_io_channel_win32_get_fd
757 g_io_channel_error_quark
762 <TITLE>Memory Allocation</TITLE>
793 g_mem_is_system_malloc
796 glib_mem_profiler_table
801 <TITLE>Warnings and Assertions</TITLE>
802 <FILE>warnings</FILE>
809 g_set_printerr_handler
815 g_return_val_if_reached
823 g_on_error_stack_trace
829 g_return_if_fail_warning
834 <TITLE>Glob-style pattern matching</TITLE>
835 <FILE>patterns</FILE>
841 g_pattern_match_string
842 g_pattern_match_simple
846 <TITLE>Message Logging</TITLE>
847 <FILE>messages</FILE>
850 G_LOG_LEVEL_USER_SHIFT
866 g_log_set_always_fatal
868 g_log_default_handler
869 g_log_set_default_handler
873 <TITLE>Timers</TITLE>
886 <TITLE>Spawning Processes</TITLE>
892 g_spawn_async_with_pipes
895 g_spawn_command_line_async
896 g_spawn_command_line_sync
903 <TITLE>Simple XML Subset Parser</TITLE>
911 g_markup_printf_escaped
912 g_markup_vprintf_escaped
913 g_markup_parse_context_end_parse
914 g_markup_parse_context_free
915 g_markup_parse_context_get_position
916 g_markup_parse_context_get_element
917 g_markup_parse_context_new
918 g_markup_parse_context_parse
925 <TITLE>Shell-related Utilities</TITLE>
938 <TITLE>Commandline option parser</TITLE>
945 g_option_context_free
946 g_option_context_parse
947 g_option_context_set_help_enabled
948 g_option_context_get_help_enabled
949 g_option_context_set_ignore_unknown_options
950 g_option_context_get_ignore_unknown_options
955 g_option_context_add_main_entries
957 g_option_context_add_group
958 g_option_context_set_main_group
959 g_option_context_get_main_group
962 g_option_group_add_entries
964 g_option_group_set_parse_hooks
966 g_option_group_set_error_hook
968 g_option_group_set_translate_func
969 g_option_group_set_translation_domain
976 <TITLE>File Utilities</TITLE>
977 <FILE>fileutils</FILE>
978 <INCLUDE>glib.h,glib/gstdio.h</INCLUDE>
982 g_file_error_from_errno
1002 g_mapped_file_get_length
1003 g_mapped_file_get_contents
1021 <SUBSECTION Private>
1027 <TITLE>String Utility Functions</TITLE>
1028 <FILE>string_utils</FILE>
1029 <INCLUDE>glib.h,glib/gprintf.h</INCLUDE>
1057 g_printf_string_upper_bound
1074 g_ascii_xdigit_value
1105 G_ASCII_DTOSTR_BUF_SIZE
1134 <SUBSECTION Private>
1139 <TITLE>Date and Time Functions</TITLE>
1181 g_date_subtract_days
1183 g_date_subtract_months
1185 g_date_subtract_years
1197 g_date_get_day_of_year
1200 g_date_get_days_in_month
1201 g_date_is_first_of_month
1202 g_date_is_last_of_month
1204 g_date_get_monday_week_of_year
1205 g_date_get_monday_weeks_in_year
1206 g_date_get_sunday_week_of_year
1207 g_date_get_sunday_weeks_in_year
1208 g_date_get_iso8601_week_of_year
1221 g_date_valid_weekday
1223 <SUBSECTION Private>
1230 g_date_monday_week_of_year
1231 g_date_sunday_week_of_year
1232 g_date_days_in_month
1233 g_date_monday_weeks_in_year
1234 g_date_sunday_weeks_in_year
1239 <TITLE>Hook Functions</TITLE>
1250 g_hook_list_invoke_check
1253 g_hook_list_marshal_check
1254 GHookCheckMarshaller
1261 g_hook_insert_before
1262 g_hook_insert_sorted
1272 g_hook_find_func_data
1280 G_HOOK_FLAG_USER_SHIFT
1299 <TITLE>Miscellaneous Utility Functions</TITLE>
1300 <FILE>misc_utils</FILE>
1301 g_get_application_name
1302 g_set_application_name
1311 g_get_user_cache_dir
1313 g_get_user_config_dir
1314 g_get_system_data_dirs
1315 g_get_system_config_dirs
1334 g_find_program_in_path
1342 g_spaced_primes_closest
1348 g_parse_debug_string
1361 <SUBSECTION Private>
1364 g_win32_get_system_data_dirs_for_module
1370 <TITLE>Lexical Scanner</TITLE>
1371 <FILE>scanner</FILE>
1377 g_scanner_input_file
1378 g_scanner_sync_file_offset
1379 g_scanner_input_text
1380 g_scanner_peek_next_token
1381 g_scanner_get_next_token
1385 g_scanner_cur_position
1392 g_scanner_scope_add_symbol
1393 g_scanner_scope_foreach_symbol
1394 g_scanner_scope_lookup_symbol
1395 g_scanner_scope_remove_symbol
1398 g_scanner_freeze_symbol_table
1399 g_scanner_thaw_symbol_table
1400 g_scanner_lookup_symbol
1405 g_scanner_unexp_token
1422 g_scanner_add_symbol
1423 g_scanner_remove_symbol
1424 g_scanner_foreach_symbol
1428 <TITLE>Key-value file parser</TITLE>
1429 <FILE>keyfile</FILE>
1436 g_key_file_set_list_separator
1437 g_key_file_load_from_file
1438 g_key_file_load_from_data
1439 g_key_file_load_from_data_dirs
1441 g_key_file_get_start_group
1442 g_key_file_get_groups
1444 g_key_file_has_group
1448 g_key_file_get_value
1449 g_key_file_get_string
1450 g_key_file_get_locale_string
1451 g_key_file_get_boolean
1452 g_key_file_get_integer
1453 g_key_file_get_string_list
1454 g_key_file_get_locale_string_list
1455 g_key_file_get_boolean_list
1456 g_key_file_get_integer_list
1457 g_key_file_get_comment
1460 g_key_file_set_value
1461 g_key_file_set_string
1462 g_key_file_set_locale_string
1463 g_key_file_set_boolean
1464 g_key_file_set_integer
1465 g_key_file_set_string_list
1466 g_key_file_set_locale_string_list
1467 g_key_file_set_boolean_list
1468 g_key_file_set_integer_list
1469 g_key_file_set_comment
1470 g_key_file_remove_group
1471 g_key_file_remove_key
1472 g_key_file_remove_comment
1474 <SUBSECTION Private>
1475 g_key_file_error_quark
1479 <TITLE>Dynamic Loading of Modules</TITLE>
1480 <FILE>modules</FILE>
1481 <INCLUDE>gmodule.h</INCLUDE>
1489 g_module_make_resident
1501 <TITLE>Automatic String Completion</TITLE>
1502 <FILE>completion</FILE>
1506 g_completion_add_items
1507 g_completion_remove_items
1508 g_completion_clear_items
1509 g_completion_complete
1510 g_completion_complete_utf8
1511 g_completion_set_compare
1512 GCompletionStrncmpFunc
1517 <TITLE>Windows Compatability Functions</TITLE>
1518 <FILE>windows</FILE>
1522 g_win32_error_message
1524 g_win32_get_package_installation_directory
1525 g_win32_get_package_installation_subdirectory
1526 g_win32_get_windows_version
1527 g_win32_locale_filename_from_utf8
1528 G_WIN32_DLLMAIN_FOR_DLL_NAME
1529 G_WIN32_HAVE_WIDECHAR_API
1532 <SUBSECTION Private>
1540 <TITLE>Memory Chunks</TITLE>
1541 <FILE>memory_chunks</FILE>
1571 <TITLE>Doubly-Linked Lists</TITLE>
1572 <FILE>linked_lists_double</FILE>
1579 g_list_insert_before
1580 g_list_insert_sorted
1597 g_list_sort_with_data
1619 g_list_push_allocator
1620 g_list_pop_allocator
1624 <TITLE>Singly-Linked Lists</TITLE>
1625 <FILE>linked_lists_single</FILE>
1633 g_slist_insert_before
1634 g_slist_insert_sorted
1647 g_slist_sort_with_data
1664 g_slist_push_allocator
1665 g_slist_pop_allocator
1669 <TITLE>Double-ended Queues</TITLE>
1695 g_queue_insert_before
1696 g_queue_insert_after
1697 g_queue_insert_sorted
1698 g_queue_push_head_link
1699 g_queue_push_tail_link
1700 g_queue_push_nth_link
1701 g_queue_pop_head_link
1702 g_queue_pop_tail_link
1703 g_queue_pop_nth_link
1704 g_queue_peek_head_link
1705 g_queue_peek_tail_link
1706 g_queue_peek_nth_link
1713 <TITLE>Trash Stacks</TITLE>
1714 <FILE>trash_stack</FILE>
1720 g_trash_stack_height
1724 <TITLE>Hash Tables</TITLE>
1725 <FILE>hash_tables</FILE>
1728 g_hash_table_new_full
1732 g_hash_table_replace
1735 g_hash_table_lookup_extended
1736 g_hash_table_foreach
1741 g_hash_table_foreach_remove
1742 g_hash_table_foreach_steal
1746 g_hash_table_destroy
1761 <TITLE>Strings</TITLE>
1762 <FILE>strings</FILE>
1771 g_string_append_printf
1774 g_string_append_unichar
1778 g_string_prepend_unichar
1779 g_string_prepend_len
1782 g_string_insert_unichar
1800 <TITLE>String Chunks</TITLE>
1801 <FILE>string_chunks</FILE>
1804 g_string_chunk_insert
1805 g_string_chunk_insert_const
1806 g_string_chunk_insert_len
1812 <TITLE>Arrays</TITLE>
1820 g_array_prepend_vals
1823 g_array_remove_index
1824 g_array_remove_index_fast
1825 g_array_remove_range
1827 g_array_sort_with_data
1834 <TITLE>Pointer Arrays</TITLE>
1835 <FILE>arrays_pointer</FILE>
1838 g_ptr_array_sized_new
1841 g_ptr_array_remove_index
1842 g_ptr_array_remove_fast
1843 g_ptr_array_remove_index_fast
1844 g_ptr_array_remove_range
1846 g_ptr_array_sort_with_data
1847 g_ptr_array_set_size
1855 <TITLE>Byte Arrays</TITLE>
1856 <FILE>arrays_byte</FILE>
1859 g_byte_array_sized_new
1861 g_byte_array_prepend
1862 g_byte_array_remove_index
1863 g_byte_array_remove_index_fast
1864 g_byte_array_remove_range
1866 g_byte_array_sort_with_data
1867 g_byte_array_set_size
1873 <TITLE>Balanced Binary Trees</TITLE>
1874 <FILE>trees-binary</FILE>
1877 g_tree_new_with_data
1884 g_tree_lookup_extended
1896 <TITLE>N-ary Trees</TITLE>
1897 <FILE>trees-nary</FILE>
1906 g_node_insert_before
1913 g_node_insert_data_before
1918 g_node_reverse_children
1922 g_node_children_foreach
1930 g_node_child_position
1934 g_node_first_sibling
1953 g_node_push_allocator
1954 g_node_pop_allocator
1959 <TITLE>Quarks</TITLE>
1963 g_quark_from_static_string
1967 g_intern_static_string
1971 <TITLE>Keyed Data Lists</TITLE>
1972 <FILE>datalist</FILE>
1977 g_datalist_id_set_data
1978 g_datalist_id_set_data_full
1979 g_datalist_id_get_data
1980 g_datalist_id_remove_data
1981 g_datalist_id_remove_no_notify
1985 g_datalist_set_data_full
1987 g_datalist_remove_data
1988 g_datalist_remove_no_notify
1993 g_datalist_set_flags
1994 g_datalist_unset_flags
1995 g_datalist_get_flags
1996 G_DATALIST_FLAGS_MASK
2001 <TITLE>Datasets</TITLE>
2002 <FILE>datasets</FILE>
2003 g_dataset_id_set_data
2004 g_dataset_id_set_data_full
2006 g_dataset_id_get_data
2007 g_dataset_id_remove_data
2008 g_dataset_id_remove_no_notify
2012 g_dataset_set_data_full
2014 g_dataset_remove_data
2015 g_dataset_remove_no_notify
2025 <TITLE>Relations and Tuples</TITLE>
2026 <FILE>relations</FILE>
2047 <TITLE>Caches</TITLE>
2057 g_cache_value_foreach
2066 <TITLE>Memory Allocators</TITLE>
2067 <FILE>allocators</FILE>
2072 <SUBSECTION Private>
2079 <TITLE>Random Numbers</TITLE>
2080 <FILE>random_numbers</FILE>
2082 g_rand_new_with_seed
2083 g_rand_new_with_seed_array
2088 g_rand_set_seed_array
2099 g_random_double_range
2103 <TITLE>Character Set Conversion</TITLE>
2104 <FILE>conversions</FILE>
2106 g_convert_with_fallback
2108 g_convert_with_iconv
2115 g_filename_from_utf8
2118 g_get_filename_charsets
2119 g_filename_display_name
2120 g_filename_display_basename
2121 g_uri_list_extract_uris
2128 <SUBSECTION Private>
2129 g_convert_error_quark
2133 <TITLE>Unicode Manipulation</TITLE>
2134 <FILE>unicode</FILE>
2157 g_unichar_digit_value
2158 g_unichar_xdigit_value
2162 g_unichar_break_type
2163 g_unicode_canonical_ordering
2164 g_unicode_canonical_decomposition
2165 g_unichar_get_mirror_char
2170 g_utf8_get_char_validated
2171 g_utf8_offset_to_pointer
2172 g_utf8_pointer_to_offset
2174 g_utf8_find_next_char
2175 g_utf8_find_prev_char
2191 g_utf8_collate_key_for_filename
2207 <INCLUDE>glib.h,glib/gi18n.h</INCLUDE>
2213 g_get_language_names