1 <INCLUDE>glib.h</INCLUDE>
4 <TITLE>Basic Types</TITLE>
50 <TITLE>Limits of Basic Types</TITLE>
99 <TITLE>Version Information</TITLE>
116 <TITLE>Standard Macros</TITLE>
127 G_SEARCHPATH_SEPARATOR
128 G_SEARCHPATH_SEPARATOR_S
159 <TITLE>Type Conversion Macros</TITLE>
160 <FILE>type_conversion</FILE>
172 <TITLE>Byte Order Macros</TITLE>
173 <FILE>byte_order</FILE>
259 GUINT16_SWAP_LE_BE_CONSTANT
260 GUINT32_SWAP_LE_BE_CONSTANT
261 GUINT64_SWAP_LE_BE_CONSTANT
262 GUINT16_SWAP_LE_BE_IA32
263 GUINT32_SWAP_LE_BE_IA32
264 GUINT64_SWAP_LE_BE_IA32
265 GUINT16_SWAP_LE_BE_IA64
266 GUINT32_SWAP_LE_BE_IA64
267 GUINT64_SWAP_LE_BE_IA64
268 GUINT32_SWAP_LE_BE_X86_64
269 GUINT64_SWAP_LE_BE_X86_64
274 <TITLE>Numerical Definitions</TITLE>
275 <FILE>numerical</FILE>
277 G_IEEE754_DOUBLE_BIAS
294 <TITLE>Miscellaneous Macros</TITLE>
295 <FILE>macros_misc</FILE>
326 G_GNUC_NULL_TERMINATED
327 G_GNUC_WARN_UNUSED_RESULT
329 G_GNUC_PRETTY_FUNCTION
331 G_HAVE_GNUC_VISIBILITY
370 <TITLE>Error Reporting</TITLE>
371 <FILE>error_reporting</FILE>
384 <TITLE>The Main Event Loop</TITLE>
392 g_main_loop_is_running
393 g_main_loop_get_context
404 G_PRIORITY_DEFAULT_IDLE
412 g_main_context_default
413 g_main_context_iteration
415 g_main_context_pending
417 g_main_context_find_source_by_id
418 g_main_context_find_source_by_user_data
419 g_main_context_find_source_by_funcs_user_data
420 g_main_context_wakeup
421 g_main_context_acquire
422 g_main_context_release
424 g_main_context_prepare
427 g_main_context_dispatch
428 g_main_context_set_poll_func
429 g_main_context_get_poll_func
431 g_main_context_add_poll
432 g_main_context_remove_poll
445 g_idle_remove_by_data
450 g_child_watch_source_new
452 g_child_watch_add_full
466 g_source_set_priority
467 g_source_get_priority
468 g_source_set_can_recurse
469 g_source_get_can_recurse
472 g_source_set_callback
474 g_source_set_callback_indirect
477 g_source_get_current_time
479 g_source_remove_by_funcs_user_data
480 g_source_remove_by_user_data
499 <TITLE>Threads</TITLE>
523 g_thread_set_priority
541 g_static_mutex_trylock
542 g_static_mutex_unlock
543 g_static_mutex_get_mutex
556 G_STATIC_REC_MUTEX_INIT
557 g_static_rec_mutex_init
558 g_static_rec_mutex_lock
559 g_static_rec_mutex_trylock
560 g_static_rec_mutex_unlock
561 g_static_rec_mutex_lock_full
562 g_static_rec_mutex_unlock_full
563 g_static_rec_mutex_free
567 G_STATIC_RW_LOCK_INIT
568 g_static_rw_lock_init
569 g_static_rw_lock_reader_lock
570 g_static_rw_lock_reader_trylock
571 g_static_rw_lock_reader_unlock
572 g_static_rw_lock_writer_lock
573 g_static_rw_lock_writer_trylock
574 g_static_rw_lock_writer_unlock
575 g_static_rw_lock_free
594 G_STATIC_PRIVATE_INIT
595 g_static_private_init
598 g_static_private_free
610 g_static_mutex_get_mutex_impl
611 g_static_mutex_get_mutex_impl_shortcut
613 g_thread_init_with_errorcheck_mutexes
617 g_thread_use_default_impl
618 g_threads_got_initialized
619 g_thread_functions_for_glib_use
626 <TITLE>Thread Pools</TITLE>
627 <FILE>thread_pools</FILE>
631 g_thread_pool_set_max_threads
632 g_thread_pool_get_max_threads
633 g_thread_pool_get_num_threads
634 g_thread_pool_unprocessed
636 g_thread_pool_set_max_unused_threads
637 g_thread_pool_get_max_unused_threads
638 g_thread_pool_get_num_unused_threads
639 g_thread_pool_stop_unused_threads
643 <TITLE>Asynchronous Queues</TITLE>
644 <FILE>async_queues</FILE>
650 g_async_queue_push_sorted
652 g_async_queue_try_pop
653 g_async_queue_timed_pop
660 g_async_queue_ref_unlocked
661 g_async_queue_unref_and_unlock
662 g_async_queue_push_unlocked
663 g_async_queue_push_sorted_unlocked
664 g_async_queue_pop_unlocked
665 g_async_queue_try_pop_unlocked
666 g_async_queue_timed_pop_unlocked
667 g_async_queue_length_unlocked
668 g_async_queue_sort_unlocked
672 <TITLE>Atomic Operations</TITLE>
673 <FILE>atomic_operations</FILE>
676 g_atomic_int_exchange_and_add
677 g_atomic_int_compare_and_exchange
679 g_atomic_pointer_compare_and_exchange
681 g_atomic_int_dec_and_test
685 <TITLE>IO Channels</TITLE>
686 <FILE>iochannels</FILE>
690 g_io_channel_unix_new
691 g_io_channel_unix_get_fd
697 g_io_channel_new_file
698 g_io_channel_read_chars
699 g_io_channel_read_unichar
700 g_io_channel_read_line
701 g_io_channel_read_line_string
702 g_io_channel_read_to_end
703 g_io_channel_write_chars
704 g_io_channel_write_unichar
706 g_io_channel_seek_position
708 g_io_channel_shutdown
714 g_io_channel_error_from_errno
731 g_io_channel_get_buffer_size
732 g_io_channel_set_buffer_size
733 g_io_channel_get_buffer_condition
734 g_io_channel_get_flags
735 g_io_channel_set_flags
737 g_io_channel_get_line_term
738 g_io_channel_set_line_term
739 g_io_channel_get_buffered
740 g_io_channel_set_buffered
741 g_io_channel_get_encoding
742 g_io_channel_set_encoding
743 g_io_channel_get_close_on_unref
744 g_io_channel_set_close_on_unref
747 g_io_channel_win32_new_fd
748 g_io_channel_win32_new_messages
749 g_io_channel_win32_new_socket
750 g_io_channel_win32_poll
751 g_io_channel_win32_make_pollfd
752 g_io_channel_win32_get_fd
762 g_io_channel_error_quark
767 <TITLE>Memory Allocation</TITLE>
798 g_mem_is_system_malloc
801 glib_mem_profiler_table
806 <TITLE>Warnings and Assertions</TITLE>
807 <FILE>warnings</FILE>
814 g_set_printerr_handler
820 g_return_val_if_reached
828 g_on_error_stack_trace
834 g_return_if_fail_warning
839 <TITLE>Glob-style pattern matching</TITLE>
840 <FILE>patterns</FILE>
846 g_pattern_match_string
847 g_pattern_match_simple
851 <TITLE>Message Logging</TITLE>
852 <FILE>messages</FILE>
855 G_LOG_LEVEL_USER_SHIFT
871 g_log_set_always_fatal
873 g_log_default_handler
874 g_log_set_default_handler
878 <TITLE>Timers</TITLE>
891 <TITLE>Spawning Processes</TITLE>
897 g_spawn_async_with_pipes
900 g_spawn_command_line_async
901 g_spawn_command_line_sync
908 <TITLE>Simple XML Subset Parser</TITLE>
916 g_markup_printf_escaped
917 g_markup_vprintf_escaped
918 g_markup_parse_context_end_parse
919 g_markup_parse_context_free
920 g_markup_parse_context_get_position
921 g_markup_parse_context_get_element
922 g_markup_parse_context_new
923 g_markup_parse_context_parse
930 <TITLE>Shell-related Utilities</TITLE>
943 <TITLE>Commandline option parser</TITLE>
950 g_option_context_free
951 g_option_context_parse
952 g_option_context_set_help_enabled
953 g_option_context_get_help_enabled
954 g_option_context_set_ignore_unknown_options
955 g_option_context_get_ignore_unknown_options
960 g_option_context_add_main_entries
962 g_option_context_add_group
963 g_option_context_set_main_group
964 g_option_context_get_main_group
967 g_option_group_add_entries
969 g_option_group_set_parse_hooks
971 g_option_group_set_error_hook
973 g_option_group_set_translate_func
974 g_option_group_set_translation_domain
981 <TITLE>File Utilities</TITLE>
982 <FILE>fileutils</FILE>
983 <INCLUDE>glib.h,glib/gstdio.h</INCLUDE>
987 g_file_error_from_errno
1007 g_mapped_file_get_length
1008 g_mapped_file_get_contents
1026 <SUBSECTION Private>
1032 <TITLE>String Utility Functions</TITLE>
1033 <FILE>string_utils</FILE>
1034 <INCLUDE>glib.h,glib/gprintf.h</INCLUDE>
1062 g_printf_string_upper_bound
1079 g_ascii_xdigit_value
1110 G_ASCII_DTOSTR_BUF_SIZE
1139 <SUBSECTION Private>
1144 <TITLE>Date and Time Functions</TITLE>
1186 g_date_subtract_days
1188 g_date_subtract_months
1190 g_date_subtract_years
1202 g_date_get_day_of_year
1205 g_date_get_days_in_month
1206 g_date_is_first_of_month
1207 g_date_is_last_of_month
1209 g_date_get_monday_week_of_year
1210 g_date_get_monday_weeks_in_year
1211 g_date_get_sunday_week_of_year
1212 g_date_get_sunday_weeks_in_year
1213 g_date_get_iso8601_week_of_year
1226 g_date_valid_weekday
1228 <SUBSECTION Private>
1235 g_date_monday_week_of_year
1236 g_date_sunday_week_of_year
1237 g_date_days_in_month
1238 g_date_monday_weeks_in_year
1239 g_date_sunday_weeks_in_year
1244 <TITLE>Hook Functions</TITLE>
1255 g_hook_list_invoke_check
1258 g_hook_list_marshal_check
1259 GHookCheckMarshaller
1266 g_hook_insert_before
1267 g_hook_insert_sorted
1277 g_hook_find_func_data
1285 G_HOOK_FLAG_USER_SHIFT
1304 <TITLE>Miscellaneous Utility Functions</TITLE>
1305 <FILE>misc_utils</FILE>
1306 g_get_application_name
1307 g_set_application_name
1316 g_get_user_cache_dir
1318 g_get_user_config_dir
1319 g_get_system_data_dirs
1320 g_get_system_config_dirs
1339 g_find_program_in_path
1347 g_spaced_primes_closest
1353 g_parse_debug_string
1366 <SUBSECTION Private>
1369 g_win32_get_system_data_dirs_for_module
1375 <TITLE>Lexical Scanner</TITLE>
1376 <FILE>scanner</FILE>
1382 g_scanner_input_file
1383 g_scanner_sync_file_offset
1384 g_scanner_input_text
1385 g_scanner_peek_next_token
1386 g_scanner_get_next_token
1390 g_scanner_cur_position
1397 g_scanner_scope_add_symbol
1398 g_scanner_scope_foreach_symbol
1399 g_scanner_scope_lookup_symbol
1400 g_scanner_scope_remove_symbol
1403 g_scanner_freeze_symbol_table
1404 g_scanner_thaw_symbol_table
1405 g_scanner_lookup_symbol
1410 g_scanner_unexp_token
1427 g_scanner_add_symbol
1428 g_scanner_remove_symbol
1429 g_scanner_foreach_symbol
1433 <TITLE>Key-value file parser</TITLE>
1434 <FILE>keyfile</FILE>
1441 g_key_file_set_list_separator
1442 g_key_file_load_from_file
1443 g_key_file_load_from_data
1444 g_key_file_load_from_data_dirs
1446 g_key_file_get_start_group
1447 g_key_file_get_groups
1449 g_key_file_has_group
1453 g_key_file_get_value
1454 g_key_file_get_string
1455 g_key_file_get_locale_string
1456 g_key_file_get_boolean
1457 g_key_file_get_integer
1458 g_key_file_get_string_list
1459 g_key_file_get_locale_string_list
1460 g_key_file_get_boolean_list
1461 g_key_file_get_integer_list
1462 g_key_file_get_comment
1465 g_key_file_set_value
1466 g_key_file_set_string
1467 g_key_file_set_locale_string
1468 g_key_file_set_boolean
1469 g_key_file_set_integer
1470 g_key_file_set_string_list
1471 g_key_file_set_locale_string_list
1472 g_key_file_set_boolean_list
1473 g_key_file_set_integer_list
1474 g_key_file_set_comment
1475 g_key_file_remove_group
1476 g_key_file_remove_key
1477 g_key_file_remove_comment
1479 <SUBSECTION Private>
1480 g_key_file_error_quark
1484 <TITLE>Dynamic Loading of Modules</TITLE>
1485 <FILE>modules</FILE>
1486 <INCLUDE>gmodule.h</INCLUDE>
1494 g_module_make_resident
1506 <TITLE>Automatic String Completion</TITLE>
1507 <FILE>completion</FILE>
1511 g_completion_add_items
1512 g_completion_remove_items
1513 g_completion_clear_items
1514 g_completion_complete
1515 g_completion_complete_utf8
1516 g_completion_set_compare
1517 GCompletionStrncmpFunc
1522 <TITLE>Windows Compatability Functions</TITLE>
1523 <FILE>windows</FILE>
1527 g_win32_error_message
1529 g_win32_get_package_installation_directory
1530 g_win32_get_package_installation_subdirectory
1531 g_win32_get_windows_version
1532 g_win32_locale_filename_from_utf8
1533 G_WIN32_DLLMAIN_FOR_DLL_NAME
1534 G_WIN32_HAVE_WIDECHAR_API
1537 <SUBSECTION Private>
1545 <TITLE>Memory Chunks</TITLE>
1546 <FILE>memory_chunks</FILE>
1576 <TITLE>Memory Slices</TITLE>
1577 <FILE>memory_slices</FILE>
1581 g_slice_free_chain_with_offset
1589 <SUBSECTION Private>
1593 g_slice_get_config_state
1597 <TITLE>Doubly-Linked Lists</TITLE>
1598 <FILE>linked_lists_double</FILE>
1605 g_list_insert_before
1606 g_list_insert_sorted
1623 g_list_sort_with_data
1645 g_list_push_allocator
1646 g_list_pop_allocator
1650 <TITLE>Singly-Linked Lists</TITLE>
1651 <FILE>linked_lists_single</FILE>
1659 g_slist_insert_before
1660 g_slist_insert_sorted
1674 g_slist_sort_with_data
1691 g_slist_push_allocator
1692 g_slist_pop_allocator
1696 <TITLE>Double-ended Queues</TITLE>
1722 g_queue_insert_before
1723 g_queue_insert_after
1724 g_queue_insert_sorted
1725 g_queue_push_head_link
1726 g_queue_push_tail_link
1727 g_queue_push_nth_link
1728 g_queue_pop_head_link
1729 g_queue_pop_tail_link
1730 g_queue_pop_nth_link
1731 g_queue_peek_head_link
1732 g_queue_peek_tail_link
1733 g_queue_peek_nth_link
1740 <TITLE>Trash Stacks</TITLE>
1741 <FILE>trash_stack</FILE>
1747 g_trash_stack_height
1751 <TITLE>Hash Tables</TITLE>
1752 <FILE>hash_tables</FILE>
1755 g_hash_table_new_full
1759 g_hash_table_replace
1762 g_hash_table_lookup_extended
1763 g_hash_table_foreach
1768 g_hash_table_foreach_remove
1769 g_hash_table_foreach_steal
1773 g_hash_table_destroy
1788 <TITLE>Strings</TITLE>
1789 <FILE>strings</FILE>
1798 g_string_append_printf
1801 g_string_append_unichar
1805 g_string_prepend_unichar
1806 g_string_prepend_len
1809 g_string_insert_unichar
1827 <TITLE>String Chunks</TITLE>
1828 <FILE>string_chunks</FILE>
1831 g_string_chunk_insert
1832 g_string_chunk_insert_const
1833 g_string_chunk_insert_len
1839 <TITLE>Arrays</TITLE>
1847 g_array_prepend_vals
1850 g_array_remove_index
1851 g_array_remove_index_fast
1852 g_array_remove_range
1854 g_array_sort_with_data
1861 <TITLE>Pointer Arrays</TITLE>
1862 <FILE>arrays_pointer</FILE>
1865 g_ptr_array_sized_new
1868 g_ptr_array_remove_index
1869 g_ptr_array_remove_fast
1870 g_ptr_array_remove_index_fast
1871 g_ptr_array_remove_range
1873 g_ptr_array_sort_with_data
1874 g_ptr_array_set_size
1882 <TITLE>Byte Arrays</TITLE>
1883 <FILE>arrays_byte</FILE>
1886 g_byte_array_sized_new
1888 g_byte_array_prepend
1889 g_byte_array_remove_index
1890 g_byte_array_remove_index_fast
1891 g_byte_array_remove_range
1893 g_byte_array_sort_with_data
1894 g_byte_array_set_size
1900 <TITLE>Balanced Binary Trees</TITLE>
1901 <FILE>trees-binary</FILE>
1904 g_tree_new_with_data
1911 g_tree_lookup_extended
1923 <TITLE>N-ary Trees</TITLE>
1924 <FILE>trees-nary</FILE>
1933 g_node_insert_before
1940 g_node_insert_data_before
1945 g_node_reverse_children
1949 g_node_children_foreach
1957 g_node_child_position
1961 g_node_first_sibling
1980 g_node_push_allocator
1981 g_node_pop_allocator
1986 <TITLE>Quarks</TITLE>
1990 g_quark_from_static_string
1994 g_intern_static_string
1998 <TITLE>Keyed Data Lists</TITLE>
1999 <FILE>datalist</FILE>
2004 g_datalist_id_set_data
2005 g_datalist_id_set_data_full
2006 g_datalist_id_get_data
2007 g_datalist_id_remove_data
2008 g_datalist_id_remove_no_notify
2012 g_datalist_set_data_full
2014 g_datalist_remove_data
2015 g_datalist_remove_no_notify
2020 g_datalist_set_flags
2021 g_datalist_unset_flags
2022 g_datalist_get_flags
2023 G_DATALIST_FLAGS_MASK
2028 <TITLE>Datasets</TITLE>
2029 <FILE>datasets</FILE>
2030 g_dataset_id_set_data
2031 g_dataset_id_set_data_full
2033 g_dataset_id_get_data
2034 g_dataset_id_remove_data
2035 g_dataset_id_remove_no_notify
2039 g_dataset_set_data_full
2041 g_dataset_remove_data
2042 g_dataset_remove_no_notify
2052 <TITLE>Relations and Tuples</TITLE>
2053 <FILE>relations</FILE>
2074 <TITLE>Caches</TITLE>
2084 g_cache_value_foreach
2093 <TITLE>Memory Allocators</TITLE>
2094 <FILE>allocators</FILE>
2099 <SUBSECTION Private>
2106 <TITLE>Random Numbers</TITLE>
2107 <FILE>random_numbers</FILE>
2109 g_rand_new_with_seed
2110 g_rand_new_with_seed_array
2115 g_rand_set_seed_array
2126 g_random_double_range
2130 <TITLE>Character Set Conversion</TITLE>
2131 <FILE>conversions</FILE>
2133 g_convert_with_fallback
2135 g_convert_with_iconv
2142 g_filename_from_utf8
2145 g_get_filename_charsets
2146 g_filename_display_name
2147 g_filename_display_basename
2148 g_uri_list_extract_uris
2155 <SUBSECTION Private>
2156 g_convert_error_quark
2160 <TITLE>Unicode Manipulation</TITLE>
2161 <FILE>unicode</FILE>
2184 g_unichar_digit_value
2185 g_unichar_xdigit_value
2189 g_unichar_break_type
2190 g_unicode_canonical_ordering
2191 g_unicode_canonical_decomposition
2192 g_unichar_get_mirror_char
2197 g_utf8_get_char_validated
2198 g_utf8_offset_to_pointer
2199 g_utf8_pointer_to_offset
2201 g_utf8_find_next_char
2202 g_utf8_find_prev_char
2218 g_utf8_collate_key_for_filename
2234 <INCLUDE>glib.h,glib/gi18n.h</INCLUDE>
2240 g_get_language_names