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
423 g_main_context_is_owner
425 g_main_context_prepare
428 g_main_context_dispatch
429 g_main_context_set_poll_func
430 g_main_context_get_poll_func
432 g_main_context_add_poll
433 g_main_context_remove_poll
435 g_main_current_source
440 g_timeout_source_new_seconds
443 g_timeout_add_seconds
449 g_idle_remove_by_data
454 g_child_watch_source_new
456 g_child_watch_add_full
471 g_source_is_destroyed
472 g_source_set_priority
473 g_source_get_priority
474 g_source_set_can_recurse
475 g_source_get_can_recurse
478 g_source_set_callback
480 g_source_set_callback_indirect
483 g_source_get_current_time
485 g_source_remove_by_funcs_user_data
486 g_source_remove_by_user_data
505 <TITLE>Threads</TITLE>
529 g_thread_set_priority
547 g_static_mutex_trylock
548 g_static_mutex_unlock
549 g_static_mutex_get_mutex
562 G_STATIC_REC_MUTEX_INIT
563 g_static_rec_mutex_init
564 g_static_rec_mutex_lock
565 g_static_rec_mutex_trylock
566 g_static_rec_mutex_unlock
567 g_static_rec_mutex_lock_full
568 g_static_rec_mutex_unlock_full
569 g_static_rec_mutex_free
573 G_STATIC_RW_LOCK_INIT
574 g_static_rw_lock_init
575 g_static_rw_lock_reader_lock
576 g_static_rw_lock_reader_trylock
577 g_static_rw_lock_reader_unlock
578 g_static_rw_lock_writer_lock
579 g_static_rw_lock_writer_trylock
580 g_static_rw_lock_writer_unlock
581 g_static_rw_lock_free
600 G_STATIC_PRIVATE_INIT
601 g_static_private_init
604 g_static_private_free
616 g_static_mutex_get_mutex_impl
617 g_static_mutex_get_mutex_impl_shortcut
619 g_thread_init_with_errorcheck_mutexes
623 g_thread_use_default_impl
624 g_threads_got_initialized
625 g_thread_functions_for_glib_use
632 <TITLE>Thread Pools</TITLE>
633 <FILE>thread_pools</FILE>
637 g_thread_pool_set_max_threads
638 g_thread_pool_get_max_threads
639 g_thread_pool_get_num_threads
640 g_thread_pool_unprocessed
642 g_thread_pool_set_max_unused_threads
643 g_thread_pool_get_max_unused_threads
644 g_thread_pool_get_num_unused_threads
645 g_thread_pool_stop_unused_threads
646 g_thread_pool_set_sort_function
647 g_thread_pool_set_max_idle_time
648 g_thread_pool_get_max_idle_time
652 <TITLE>Asynchronous Queues</TITLE>
653 <FILE>async_queues</FILE>
659 g_async_queue_push_sorted
661 g_async_queue_try_pop
662 g_async_queue_timed_pop
669 g_async_queue_ref_unlocked
670 g_async_queue_unref_and_unlock
671 g_async_queue_push_unlocked
672 g_async_queue_push_sorted_unlocked
673 g_async_queue_pop_unlocked
674 g_async_queue_try_pop_unlocked
675 g_async_queue_timed_pop_unlocked
676 g_async_queue_length_unlocked
677 g_async_queue_sort_unlocked
681 <TITLE>Atomic Operations</TITLE>
682 <FILE>atomic_operations</FILE>g
686 g_atomic_int_exchange_and_add
687 g_atomic_int_compare_and_exchange
690 g_atomic_pointer_compare_and_exchange
692 g_atomic_int_dec_and_test
696 <TITLE>IO Channels</TITLE>
697 <FILE>iochannels</FILE>
701 g_io_channel_unix_new
702 g_io_channel_unix_get_fd
703 g_io_channel_win32_new_fd
704 g_io_channel_win32_new_socket
705 g_io_channel_win32_new_messages
711 g_io_channel_new_file
712 g_io_channel_read_chars
713 g_io_channel_read_unichar
714 g_io_channel_read_line
715 g_io_channel_read_line_string
716 g_io_channel_read_to_end
717 g_io_channel_write_chars
718 g_io_channel_write_unichar
720 g_io_channel_seek_position
722 g_io_channel_shutdown
728 g_io_channel_error_from_errno
745 g_io_channel_get_buffer_size
746 g_io_channel_set_buffer_size
747 g_io_channel_get_buffer_condition
748 g_io_channel_get_flags
749 g_io_channel_set_flags
751 g_io_channel_get_line_term
752 g_io_channel_set_line_term
753 g_io_channel_get_buffered
754 g_io_channel_set_buffered
755 g_io_channel_get_encoding
756 g_io_channel_set_encoding
757 g_io_channel_get_close_on_unref
758 g_io_channel_set_close_on_unref
761 g_io_channel_win32_poll
762 g_io_channel_win32_make_pollfd
763 g_io_channel_win32_get_fd
773 g_io_channel_error_quark
778 <TITLE>Memory Allocation</TITLE>
810 g_mem_is_system_malloc
813 glib_mem_profiler_table
818 <TITLE>Warnings and Assertions</TITLE>
819 <FILE>warnings</FILE>
826 g_set_printerr_handler
832 g_return_val_if_reached
840 g_on_error_stack_trace
846 g_return_if_fail_warning
851 <TITLE>Glob-style pattern matching</TITLE>
852 <FILE>patterns</FILE>
858 g_pattern_match_string
859 g_pattern_match_simple
863 <TITLE>Message Logging</TITLE>
864 <FILE>messages</FILE>
867 G_LOG_LEVEL_USER_SHIFT
883 g_log_set_always_fatal
885 g_log_default_handler
886 g_log_set_default_handler
890 <TITLE>Timers</TITLE>
903 <TITLE>Spawning Processes</TITLE>
909 g_spawn_async_with_pipes
912 g_spawn_command_line_async
913 g_spawn_command_line_sync
920 <TITLE>Simple XML Subset Parser</TITLE>
928 g_markup_printf_escaped
929 g_markup_vprintf_escaped
930 g_markup_parse_context_end_parse
931 g_markup_parse_context_free
932 g_markup_parse_context_get_position
933 g_markup_parse_context_get_element
934 g_markup_parse_context_new
935 g_markup_parse_context_parse
942 <TITLE>Shell-related Utilities</TITLE>
955 <TITLE>Commandline option parser</TITLE>
962 g_option_context_set_summary
963 g_option_context_get_summary
964 g_option_context_set_description
965 g_option_context_get_description
967 g_option_context_set_translate_func
968 g_option_context_set_translation_domain
969 g_option_context_free
970 g_option_context_parse
971 g_option_context_set_help_enabled
972 g_option_context_get_help_enabled
973 g_option_context_set_ignore_unknown_options
974 g_option_context_get_ignore_unknown_options
979 g_option_context_add_main_entries
981 g_option_context_add_group
982 g_option_context_set_main_group
983 g_option_context_get_main_group
986 g_option_group_add_entries
988 g_option_group_set_parse_hooks
990 g_option_group_set_error_hook
991 g_option_group_set_translate_func
992 g_option_group_set_translation_domain
999 <TITLE>File Utilities</TITLE>
1000 <FILE>fileutils</FILE>
1001 <INCLUDE>glib.h,glib/gstdio.h</INCLUDE>
1005 g_file_error_from_errno
1012 g_mkdir_with_parents
1025 g_mapped_file_get_length
1026 g_mapped_file_get_contents
1044 <SUBSECTION Private>
1050 <TITLE>String Utility Functions</TITLE>
1051 <FILE>string_utils</FILE>
1052 <INCLUDE>glib.h,glib/gprintf.h</INCLUDE>
1080 g_printf_string_upper_bound
1097 g_ascii_xdigit_value
1129 G_ASCII_DTOSTR_BUF_SIZE
1158 <SUBSECTION Private>
1163 <TITLE>Date and Time Functions</TITLE>
1170 g_time_val_from_iso8601
1171 g_time_val_to_iso8601
1207 g_date_subtract_days
1209 g_date_subtract_months
1211 g_date_subtract_years
1223 g_date_get_day_of_year
1226 g_date_get_days_in_month
1227 g_date_is_first_of_month
1228 g_date_is_last_of_month
1230 g_date_get_monday_week_of_year
1231 g_date_get_monday_weeks_in_year
1232 g_date_get_sunday_week_of_year
1233 g_date_get_sunday_weeks_in_year
1234 g_date_get_iso8601_week_of_year
1247 g_date_valid_weekday
1249 <SUBSECTION Private>
1256 g_date_monday_week_of_year
1257 g_date_sunday_week_of_year
1258 g_date_days_in_month
1259 g_date_monday_weeks_in_year
1260 g_date_sunday_weeks_in_year
1265 <TITLE>Hook Functions</TITLE>
1276 g_hook_list_invoke_check
1279 g_hook_list_marshal_check
1280 GHookCheckMarshaller
1287 g_hook_insert_before
1288 g_hook_insert_sorted
1298 g_hook_find_func_data
1306 G_HOOK_FLAG_USER_SHIFT
1325 <TITLE>Miscellaneous Utility Functions</TITLE>
1326 <FILE>misc_utils</FILE>
1327 g_get_application_name
1328 g_set_application_name
1337 g_get_user_cache_dir
1339 g_get_user_config_dir
1340 g_get_system_data_dirs
1341 g_get_system_config_dirs
1360 g_find_program_in_path
1368 g_spaced_primes_closest
1374 g_parse_debug_string
1387 <SUBSECTION Private>
1390 g_win32_get_system_data_dirs_for_module
1396 <TITLE>Lexical Scanner</TITLE>
1397 <FILE>scanner</FILE>
1403 g_scanner_input_file
1404 g_scanner_sync_file_offset
1405 g_scanner_input_text
1406 g_scanner_peek_next_token
1407 g_scanner_get_next_token
1411 g_scanner_cur_position
1418 g_scanner_scope_add_symbol
1419 g_scanner_scope_foreach_symbol
1420 g_scanner_scope_lookup_symbol
1421 g_scanner_scope_remove_symbol
1424 g_scanner_freeze_symbol_table
1425 g_scanner_thaw_symbol_table
1426 g_scanner_lookup_symbol
1431 g_scanner_unexp_token
1448 g_scanner_add_symbol
1449 g_scanner_remove_symbol
1450 g_scanner_foreach_symbol
1454 <TITLE>Key-value file parser</TITLE>
1455 <FILE>keyfile</FILE>
1462 g_key_file_set_list_separator
1463 g_key_file_load_from_file
1464 g_key_file_load_from_data
1465 g_key_file_load_from_data_dirs
1467 g_key_file_get_start_group
1468 g_key_file_get_groups
1470 g_key_file_has_group
1474 g_key_file_get_value
1475 g_key_file_get_string
1476 g_key_file_get_locale_string
1477 g_key_file_get_boolean
1478 g_key_file_get_integer
1479 g_key_file_get_double
1480 g_key_file_get_string_list
1481 g_key_file_get_locale_string_list
1482 g_key_file_get_boolean_list
1483 g_key_file_get_integer_list
1484 g_key_file_get_double_list
1485 g_key_file_get_comment
1488 g_key_file_set_value
1489 g_key_file_set_string
1490 g_key_file_set_locale_string
1491 g_key_file_set_boolean
1492 g_key_file_set_integer
1493 g_key_file_set_double
1494 g_key_file_set_string_list
1495 g_key_file_set_locale_string_list
1496 g_key_file_set_boolean_list
1497 g_key_file_set_integer_list
1498 g_key_file_set_double_list
1499 g_key_file_set_comment
1500 g_key_file_remove_group
1501 g_key_file_remove_key
1502 g_key_file_remove_comment
1504 <SUBSECTION Private>
1505 g_key_file_error_quark
1509 <TITLE>Bookmark file parser</TITLE>
1510 <FILE>bookmarkfile</FILE>
1512 G_BOOKMARK_FILE_ERROR
1515 g_bookmark_file_free
1516 g_bookmark_file_load_from_file
1517 g_bookmark_file_load_from_data
1518 g_bookmark_file_load_from_data_dirs
1519 g_bookmark_file_to_data
1520 g_bookmark_file_to_file
1521 g_bookmark_file_has_item
1522 g_bookmark_file_has_group
1523 g_bookmark_file_has_application
1524 g_bookmark_file_get_size
1525 g_bookmark_file_get_uris G_GNUC_MALLOC
1528 g_bookmark_file_get_title
1529 g_bookmark_file_get_description
1530 g_bookmark_file_get_mime_type
1531 g_bookmark_file_get_is_private
1532 g_bookmark_file_get_icon
1533 g_bookmark_file_get_added
1534 g_bookmark_file_get_modified
1535 g_bookmark_file_get_visited
1536 g_bookmark_file_get_groups
1537 g_bookmark_file_get_applications
1538 g_bookmark_file_get_app_info
1541 g_bookmark_file_set_title
1542 g_bookmark_file_set_description
1543 g_bookmark_file_set_mime_type
1544 g_bookmark_file_set_is_private
1545 g_bookmark_file_set_icon
1546 g_bookmark_file_set_added
1547 g_bookmark_file_set_groups
1548 g_bookmark_file_set_modified
1549 g_bookmark_file_set_visited
1550 g_bookmark_file_set_app_info
1551 g_bookmark_file_add_group
1552 g_bookmark_file_add_application
1553 g_bookmark_file_remove_group
1554 g_bookmark_file_remove_application
1555 g_bookmark_file_remove_item
1556 g_bookmark_file_move_item
1558 <SUBSECTION Private>
1559 g_bookmark_file_error_quark
1563 <TITLE>Dynamic Loading of Modules</TITLE>
1564 <FILE>modules</FILE>
1565 <INCLUDE>gmodule.h</INCLUDE>
1573 g_module_make_resident
1585 <TITLE>Automatic String Completion</TITLE>
1586 <FILE>completion</FILE>
1590 g_completion_add_items
1591 g_completion_remove_items
1592 g_completion_clear_items
1593 g_completion_complete
1594 g_completion_complete_utf8
1595 g_completion_set_compare
1596 GCompletionStrncmpFunc
1601 <TITLE>Windows Compatibility Functions</TITLE>
1602 <FILE>windows</FILE>
1606 g_win32_error_message
1608 g_win32_get_package_installation_directory
1609 g_win32_get_package_installation_subdirectory
1610 g_win32_get_windows_version
1611 g_win32_locale_filename_from_utf8
1612 G_WIN32_DLLMAIN_FOR_DLL_NAME
1613 G_WIN32_HAVE_WIDECHAR_API
1616 <SUBSECTION Private>
1624 <TITLE>Memory Chunks</TITLE>
1625 <FILE>memory_chunks</FILE>
1655 <TITLE>Memory Slices</TITLE>
1656 <FILE>memory_slices</FILE>
1660 g_slice_free_chain_with_offset
1668 <SUBSECTION Private>
1672 g_slice_get_config_state
1676 <TITLE>Doubly-Linked Lists</TITLE>
1677 <FILE>linked_lists_double</FILE>
1684 g_list_insert_before
1685 g_list_insert_sorted
1703 g_list_insert_sorted_with_data
1704 g_list_sort_with_data
1726 g_list_push_allocator
1727 g_list_pop_allocator
1731 <TITLE>Singly-Linked Lists</TITLE>
1732 <FILE>linked_lists_single</FILE>
1740 g_slist_insert_before
1741 g_slist_insert_sorted
1754 g_slist_insert_sorted_with_data
1756 g_slist_sort_with_data
1773 g_slist_push_allocator
1774 g_slist_pop_allocator
1778 <TITLE>Double-ended Queues</TITLE>
1804 g_queue_insert_before
1805 g_queue_insert_after
1806 g_queue_insert_sorted
1807 g_queue_push_head_link
1808 g_queue_push_tail_link
1809 g_queue_push_nth_link
1810 g_queue_pop_head_link
1811 g_queue_pop_tail_link
1812 g_queue_pop_nth_link
1813 g_queue_peek_head_link
1814 g_queue_peek_tail_link
1815 g_queue_peek_nth_link
1822 <TITLE>Trash Stacks</TITLE>
1823 <FILE>trash_stack</FILE>
1829 g_trash_stack_height
1833 <TITLE>Hash Tables</TITLE>
1834 <FILE>hash_tables</FILE>
1837 g_hash_table_new_full
1841 g_hash_table_replace
1844 g_hash_table_lookup_extended
1845 g_hash_table_foreach
1850 g_hash_table_foreach_remove
1851 g_hash_table_foreach_steal
1852 g_hash_table_remove_all
1853 g_hash_table_steal_all
1857 g_hash_table_destroy
1872 <TITLE>Strings</TITLE>
1873 <FILE>strings</FILE>
1882 g_string_append_printf
1885 g_string_append_unichar
1889 g_string_prepend_unichar
1890 g_string_prepend_len
1893 g_string_insert_unichar
1911 <TITLE>String Chunks</TITLE>
1912 <FILE>string_chunks</FILE>
1915 g_string_chunk_insert
1916 g_string_chunk_insert_const
1917 g_string_chunk_insert_len
1918 g_string_chunk_clear
1924 <TITLE>Arrays</TITLE>
1932 g_array_prepend_vals
1935 g_array_remove_index
1936 g_array_remove_index_fast
1937 g_array_remove_range
1939 g_array_sort_with_data
1946 <TITLE>Pointer Arrays</TITLE>
1947 <FILE>arrays_pointer</FILE>
1950 g_ptr_array_sized_new
1953 g_ptr_array_remove_index
1954 g_ptr_array_remove_fast
1955 g_ptr_array_remove_index_fast
1956 g_ptr_array_remove_range
1958 g_ptr_array_sort_with_data
1959 g_ptr_array_set_size
1967 <TITLE>Byte Arrays</TITLE>
1968 <FILE>arrays_byte</FILE>
1971 g_byte_array_sized_new
1973 g_byte_array_prepend
1974 g_byte_array_remove_index
1975 g_byte_array_remove_index_fast
1976 g_byte_array_remove_range
1978 g_byte_array_sort_with_data
1979 g_byte_array_set_size
1985 <TITLE>Balanced Binary Trees</TITLE>
1986 <FILE>trees-binary</FILE>
1989 g_tree_new_with_data
1996 g_tree_lookup_extended
2008 <TITLE>N-ary Trees</TITLE>
2009 <FILE>trees-nary</FILE>
2018 g_node_insert_before
2025 g_node_insert_data_before
2030 g_node_reverse_children
2034 g_node_children_foreach
2042 g_node_child_position
2046 g_node_first_sibling
2065 g_node_push_allocator
2066 g_node_pop_allocator
2071 <TITLE>Quarks</TITLE>
2075 g_quark_from_static_string
2079 g_intern_static_string
2083 <TITLE>Keyed Data Lists</TITLE>
2084 <FILE>datalist</FILE>
2089 g_datalist_id_set_data
2090 g_datalist_id_set_data_full
2091 g_datalist_id_get_data
2092 g_datalist_id_remove_data
2093 g_datalist_id_remove_no_notify
2097 g_datalist_set_data_full
2099 g_datalist_remove_data
2100 g_datalist_remove_no_notify
2105 g_datalist_set_flags
2106 g_datalist_unset_flags
2107 g_datalist_get_flags
2108 G_DATALIST_FLAGS_MASK
2113 <TITLE>Datasets</TITLE>
2114 <FILE>datasets</FILE>
2115 g_dataset_id_set_data
2116 g_dataset_id_set_data_full
2118 g_dataset_id_get_data
2119 g_dataset_id_remove_data
2120 g_dataset_id_remove_no_notify
2124 g_dataset_set_data_full
2126 g_dataset_remove_data
2127 g_dataset_remove_no_notify
2137 <TITLE>Relations and Tuples</TITLE>
2138 <FILE>relations</FILE>
2159 <TITLE>Caches</TITLE>
2169 g_cache_value_foreach
2178 <TITLE>Memory Allocators</TITLE>
2179 <FILE>allocators</FILE>
2184 <SUBSECTION Private>
2191 <TITLE>Random Numbers</TITLE>
2192 <FILE>random_numbers</FILE>
2194 g_rand_new_with_seed
2195 g_rand_new_with_seed_array
2200 g_rand_set_seed_array
2211 g_random_double_range
2215 <TITLE>Character Set Conversion</TITLE>
2216 <FILE>conversions</FILE>
2218 g_convert_with_fallback
2220 g_convert_with_iconv
2227 g_filename_from_utf8
2230 g_get_filename_charsets
2231 g_filename_display_name
2232 g_filename_display_basename
2233 g_uri_list_extract_uris
2240 <SUBSECTION Private>
2241 g_convert_error_quark
2245 <TITLE>Unicode Manipulation</TITLE>
2246 <FILE>unicode</FILE>
2266 g_unichar_iswide_cjk
2267 g_unichar_iszerowidth
2271 g_unichar_digit_value
2272 g_unichar_xdigit_value
2276 g_unichar_break_type
2277 g_unicode_canonical_ordering
2278 g_unicode_canonical_decomposition
2279 g_unichar_get_mirror_char
2281 g_unichar_get_script
2286 g_utf8_get_char_validated
2287 g_utf8_offset_to_pointer
2288 g_utf8_pointer_to_offset
2290 g_utf8_find_next_char
2291 g_utf8_find_prev_char
2307 g_utf8_collate_key_for_filename
2323 <INCLUDE>glib.h,glib/gi18n.h</INCLUDE>
2329 g_get_language_names
2333 <TITLE>Base64 Encoding</TITLE>
2335 g_base64_encode_step
2336 g_base64_encode_close
2338 g_base64_decode_step