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
446 g_idle_remove_by_data
451 g_child_watch_source_new
453 g_child_watch_add_full
468 g_source_is_destroyed
469 g_source_set_priority
470 g_source_get_priority
471 g_source_set_can_recurse
472 g_source_get_can_recurse
475 g_source_set_callback
477 g_source_set_callback_indirect
480 g_source_get_current_time
482 g_source_remove_by_funcs_user_data
483 g_source_remove_by_user_data
502 <TITLE>Threads</TITLE>
526 g_thread_set_priority
544 g_static_mutex_trylock
545 g_static_mutex_unlock
546 g_static_mutex_get_mutex
559 G_STATIC_REC_MUTEX_INIT
560 g_static_rec_mutex_init
561 g_static_rec_mutex_lock
562 g_static_rec_mutex_trylock
563 g_static_rec_mutex_unlock
564 g_static_rec_mutex_lock_full
565 g_static_rec_mutex_unlock_full
566 g_static_rec_mutex_free
570 G_STATIC_RW_LOCK_INIT
571 g_static_rw_lock_init
572 g_static_rw_lock_reader_lock
573 g_static_rw_lock_reader_trylock
574 g_static_rw_lock_reader_unlock
575 g_static_rw_lock_writer_lock
576 g_static_rw_lock_writer_trylock
577 g_static_rw_lock_writer_unlock
578 g_static_rw_lock_free
597 G_STATIC_PRIVATE_INIT
598 g_static_private_init
601 g_static_private_free
613 g_static_mutex_get_mutex_impl
614 g_static_mutex_get_mutex_impl_shortcut
616 g_thread_init_with_errorcheck_mutexes
620 g_thread_use_default_impl
621 g_threads_got_initialized
622 g_thread_functions_for_glib_use
629 <TITLE>Thread Pools</TITLE>
630 <FILE>thread_pools</FILE>
634 g_thread_pool_set_max_threads
635 g_thread_pool_get_max_threads
636 g_thread_pool_get_num_threads
637 g_thread_pool_unprocessed
639 g_thread_pool_set_max_unused_threads
640 g_thread_pool_get_max_unused_threads
641 g_thread_pool_get_num_unused_threads
642 g_thread_pool_stop_unused_threads
643 g_thread_pool_set_sort_function
644 g_thread_pool_set_max_idle_time
645 g_thread_pool_get_max_idle_time
649 <TITLE>Asynchronous Queues</TITLE>
650 <FILE>async_queues</FILE>
656 g_async_queue_push_sorted
658 g_async_queue_try_pop
659 g_async_queue_timed_pop
666 g_async_queue_ref_unlocked
667 g_async_queue_unref_and_unlock
668 g_async_queue_push_unlocked
669 g_async_queue_push_sorted_unlocked
670 g_async_queue_pop_unlocked
671 g_async_queue_try_pop_unlocked
672 g_async_queue_timed_pop_unlocked
673 g_async_queue_length_unlocked
674 g_async_queue_sort_unlocked
678 <TITLE>Atomic Operations</TITLE>
679 <FILE>atomic_operations</FILE>g
683 g_atomic_int_exchange_and_add
684 g_atomic_int_compare_and_exchange
687 g_atomic_pointer_compare_and_exchange
689 g_atomic_int_dec_and_test
693 <TITLE>IO Channels</TITLE>
694 <FILE>iochannels</FILE>
698 g_io_channel_unix_new
699 g_io_channel_unix_get_fd
700 g_io_channel_win32_new_fd
701 g_io_channel_win32_new_socket
702 g_io_channel_win32_new_messages
708 g_io_channel_new_file
709 g_io_channel_read_chars
710 g_io_channel_read_unichar
711 g_io_channel_read_line
712 g_io_channel_read_line_string
713 g_io_channel_read_to_end
714 g_io_channel_write_chars
715 g_io_channel_write_unichar
717 g_io_channel_seek_position
719 g_io_channel_shutdown
725 g_io_channel_error_from_errno
742 g_io_channel_get_buffer_size
743 g_io_channel_set_buffer_size
744 g_io_channel_get_buffer_condition
745 g_io_channel_get_flags
746 g_io_channel_set_flags
748 g_io_channel_get_line_term
749 g_io_channel_set_line_term
750 g_io_channel_get_buffered
751 g_io_channel_set_buffered
752 g_io_channel_get_encoding
753 g_io_channel_set_encoding
754 g_io_channel_get_close_on_unref
755 g_io_channel_set_close_on_unref
758 g_io_channel_win32_poll
759 g_io_channel_win32_make_pollfd
760 g_io_channel_win32_get_fd
770 g_io_channel_error_quark
775 <TITLE>Memory Allocation</TITLE>
807 g_mem_is_system_malloc
810 glib_mem_profiler_table
815 <TITLE>Warnings and Assertions</TITLE>
816 <FILE>warnings</FILE>
823 g_set_printerr_handler
829 g_return_val_if_reached
837 g_on_error_stack_trace
843 g_return_if_fail_warning
848 <TITLE>Glob-style pattern matching</TITLE>
849 <FILE>patterns</FILE>
855 g_pattern_match_string
856 g_pattern_match_simple
860 <TITLE>Message Logging</TITLE>
861 <FILE>messages</FILE>
864 G_LOG_LEVEL_USER_SHIFT
880 g_log_set_always_fatal
882 g_log_default_handler
883 g_log_set_default_handler
887 <TITLE>Timers</TITLE>
900 <TITLE>Spawning Processes</TITLE>
906 g_spawn_async_with_pipes
909 g_spawn_command_line_async
910 g_spawn_command_line_sync
917 <TITLE>Simple XML Subset Parser</TITLE>
925 g_markup_printf_escaped
926 g_markup_vprintf_escaped
927 g_markup_parse_context_end_parse
928 g_markup_parse_context_free
929 g_markup_parse_context_get_position
930 g_markup_parse_context_get_element
931 g_markup_parse_context_new
932 g_markup_parse_context_parse
939 <TITLE>Shell-related Utilities</TITLE>
952 <TITLE>Commandline option parser</TITLE>
959 g_option_context_set_summary
960 g_option_context_get_summary
961 g_option_context_set_description
962 g_option_context_get_description
964 g_option_context_set_translate_func
965 g_option_context_set_translation_domain
966 g_option_context_free
967 g_option_context_parse
968 g_option_context_set_help_enabled
969 g_option_context_get_help_enabled
970 g_option_context_set_ignore_unknown_options
971 g_option_context_get_ignore_unknown_options
976 g_option_context_add_main_entries
978 g_option_context_add_group
979 g_option_context_set_main_group
980 g_option_context_get_main_group
983 g_option_group_add_entries
985 g_option_group_set_parse_hooks
987 g_option_group_set_error_hook
988 g_option_group_set_translate_func
989 g_option_group_set_translation_domain
996 <TITLE>File Utilities</TITLE>
997 <FILE>fileutils</FILE>
998 <INCLUDE>glib.h,glib/gstdio.h</INCLUDE>
1002 g_file_error_from_errno
1009 g_mkdir_with_parents
1022 g_mapped_file_get_length
1023 g_mapped_file_get_contents
1041 <SUBSECTION Private>
1047 <TITLE>String Utility Functions</TITLE>
1048 <FILE>string_utils</FILE>
1049 <INCLUDE>glib.h,glib/gprintf.h</INCLUDE>
1077 g_printf_string_upper_bound
1094 g_ascii_xdigit_value
1126 G_ASCII_DTOSTR_BUF_SIZE
1155 <SUBSECTION Private>
1160 <TITLE>Date and Time Functions</TITLE>
1167 g_time_val_from_iso8601
1168 g_time_val_to_iso8601
1204 g_date_subtract_days
1206 g_date_subtract_months
1208 g_date_subtract_years
1220 g_date_get_day_of_year
1223 g_date_get_days_in_month
1224 g_date_is_first_of_month
1225 g_date_is_last_of_month
1227 g_date_get_monday_week_of_year
1228 g_date_get_monday_weeks_in_year
1229 g_date_get_sunday_week_of_year
1230 g_date_get_sunday_weeks_in_year
1231 g_date_get_iso8601_week_of_year
1244 g_date_valid_weekday
1246 <SUBSECTION Private>
1253 g_date_monday_week_of_year
1254 g_date_sunday_week_of_year
1255 g_date_days_in_month
1256 g_date_monday_weeks_in_year
1257 g_date_sunday_weeks_in_year
1262 <TITLE>Hook Functions</TITLE>
1273 g_hook_list_invoke_check
1276 g_hook_list_marshal_check
1277 GHookCheckMarshaller
1284 g_hook_insert_before
1285 g_hook_insert_sorted
1295 g_hook_find_func_data
1303 G_HOOK_FLAG_USER_SHIFT
1322 <TITLE>Miscellaneous Utility Functions</TITLE>
1323 <FILE>misc_utils</FILE>
1324 g_get_application_name
1325 g_set_application_name
1334 g_get_user_cache_dir
1336 g_get_user_config_dir
1337 g_get_system_data_dirs
1338 g_get_system_config_dirs
1357 g_find_program_in_path
1365 g_spaced_primes_closest
1371 g_parse_debug_string
1384 <SUBSECTION Private>
1387 g_win32_get_system_data_dirs_for_module
1393 <TITLE>Lexical Scanner</TITLE>
1394 <FILE>scanner</FILE>
1400 g_scanner_input_file
1401 g_scanner_sync_file_offset
1402 g_scanner_input_text
1403 g_scanner_peek_next_token
1404 g_scanner_get_next_token
1408 g_scanner_cur_position
1415 g_scanner_scope_add_symbol
1416 g_scanner_scope_foreach_symbol
1417 g_scanner_scope_lookup_symbol
1418 g_scanner_scope_remove_symbol
1421 g_scanner_freeze_symbol_table
1422 g_scanner_thaw_symbol_table
1423 g_scanner_lookup_symbol
1428 g_scanner_unexp_token
1445 g_scanner_add_symbol
1446 g_scanner_remove_symbol
1447 g_scanner_foreach_symbol
1451 <TITLE>Key-value file parser</TITLE>
1452 <FILE>keyfile</FILE>
1459 g_key_file_set_list_separator
1460 g_key_file_load_from_file
1461 g_key_file_load_from_data
1462 g_key_file_load_from_data_dirs
1464 g_key_file_get_start_group
1465 g_key_file_get_groups
1467 g_key_file_has_group
1471 g_key_file_get_value
1472 g_key_file_get_string
1473 g_key_file_get_locale_string
1474 g_key_file_get_boolean
1475 g_key_file_get_integer
1476 g_key_file_get_double
1477 g_key_file_get_string_list
1478 g_key_file_get_locale_string_list
1479 g_key_file_get_boolean_list
1480 g_key_file_get_integer_list
1481 g_key_file_get_double_list
1482 g_key_file_get_comment
1485 g_key_file_set_value
1486 g_key_file_set_string
1487 g_key_file_set_locale_string
1488 g_key_file_set_boolean
1489 g_key_file_set_integer
1490 g_key_file_set_double
1491 g_key_file_set_string_list
1492 g_key_file_set_locale_string_list
1493 g_key_file_set_boolean_list
1494 g_key_file_set_integer_list
1495 g_key_file_set_double_list
1496 g_key_file_set_comment
1497 g_key_file_remove_group
1498 g_key_file_remove_key
1499 g_key_file_remove_comment
1501 <SUBSECTION Private>
1502 g_key_file_error_quark
1506 <TITLE>Bookmark file parser</TITLE>
1507 <FILE>bookmarkfile</FILE>
1509 G_BOOKMARK_FILE_ERROR
1512 g_bookmark_file_free
1513 g_bookmark_file_load_from_file
1514 g_bookmark_file_load_from_data
1515 g_bookmark_file_load_from_data_dirs
1516 g_bookmark_file_to_data
1517 g_bookmark_file_to_file
1518 g_bookmark_file_has_item
1519 g_bookmark_file_has_group
1520 g_bookmark_file_has_application
1521 g_bookmark_file_get_size
1522 g_bookmark_file_get_uris G_GNUC_MALLOC
1525 g_bookmark_file_get_title
1526 g_bookmark_file_get_description
1527 g_bookmark_file_get_mime_type
1528 g_bookmark_file_get_is_private
1529 g_bookmark_file_get_icon
1530 g_bookmark_file_get_added
1531 g_bookmark_file_get_modified
1532 g_bookmark_file_get_visited
1533 g_bookmark_file_get_groups
1534 g_bookmark_file_get_applications
1535 g_bookmark_file_get_app_info
1538 g_bookmark_file_set_title
1539 g_bookmark_file_set_description
1540 g_bookmark_file_set_mime_type
1541 g_bookmark_file_set_is_private
1542 g_bookmark_file_set_icon
1543 g_bookmark_file_set_added
1544 g_bookmark_file_set_groups
1545 g_bookmark_file_set_modified
1546 g_bookmark_file_set_visited
1547 g_bookmark_file_set_app_info
1548 g_bookmark_file_add_group
1549 g_bookmark_file_add_application
1550 g_bookmark_file_remove_group
1551 g_bookmark_file_remove_application
1552 g_bookmark_file_remove_item
1553 g_bookmark_file_move_item
1555 <SUBSECTION Private>
1556 g_bookmark_file_error_quark
1560 <TITLE>Dynamic Loading of Modules</TITLE>
1561 <FILE>modules</FILE>
1562 <INCLUDE>gmodule.h</INCLUDE>
1570 g_module_make_resident
1582 <TITLE>Automatic String Completion</TITLE>
1583 <FILE>completion</FILE>
1587 g_completion_add_items
1588 g_completion_remove_items
1589 g_completion_clear_items
1590 g_completion_complete
1591 g_completion_complete_utf8
1592 g_completion_set_compare
1593 GCompletionStrncmpFunc
1598 <TITLE>Windows Compatibility Functions</TITLE>
1599 <FILE>windows</FILE>
1603 g_win32_error_message
1605 g_win32_get_package_installation_directory
1606 g_win32_get_package_installation_subdirectory
1607 g_win32_get_windows_version
1608 g_win32_locale_filename_from_utf8
1609 G_WIN32_DLLMAIN_FOR_DLL_NAME
1610 G_WIN32_HAVE_WIDECHAR_API
1613 <SUBSECTION Private>
1621 <TITLE>Memory Chunks</TITLE>
1622 <FILE>memory_chunks</FILE>
1652 <TITLE>Memory Slices</TITLE>
1653 <FILE>memory_slices</FILE>
1657 g_slice_free_chain_with_offset
1665 <SUBSECTION Private>
1669 g_slice_get_config_state
1673 <TITLE>Doubly-Linked Lists</TITLE>
1674 <FILE>linked_lists_double</FILE>
1681 g_list_insert_before
1682 g_list_insert_sorted
1700 g_list_insert_sorted_with_data
1701 g_list_sort_with_data
1723 g_list_push_allocator
1724 g_list_pop_allocator
1728 <TITLE>Singly-Linked Lists</TITLE>
1729 <FILE>linked_lists_single</FILE>
1737 g_slist_insert_before
1738 g_slist_insert_sorted
1751 g_slist_insert_sorted_with_data
1753 g_slist_sort_with_data
1770 g_slist_push_allocator
1771 g_slist_pop_allocator
1775 <TITLE>Double-ended Queues</TITLE>
1801 g_queue_insert_before
1802 g_queue_insert_after
1803 g_queue_insert_sorted
1804 g_queue_push_head_link
1805 g_queue_push_tail_link
1806 g_queue_push_nth_link
1807 g_queue_pop_head_link
1808 g_queue_pop_tail_link
1809 g_queue_pop_nth_link
1810 g_queue_peek_head_link
1811 g_queue_peek_tail_link
1812 g_queue_peek_nth_link
1819 <TITLE>Trash Stacks</TITLE>
1820 <FILE>trash_stack</FILE>
1826 g_trash_stack_height
1830 <TITLE>Hash Tables</TITLE>
1831 <FILE>hash_tables</FILE>
1834 g_hash_table_new_full
1838 g_hash_table_replace
1841 g_hash_table_lookup_extended
1842 g_hash_table_foreach
1847 g_hash_table_foreach_remove
1848 g_hash_table_foreach_steal
1849 g_hash_table_remove_all
1850 g_hash_table_steal_all
1854 g_hash_table_destroy
1869 <TITLE>Strings</TITLE>
1870 <FILE>strings</FILE>
1879 g_string_append_printf
1882 g_string_append_unichar
1886 g_string_prepend_unichar
1887 g_string_prepend_len
1890 g_string_insert_unichar
1908 <TITLE>String Chunks</TITLE>
1909 <FILE>string_chunks</FILE>
1912 g_string_chunk_insert
1913 g_string_chunk_insert_const
1914 g_string_chunk_insert_len
1920 <TITLE>Arrays</TITLE>
1928 g_array_prepend_vals
1931 g_array_remove_index
1932 g_array_remove_index_fast
1933 g_array_remove_range
1935 g_array_sort_with_data
1942 <TITLE>Pointer Arrays</TITLE>
1943 <FILE>arrays_pointer</FILE>
1946 g_ptr_array_sized_new
1949 g_ptr_array_remove_index
1950 g_ptr_array_remove_fast
1951 g_ptr_array_remove_index_fast
1952 g_ptr_array_remove_range
1954 g_ptr_array_sort_with_data
1955 g_ptr_array_set_size
1963 <TITLE>Byte Arrays</TITLE>
1964 <FILE>arrays_byte</FILE>
1967 g_byte_array_sized_new
1969 g_byte_array_prepend
1970 g_byte_array_remove_index
1971 g_byte_array_remove_index_fast
1972 g_byte_array_remove_range
1974 g_byte_array_sort_with_data
1975 g_byte_array_set_size
1981 <TITLE>Balanced Binary Trees</TITLE>
1982 <FILE>trees-binary</FILE>
1985 g_tree_new_with_data
1992 g_tree_lookup_extended
2004 <TITLE>N-ary Trees</TITLE>
2005 <FILE>trees-nary</FILE>
2014 g_node_insert_before
2021 g_node_insert_data_before
2026 g_node_reverse_children
2030 g_node_children_foreach
2038 g_node_child_position
2042 g_node_first_sibling
2061 g_node_push_allocator
2062 g_node_pop_allocator
2067 <TITLE>Quarks</TITLE>
2071 g_quark_from_static_string
2075 g_intern_static_string
2079 <TITLE>Keyed Data Lists</TITLE>
2080 <FILE>datalist</FILE>
2085 g_datalist_id_set_data
2086 g_datalist_id_set_data_full
2087 g_datalist_id_get_data
2088 g_datalist_id_remove_data
2089 g_datalist_id_remove_no_notify
2093 g_datalist_set_data_full
2095 g_datalist_remove_data
2096 g_datalist_remove_no_notify
2101 g_datalist_set_flags
2102 g_datalist_unset_flags
2103 g_datalist_get_flags
2104 G_DATALIST_FLAGS_MASK
2109 <TITLE>Datasets</TITLE>
2110 <FILE>datasets</FILE>
2111 g_dataset_id_set_data
2112 g_dataset_id_set_data_full
2114 g_dataset_id_get_data
2115 g_dataset_id_remove_data
2116 g_dataset_id_remove_no_notify
2120 g_dataset_set_data_full
2122 g_dataset_remove_data
2123 g_dataset_remove_no_notify
2133 <TITLE>Relations and Tuples</TITLE>
2134 <FILE>relations</FILE>
2155 <TITLE>Caches</TITLE>
2165 g_cache_value_foreach
2174 <TITLE>Memory Allocators</TITLE>
2175 <FILE>allocators</FILE>
2180 <SUBSECTION Private>
2187 <TITLE>Random Numbers</TITLE>
2188 <FILE>random_numbers</FILE>
2190 g_rand_new_with_seed
2191 g_rand_new_with_seed_array
2196 g_rand_set_seed_array
2207 g_random_double_range
2211 <TITLE>Character Set Conversion</TITLE>
2212 <FILE>conversions</FILE>
2214 g_convert_with_fallback
2216 g_convert_with_iconv
2223 g_filename_from_utf8
2226 g_get_filename_charsets
2227 g_filename_display_name
2228 g_filename_display_basename
2229 g_uri_list_extract_uris
2236 <SUBSECTION Private>
2237 g_convert_error_quark
2241 <TITLE>Unicode Manipulation</TITLE>
2242 <FILE>unicode</FILE>
2262 g_unichar_iswide_cjk
2266 g_unichar_digit_value
2267 g_unichar_xdigit_value
2271 g_unichar_break_type
2272 g_unicode_canonical_ordering
2273 g_unicode_canonical_decomposition
2274 g_unichar_get_mirror_char
2279 g_utf8_get_char_validated
2280 g_utf8_offset_to_pointer
2281 g_utf8_pointer_to_offset
2283 g_utf8_find_next_char
2284 g_utf8_find_prev_char
2300 g_utf8_collate_key_for_filename
2316 <INCLUDE>glib.h,glib/gi18n.h</INCLUDE>
2322 g_get_language_names
2326 <TITLE>Base64 Encoding</TITLE>
2328 g_base64_encode_step
2329 g_base64_encode_close
2331 g_base64_decode_step