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
467 g_source_set_priority
468 g_source_get_priority
469 g_source_set_can_recurse
470 g_source_get_can_recurse
473 g_source_set_callback
475 g_source_set_callback_indirect
478 g_source_get_current_time
480 g_source_remove_by_funcs_user_data
481 g_source_remove_by_user_data
500 <TITLE>Threads</TITLE>
524 g_thread_set_priority
542 g_static_mutex_trylock
543 g_static_mutex_unlock
544 g_static_mutex_get_mutex
557 G_STATIC_REC_MUTEX_INIT
558 g_static_rec_mutex_init
559 g_static_rec_mutex_lock
560 g_static_rec_mutex_trylock
561 g_static_rec_mutex_unlock
562 g_static_rec_mutex_lock_full
563 g_static_rec_mutex_unlock_full
564 g_static_rec_mutex_free
568 G_STATIC_RW_LOCK_INIT
569 g_static_rw_lock_init
570 g_static_rw_lock_reader_lock
571 g_static_rw_lock_reader_trylock
572 g_static_rw_lock_reader_unlock
573 g_static_rw_lock_writer_lock
574 g_static_rw_lock_writer_trylock
575 g_static_rw_lock_writer_unlock
576 g_static_rw_lock_free
595 G_STATIC_PRIVATE_INIT
596 g_static_private_init
599 g_static_private_free
611 g_static_mutex_get_mutex_impl
612 g_static_mutex_get_mutex_impl_shortcut
614 g_thread_init_with_errorcheck_mutexes
618 g_thread_use_default_impl
619 g_threads_got_initialized
620 g_thread_functions_for_glib_use
627 <TITLE>Thread Pools</TITLE>
628 <FILE>thread_pools</FILE>
632 g_thread_pool_set_max_threads
633 g_thread_pool_get_max_threads
634 g_thread_pool_get_num_threads
635 g_thread_pool_unprocessed
637 g_thread_pool_set_max_unused_threads
638 g_thread_pool_get_max_unused_threads
639 g_thread_pool_get_num_unused_threads
640 g_thread_pool_stop_unused_threads
641 g_thread_pool_set_sort_function
642 g_thread_pool_set_max_idle_time
643 g_thread_pool_get_max_idle_time
647 <TITLE>Asynchronous Queues</TITLE>
648 <FILE>async_queues</FILE>
654 g_async_queue_push_sorted
656 g_async_queue_try_pop
657 g_async_queue_timed_pop
664 g_async_queue_ref_unlocked
665 g_async_queue_unref_and_unlock
666 g_async_queue_push_unlocked
667 g_async_queue_push_sorted_unlocked
668 g_async_queue_pop_unlocked
669 g_async_queue_try_pop_unlocked
670 g_async_queue_timed_pop_unlocked
671 g_async_queue_length_unlocked
672 g_async_queue_sort_unlocked
676 <TITLE>Atomic Operations</TITLE>
677 <FILE>atomic_operations</FILE>g
681 g_atomic_int_exchange_and_add
682 g_atomic_int_compare_and_exchange
685 g_atomic_pointer_compare_and_exchange
687 g_atomic_int_dec_and_test
691 <TITLE>IO Channels</TITLE>
692 <FILE>iochannels</FILE>
696 g_io_channel_unix_new
697 g_io_channel_unix_get_fd
698 g_io_channel_win32_new_fd
699 g_io_channel_win32_new_socket
700 g_io_channel_win32_new_messages
706 g_io_channel_new_file
707 g_io_channel_read_chars
708 g_io_channel_read_unichar
709 g_io_channel_read_line
710 g_io_channel_read_line_string
711 g_io_channel_read_to_end
712 g_io_channel_write_chars
713 g_io_channel_write_unichar
715 g_io_channel_seek_position
717 g_io_channel_shutdown
723 g_io_channel_error_from_errno
740 g_io_channel_get_buffer_size
741 g_io_channel_set_buffer_size
742 g_io_channel_get_buffer_condition
743 g_io_channel_get_flags
744 g_io_channel_set_flags
746 g_io_channel_get_line_term
747 g_io_channel_set_line_term
748 g_io_channel_get_buffered
749 g_io_channel_set_buffered
750 g_io_channel_get_encoding
751 g_io_channel_set_encoding
752 g_io_channel_get_close_on_unref
753 g_io_channel_set_close_on_unref
756 g_io_channel_win32_poll
757 g_io_channel_win32_make_pollfd
758 g_io_channel_win32_get_fd
768 g_io_channel_error_quark
773 <TITLE>Memory Allocation</TITLE>
805 g_mem_is_system_malloc
808 glib_mem_profiler_table
813 <TITLE>Warnings and Assertions</TITLE>
814 <FILE>warnings</FILE>
821 g_set_printerr_handler
827 g_return_val_if_reached
835 g_on_error_stack_trace
841 g_return_if_fail_warning
846 <TITLE>Glob-style pattern matching</TITLE>
847 <FILE>patterns</FILE>
853 g_pattern_match_string
854 g_pattern_match_simple
858 <TITLE>Message Logging</TITLE>
859 <FILE>messages</FILE>
862 G_LOG_LEVEL_USER_SHIFT
878 g_log_set_always_fatal
880 g_log_default_handler
881 g_log_set_default_handler
885 <TITLE>Timers</TITLE>
898 <TITLE>Spawning Processes</TITLE>
904 g_spawn_async_with_pipes
907 g_spawn_command_line_async
908 g_spawn_command_line_sync
915 <TITLE>Simple XML Subset Parser</TITLE>
923 g_markup_printf_escaped
924 g_markup_vprintf_escaped
925 g_markup_parse_context_end_parse
926 g_markup_parse_context_free
927 g_markup_parse_context_get_position
928 g_markup_parse_context_get_element
929 g_markup_parse_context_new
930 g_markup_parse_context_parse
937 <TITLE>Shell-related Utilities</TITLE>
950 <TITLE>Commandline option parser</TITLE>
957 g_option_context_set_summary
958 g_option_context_get_summary
959 g_option_context_set_description
960 g_option_context_get_description
962 g_option_context_set_translate_func
963 g_option_context_set_translation_domain
964 g_option_context_free
965 g_option_context_parse
966 g_option_context_set_help_enabled
967 g_option_context_get_help_enabled
968 g_option_context_set_ignore_unknown_options
969 g_option_context_get_ignore_unknown_options
974 g_option_context_add_main_entries
976 g_option_context_add_group
977 g_option_context_set_main_group
978 g_option_context_get_main_group
981 g_option_group_add_entries
983 g_option_group_set_parse_hooks
985 g_option_group_set_error_hook
986 g_option_group_set_translate_func
987 g_option_group_set_translation_domain
994 <TITLE>File Utilities</TITLE>
995 <FILE>fileutils</FILE>
996 <INCLUDE>glib.h,glib/gstdio.h</INCLUDE>
1000 g_file_error_from_errno
1007 g_mkdir_with_parents
1020 g_mapped_file_get_length
1021 g_mapped_file_get_contents
1039 <SUBSECTION Private>
1045 <TITLE>String Utility Functions</TITLE>
1046 <FILE>string_utils</FILE>
1047 <INCLUDE>glib.h,glib/gprintf.h</INCLUDE>
1075 g_printf_string_upper_bound
1092 g_ascii_xdigit_value
1123 G_ASCII_DTOSTR_BUF_SIZE
1152 <SUBSECTION Private>
1157 <TITLE>Date and Time Functions</TITLE>
1164 g_time_val_from_iso8601
1165 g_time_val_to_iso8601
1201 g_date_subtract_days
1203 g_date_subtract_months
1205 g_date_subtract_years
1217 g_date_get_day_of_year
1220 g_date_get_days_in_month
1221 g_date_is_first_of_month
1222 g_date_is_last_of_month
1224 g_date_get_monday_week_of_year
1225 g_date_get_monday_weeks_in_year
1226 g_date_get_sunday_week_of_year
1227 g_date_get_sunday_weeks_in_year
1228 g_date_get_iso8601_week_of_year
1241 g_date_valid_weekday
1243 <SUBSECTION Private>
1250 g_date_monday_week_of_year
1251 g_date_sunday_week_of_year
1252 g_date_days_in_month
1253 g_date_monday_weeks_in_year
1254 g_date_sunday_weeks_in_year
1259 <TITLE>Hook Functions</TITLE>
1270 g_hook_list_invoke_check
1273 g_hook_list_marshal_check
1274 GHookCheckMarshaller
1281 g_hook_insert_before
1282 g_hook_insert_sorted
1292 g_hook_find_func_data
1300 G_HOOK_FLAG_USER_SHIFT
1319 <TITLE>Miscellaneous Utility Functions</TITLE>
1320 <FILE>misc_utils</FILE>
1321 g_get_application_name
1322 g_set_application_name
1331 g_get_user_cache_dir
1333 g_get_user_config_dir
1334 g_get_system_data_dirs
1335 g_get_system_config_dirs
1354 g_find_program_in_path
1362 g_spaced_primes_closest
1368 g_parse_debug_string
1381 <SUBSECTION Private>
1384 g_win32_get_system_data_dirs_for_module
1390 <TITLE>Lexical Scanner</TITLE>
1391 <FILE>scanner</FILE>
1397 g_scanner_input_file
1398 g_scanner_sync_file_offset
1399 g_scanner_input_text
1400 g_scanner_peek_next_token
1401 g_scanner_get_next_token
1405 g_scanner_cur_position
1412 g_scanner_scope_add_symbol
1413 g_scanner_scope_foreach_symbol
1414 g_scanner_scope_lookup_symbol
1415 g_scanner_scope_remove_symbol
1418 g_scanner_freeze_symbol_table
1419 g_scanner_thaw_symbol_table
1420 g_scanner_lookup_symbol
1425 g_scanner_unexp_token
1442 g_scanner_add_symbol
1443 g_scanner_remove_symbol
1444 g_scanner_foreach_symbol
1448 <TITLE>Key-value file parser</TITLE>
1449 <FILE>keyfile</FILE>
1456 g_key_file_set_list_separator
1457 g_key_file_load_from_file
1458 g_key_file_load_from_data
1459 g_key_file_load_from_data_dirs
1461 g_key_file_get_start_group
1462 g_key_file_get_groups
1464 g_key_file_has_group
1468 g_key_file_get_value
1469 g_key_file_get_string
1470 g_key_file_get_locale_string
1471 g_key_file_get_boolean
1472 g_key_file_get_integer
1473 g_key_file_get_double
1474 g_key_file_get_string_list
1475 g_key_file_get_locale_string_list
1476 g_key_file_get_boolean_list
1477 g_key_file_get_integer_list
1478 g_key_file_get_double_list
1479 g_key_file_get_comment
1482 g_key_file_set_value
1483 g_key_file_set_string
1484 g_key_file_set_locale_string
1485 g_key_file_set_boolean
1486 g_key_file_set_integer
1487 g_key_file_set_double
1488 g_key_file_set_string_list
1489 g_key_file_set_locale_string_list
1490 g_key_file_set_boolean_list
1491 g_key_file_set_integer_list
1492 g_key_file_set_double_list
1493 g_key_file_set_comment
1494 g_key_file_remove_group
1495 g_key_file_remove_key
1496 g_key_file_remove_comment
1498 <SUBSECTION Private>
1499 g_key_file_error_quark
1503 <TITLE>Bookmark file parser</TITLE>
1504 <FILE>bookmarkfile</FILE>
1506 G_BOOKMARK_FILE_ERROR
1509 g_bookmark_file_free
1510 g_bookmark_file_load_from_file
1511 g_bookmark_file_load_from_data
1512 g_bookmark_file_load_from_data_dirs
1513 g_bookmark_file_to_data
1514 g_bookmark_file_to_file
1515 g_bookmark_file_has_item
1516 g_bookmark_file_has_group
1517 g_bookmark_file_has_application
1518 g_bookmark_file_get_size
1519 g_bookmark_file_get_uris G_GNUC_MALLOC
1522 g_bookmark_file_get_title
1523 g_bookmark_file_get_description
1524 g_bookmark_file_get_mime_type
1525 g_bookmark_file_get_is_private
1526 g_bookmark_file_get_icon
1527 g_bookmark_file_get_added
1528 g_bookmark_file_get_modified
1529 g_bookmark_file_get_visited
1530 g_bookmark_file_get_groups
1531 g_bookmark_file_get_applications
1532 g_bookmark_file_get_app_info
1535 g_bookmark_file_set_title
1536 g_bookmark_file_set_description
1537 g_bookmark_file_set_mime_type
1538 g_bookmark_file_set_is_private
1539 g_bookmark_file_set_icon
1540 g_bookmark_file_set_added
1541 g_bookmark_file_set_groups
1542 g_bookmark_file_set_modified
1543 g_bookmark_file_set_visited
1544 g_bookmark_file_set_app_info
1545 g_bookmark_file_add_group
1546 g_bookmark_file_add_application
1547 g_bookmark_file_remove_group
1548 g_bookmark_file_remove_application
1549 g_bookmark_file_remove_item
1550 g_bookmark_file_move_item
1552 <SUBSECTION Private>
1553 g_bookmark_file_error_quark
1557 <TITLE>Dynamic Loading of Modules</TITLE>
1558 <FILE>modules</FILE>
1559 <INCLUDE>gmodule.h</INCLUDE>
1567 g_module_make_resident
1579 <TITLE>Automatic String Completion</TITLE>
1580 <FILE>completion</FILE>
1584 g_completion_add_items
1585 g_completion_remove_items
1586 g_completion_clear_items
1587 g_completion_complete
1588 g_completion_complete_utf8
1589 g_completion_set_compare
1590 GCompletionStrncmpFunc
1595 <TITLE>Windows Compatibility Functions</TITLE>
1596 <FILE>windows</FILE>
1600 g_win32_error_message
1602 g_win32_get_package_installation_directory
1603 g_win32_get_package_installation_subdirectory
1604 g_win32_get_windows_version
1605 g_win32_locale_filename_from_utf8
1606 G_WIN32_DLLMAIN_FOR_DLL_NAME
1607 G_WIN32_HAVE_WIDECHAR_API
1610 <SUBSECTION Private>
1618 <TITLE>Memory Chunks</TITLE>
1619 <FILE>memory_chunks</FILE>
1649 <TITLE>Memory Slices</TITLE>
1650 <FILE>memory_slices</FILE>
1654 g_slice_free_chain_with_offset
1662 <SUBSECTION Private>
1666 g_slice_get_config_state
1670 <TITLE>Doubly-Linked Lists</TITLE>
1671 <FILE>linked_lists_double</FILE>
1678 g_list_insert_before
1679 g_list_insert_sorted
1697 g_list_insert_sorted_with_data
1698 g_list_sort_with_data
1720 g_list_push_allocator
1721 g_list_pop_allocator
1725 <TITLE>Singly-Linked Lists</TITLE>
1726 <FILE>linked_lists_single</FILE>
1734 g_slist_insert_before
1735 g_slist_insert_sorted
1748 g_slist_insert_sorted_with_data
1750 g_slist_sort_with_data
1767 g_slist_push_allocator
1768 g_slist_pop_allocator
1772 <TITLE>Double-ended Queues</TITLE>
1798 g_queue_insert_before
1799 g_queue_insert_after
1800 g_queue_insert_sorted
1801 g_queue_push_head_link
1802 g_queue_push_tail_link
1803 g_queue_push_nth_link
1804 g_queue_pop_head_link
1805 g_queue_pop_tail_link
1806 g_queue_pop_nth_link
1807 g_queue_peek_head_link
1808 g_queue_peek_tail_link
1809 g_queue_peek_nth_link
1816 <TITLE>Trash Stacks</TITLE>
1817 <FILE>trash_stack</FILE>
1823 g_trash_stack_height
1827 <TITLE>Hash Tables</TITLE>
1828 <FILE>hash_tables</FILE>
1831 g_hash_table_new_full
1835 g_hash_table_replace
1838 g_hash_table_lookup_extended
1839 g_hash_table_foreach
1844 g_hash_table_foreach_remove
1845 g_hash_table_foreach_steal
1849 g_hash_table_destroy
1864 <TITLE>Strings</TITLE>
1865 <FILE>strings</FILE>
1874 g_string_append_printf
1877 g_string_append_unichar
1881 g_string_prepend_unichar
1882 g_string_prepend_len
1885 g_string_insert_unichar
1903 <TITLE>String Chunks</TITLE>
1904 <FILE>string_chunks</FILE>
1907 g_string_chunk_insert
1908 g_string_chunk_insert_const
1909 g_string_chunk_insert_len
1915 <TITLE>Arrays</TITLE>
1923 g_array_prepend_vals
1926 g_array_remove_index
1927 g_array_remove_index_fast
1928 g_array_remove_range
1930 g_array_sort_with_data
1937 <TITLE>Pointer Arrays</TITLE>
1938 <FILE>arrays_pointer</FILE>
1941 g_ptr_array_sized_new
1944 g_ptr_array_remove_index
1945 g_ptr_array_remove_fast
1946 g_ptr_array_remove_index_fast
1947 g_ptr_array_remove_range
1949 g_ptr_array_sort_with_data
1950 g_ptr_array_set_size
1958 <TITLE>Byte Arrays</TITLE>
1959 <FILE>arrays_byte</FILE>
1962 g_byte_array_sized_new
1964 g_byte_array_prepend
1965 g_byte_array_remove_index
1966 g_byte_array_remove_index_fast
1967 g_byte_array_remove_range
1969 g_byte_array_sort_with_data
1970 g_byte_array_set_size
1976 <TITLE>Balanced Binary Trees</TITLE>
1977 <FILE>trees-binary</FILE>
1980 g_tree_new_with_data
1987 g_tree_lookup_extended
1999 <TITLE>N-ary Trees</TITLE>
2000 <FILE>trees-nary</FILE>
2009 g_node_insert_before
2016 g_node_insert_data_before
2021 g_node_reverse_children
2025 g_node_children_foreach
2033 g_node_child_position
2037 g_node_first_sibling
2056 g_node_push_allocator
2057 g_node_pop_allocator
2062 <TITLE>Quarks</TITLE>
2066 g_quark_from_static_string
2070 g_intern_static_string
2074 <TITLE>Keyed Data Lists</TITLE>
2075 <FILE>datalist</FILE>
2080 g_datalist_id_set_data
2081 g_datalist_id_set_data_full
2082 g_datalist_id_get_data
2083 g_datalist_id_remove_data
2084 g_datalist_id_remove_no_notify
2088 g_datalist_set_data_full
2090 g_datalist_remove_data
2091 g_datalist_remove_no_notify
2096 g_datalist_set_flags
2097 g_datalist_unset_flags
2098 g_datalist_get_flags
2099 G_DATALIST_FLAGS_MASK
2104 <TITLE>Datasets</TITLE>
2105 <FILE>datasets</FILE>
2106 g_dataset_id_set_data
2107 g_dataset_id_set_data_full
2109 g_dataset_id_get_data
2110 g_dataset_id_remove_data
2111 g_dataset_id_remove_no_notify
2115 g_dataset_set_data_full
2117 g_dataset_remove_data
2118 g_dataset_remove_no_notify
2128 <TITLE>Relations and Tuples</TITLE>
2129 <FILE>relations</FILE>
2150 <TITLE>Caches</TITLE>
2160 g_cache_value_foreach
2169 <TITLE>Memory Allocators</TITLE>
2170 <FILE>allocators</FILE>
2175 <SUBSECTION Private>
2182 <TITLE>Random Numbers</TITLE>
2183 <FILE>random_numbers</FILE>
2185 g_rand_new_with_seed
2186 g_rand_new_with_seed_array
2191 g_rand_set_seed_array
2202 g_random_double_range
2206 <TITLE>Character Set Conversion</TITLE>
2207 <FILE>conversions</FILE>
2209 g_convert_with_fallback
2211 g_convert_with_iconv
2218 g_filename_from_utf8
2221 g_get_filename_charsets
2222 g_filename_display_name
2223 g_filename_display_basename
2224 g_uri_list_extract_uris
2231 <SUBSECTION Private>
2232 g_convert_error_quark
2236 <TITLE>Unicode Manipulation</TITLE>
2237 <FILE>unicode</FILE>
2257 g_unichar_iswide_cjk
2261 g_unichar_digit_value
2262 g_unichar_xdigit_value
2266 g_unichar_break_type
2267 g_unicode_canonical_ordering
2268 g_unicode_canonical_decomposition
2269 g_unichar_get_mirror_char
2274 g_utf8_get_char_validated
2275 g_utf8_offset_to_pointer
2276 g_utf8_pointer_to_offset
2278 g_utf8_find_next_char
2279 g_utf8_find_prev_char
2295 g_utf8_collate_key_for_filename
2311 <INCLUDE>glib.h,glib/gi18n.h</INCLUDE>
2317 g_get_language_names
2321 <TITLE>Base64 Encoding</TITLE>
2323 g_base64_encode_step
2324 g_base64_encode_close
2326 g_base64_decode_step