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
630 g_system_thread_assign
631 g_system_thread_equal
632 g_system_thread_equal_simple
636 <TITLE>Thread Pools</TITLE>
637 <FILE>thread_pools</FILE>
641 g_thread_pool_set_max_threads
642 g_thread_pool_get_max_threads
643 g_thread_pool_get_num_threads
644 g_thread_pool_unprocessed
646 g_thread_pool_set_max_unused_threads
647 g_thread_pool_get_max_unused_threads
648 g_thread_pool_get_num_unused_threads
649 g_thread_pool_stop_unused_threads
650 g_thread_pool_set_sort_function
651 g_thread_pool_set_max_idle_time
652 g_thread_pool_get_max_idle_time
656 <TITLE>Asynchronous Queues</TITLE>
657 <FILE>async_queues</FILE>
663 g_async_queue_push_sorted
665 g_async_queue_try_pop
666 g_async_queue_timed_pop
673 g_async_queue_ref_unlocked
674 g_async_queue_unref_and_unlock
675 g_async_queue_push_unlocked
676 g_async_queue_push_sorted_unlocked
677 g_async_queue_pop_unlocked
678 g_async_queue_try_pop_unlocked
679 g_async_queue_timed_pop_unlocked
680 g_async_queue_length_unlocked
681 g_async_queue_sort_unlocked
685 <TITLE>Atomic Operations</TITLE>
686 <FILE>atomic_operations</FILE>g
690 g_atomic_int_exchange_and_add
691 g_atomic_int_compare_and_exchange
694 g_atomic_pointer_compare_and_exchange
696 g_atomic_int_dec_and_test
700 <TITLE>IO Channels</TITLE>
701 <FILE>iochannels</FILE>
705 g_io_channel_unix_new
706 g_io_channel_unix_get_fd
707 g_io_channel_win32_new_fd
708 g_io_channel_win32_new_socket
709 g_io_channel_win32_new_messages
715 g_io_channel_new_file
716 g_io_channel_read_chars
717 g_io_channel_read_unichar
718 g_io_channel_read_line
719 g_io_channel_read_line_string
720 g_io_channel_read_to_end
721 g_io_channel_write_chars
722 g_io_channel_write_unichar
724 g_io_channel_seek_position
726 g_io_channel_shutdown
732 g_io_channel_error_from_errno
749 g_io_channel_get_buffer_size
750 g_io_channel_set_buffer_size
751 g_io_channel_get_buffer_condition
752 g_io_channel_get_flags
753 g_io_channel_set_flags
755 g_io_channel_get_line_term
756 g_io_channel_set_line_term
757 g_io_channel_get_buffered
758 g_io_channel_set_buffered
759 g_io_channel_get_encoding
760 g_io_channel_set_encoding
761 g_io_channel_get_close_on_unref
762 g_io_channel_set_close_on_unref
765 g_io_channel_win32_poll
766 g_io_channel_win32_make_pollfd
767 g_io_channel_win32_get_fd
777 g_io_channel_error_quark
782 <TITLE>Memory Allocation</TITLE>
814 g_mem_is_system_malloc
817 glib_mem_profiler_table
822 <TITLE>Warnings and Assertions</TITLE>
823 <FILE>warnings</FILE>
830 g_set_printerr_handler
836 g_return_val_if_reached
844 g_on_error_stack_trace
850 g_return_if_fail_warning
855 <TITLE>Glob-style pattern matching</TITLE>
856 <FILE>patterns</FILE>
862 g_pattern_match_string
863 g_pattern_match_simple
867 <TITLE>Message Logging</TITLE>
868 <FILE>messages</FILE>
871 G_LOG_LEVEL_USER_SHIFT
887 g_log_set_always_fatal
889 g_log_default_handler
890 g_log_set_default_handler
894 <TITLE>Timers</TITLE>
907 <TITLE>Spawning Processes</TITLE>
913 g_spawn_async_with_pipes
916 g_spawn_command_line_async
917 g_spawn_command_line_sync
924 <TITLE>Simple XML Subset Parser</TITLE>
932 g_markup_printf_escaped
933 g_markup_vprintf_escaped
934 g_markup_parse_context_end_parse
935 g_markup_parse_context_free
936 g_markup_parse_context_get_position
937 g_markup_parse_context_get_element
938 g_markup_parse_context_new
939 g_markup_parse_context_parse
946 <TITLE>Shell-related Utilities</TITLE>
959 <TITLE>Commandline option parser</TITLE>
966 g_option_context_set_summary
967 g_option_context_get_summary
968 g_option_context_set_description
969 g_option_context_get_description
971 g_option_context_set_translate_func
972 g_option_context_set_translation_domain
973 g_option_context_free
974 g_option_context_parse
975 g_option_context_set_help_enabled
976 g_option_context_get_help_enabled
977 g_option_context_set_ignore_unknown_options
978 g_option_context_get_ignore_unknown_options
983 g_option_context_add_main_entries
985 g_option_context_add_group
986 g_option_context_set_main_group
987 g_option_context_get_main_group
990 g_option_group_add_entries
992 g_option_group_set_parse_hooks
994 g_option_group_set_error_hook
995 g_option_group_set_translate_func
996 g_option_group_set_translation_domain
1003 <TITLE>File Utilities</TITLE>
1004 <FILE>fileutils</FILE>
1005 <INCLUDE>glib.h,glib/gstdio.h</INCLUDE>
1009 g_file_error_from_errno
1016 g_mkdir_with_parents
1029 g_mapped_file_get_length
1030 g_mapped_file_get_contents
1048 <SUBSECTION Private>
1054 <TITLE>String Utility Functions</TITLE>
1055 <FILE>string_utils</FILE>
1056 <INCLUDE>glib.h,glib/gprintf.h</INCLUDE>
1084 g_printf_string_upper_bound
1101 g_ascii_xdigit_value
1133 G_ASCII_DTOSTR_BUF_SIZE
1162 <SUBSECTION Private>
1167 <TITLE>Date and Time Functions</TITLE>
1174 g_time_val_from_iso8601
1175 g_time_val_to_iso8601
1211 g_date_subtract_days
1213 g_date_subtract_months
1215 g_date_subtract_years
1227 g_date_get_day_of_year
1230 g_date_get_days_in_month
1231 g_date_is_first_of_month
1232 g_date_is_last_of_month
1234 g_date_get_monday_week_of_year
1235 g_date_get_monday_weeks_in_year
1236 g_date_get_sunday_week_of_year
1237 g_date_get_sunday_weeks_in_year
1238 g_date_get_iso8601_week_of_year
1251 g_date_valid_weekday
1253 <SUBSECTION Private>
1260 g_date_monday_week_of_year
1261 g_date_sunday_week_of_year
1262 g_date_days_in_month
1263 g_date_monday_weeks_in_year
1264 g_date_sunday_weeks_in_year
1269 <TITLE>Hook Functions</TITLE>
1280 g_hook_list_invoke_check
1283 g_hook_list_marshal_check
1284 GHookCheckMarshaller
1291 g_hook_insert_before
1292 g_hook_insert_sorted
1302 g_hook_find_func_data
1310 G_HOOK_FLAG_USER_SHIFT
1329 <TITLE>Miscellaneous Utility Functions</TITLE>
1330 <FILE>misc_utils</FILE>
1331 g_get_application_name
1332 g_set_application_name
1341 g_get_user_cache_dir
1343 g_get_user_config_dir
1344 g_get_system_data_dirs
1345 g_get_system_config_dirs
1364 g_find_program_in_path
1372 g_spaced_primes_closest
1378 g_parse_debug_string
1391 <SUBSECTION Private>
1394 g_win32_get_system_data_dirs_for_module
1400 <TITLE>Lexical Scanner</TITLE>
1401 <FILE>scanner</FILE>
1407 g_scanner_input_file
1408 g_scanner_sync_file_offset
1409 g_scanner_input_text
1410 g_scanner_peek_next_token
1411 g_scanner_get_next_token
1415 g_scanner_cur_position
1422 g_scanner_scope_add_symbol
1423 g_scanner_scope_foreach_symbol
1424 g_scanner_scope_lookup_symbol
1425 g_scanner_scope_remove_symbol
1428 g_scanner_freeze_symbol_table
1429 g_scanner_thaw_symbol_table
1430 g_scanner_lookup_symbol
1435 g_scanner_unexp_token
1452 g_scanner_add_symbol
1453 g_scanner_remove_symbol
1454 g_scanner_foreach_symbol
1458 <TITLE>Key-value file parser</TITLE>
1459 <FILE>keyfile</FILE>
1466 g_key_file_set_list_separator
1467 g_key_file_load_from_file
1468 g_key_file_load_from_data
1469 g_key_file_load_from_data_dirs
1471 g_key_file_get_start_group
1472 g_key_file_get_groups
1474 g_key_file_has_group
1478 g_key_file_get_value
1479 g_key_file_get_string
1480 g_key_file_get_locale_string
1481 g_key_file_get_boolean
1482 g_key_file_get_integer
1483 g_key_file_get_double
1484 g_key_file_get_string_list
1485 g_key_file_get_locale_string_list
1486 g_key_file_get_boolean_list
1487 g_key_file_get_integer_list
1488 g_key_file_get_double_list
1489 g_key_file_get_comment
1492 g_key_file_set_value
1493 g_key_file_set_string
1494 g_key_file_set_locale_string
1495 g_key_file_set_boolean
1496 g_key_file_set_integer
1497 g_key_file_set_double
1498 g_key_file_set_string_list
1499 g_key_file_set_locale_string_list
1500 g_key_file_set_boolean_list
1501 g_key_file_set_integer_list
1502 g_key_file_set_double_list
1503 g_key_file_set_comment
1504 g_key_file_remove_group
1505 g_key_file_remove_key
1506 g_key_file_remove_comment
1508 <SUBSECTION Private>
1509 g_key_file_error_quark
1513 <TITLE>Bookmark file parser</TITLE>
1514 <FILE>bookmarkfile</FILE>
1516 G_BOOKMARK_FILE_ERROR
1519 g_bookmark_file_free
1520 g_bookmark_file_load_from_file
1521 g_bookmark_file_load_from_data
1522 g_bookmark_file_load_from_data_dirs
1523 g_bookmark_file_to_data
1524 g_bookmark_file_to_file
1525 g_bookmark_file_has_item
1526 g_bookmark_file_has_group
1527 g_bookmark_file_has_application
1528 g_bookmark_file_get_size
1529 g_bookmark_file_get_uris G_GNUC_MALLOC
1532 g_bookmark_file_get_title
1533 g_bookmark_file_get_description
1534 g_bookmark_file_get_mime_type
1535 g_bookmark_file_get_is_private
1536 g_bookmark_file_get_icon
1537 g_bookmark_file_get_added
1538 g_bookmark_file_get_modified
1539 g_bookmark_file_get_visited
1540 g_bookmark_file_get_groups
1541 g_bookmark_file_get_applications
1542 g_bookmark_file_get_app_info
1545 g_bookmark_file_set_title
1546 g_bookmark_file_set_description
1547 g_bookmark_file_set_mime_type
1548 g_bookmark_file_set_is_private
1549 g_bookmark_file_set_icon
1550 g_bookmark_file_set_added
1551 g_bookmark_file_set_groups
1552 g_bookmark_file_set_modified
1553 g_bookmark_file_set_visited
1554 g_bookmark_file_set_app_info
1555 g_bookmark_file_add_group
1556 g_bookmark_file_add_application
1557 g_bookmark_file_remove_group
1558 g_bookmark_file_remove_application
1559 g_bookmark_file_remove_item
1560 g_bookmark_file_move_item
1562 <SUBSECTION Private>
1563 g_bookmark_file_error_quark
1567 <TITLE>Dynamic Loading of Modules</TITLE>
1568 <FILE>modules</FILE>
1569 <INCLUDE>gmodule.h</INCLUDE>
1577 g_module_make_resident
1589 <TITLE>Automatic String Completion</TITLE>
1590 <FILE>completion</FILE>
1594 g_completion_add_items
1595 g_completion_remove_items
1596 g_completion_clear_items
1597 g_completion_complete
1598 g_completion_complete_utf8
1599 g_completion_set_compare
1600 GCompletionStrncmpFunc
1605 <TITLE>Windows Compatibility Functions</TITLE>
1606 <FILE>windows</FILE>
1610 g_win32_error_message
1612 g_win32_get_package_installation_directory
1613 g_win32_get_package_installation_subdirectory
1614 g_win32_get_windows_version
1615 g_win32_locale_filename_from_utf8
1616 G_WIN32_DLLMAIN_FOR_DLL_NAME
1617 G_WIN32_HAVE_WIDECHAR_API
1620 <SUBSECTION Private>
1628 <TITLE>Memory Chunks</TITLE>
1629 <FILE>memory_chunks</FILE>
1659 <TITLE>Memory Slices</TITLE>
1660 <FILE>memory_slices</FILE>
1664 g_slice_free_chain_with_offset
1672 <SUBSECTION Private>
1676 g_slice_get_config_state
1680 <TITLE>Doubly-Linked Lists</TITLE>
1681 <FILE>linked_lists_double</FILE>
1688 g_list_insert_before
1689 g_list_insert_sorted
1707 g_list_insert_sorted_with_data
1708 g_list_sort_with_data
1730 g_list_push_allocator
1731 g_list_pop_allocator
1735 <TITLE>Singly-Linked Lists</TITLE>
1736 <FILE>linked_lists_single</FILE>
1744 g_slist_insert_before
1745 g_slist_insert_sorted
1758 g_slist_insert_sorted_with_data
1760 g_slist_sort_with_data
1777 g_slist_push_allocator
1778 g_slist_pop_allocator
1782 <TITLE>Double-ended Queues</TITLE>
1811 g_queue_insert_before
1812 g_queue_insert_after
1813 g_queue_insert_sorted
1814 g_queue_push_head_link
1815 g_queue_push_tail_link
1816 g_queue_push_nth_link
1817 g_queue_pop_head_link
1818 g_queue_pop_tail_link
1819 g_queue_pop_nth_link
1820 g_queue_peek_head_link
1821 g_queue_peek_tail_link
1822 g_queue_peek_nth_link
1829 <TITLE>Sequences</TITLE>
1830 <FILE>sequence</FILE>
1834 GSequenceIterCompareFunc
1839 g_sequence_get_length
1841 g_sequence_foreach_range
1843 g_sequence_sort_iter
1846 g_sequence_get_begin_iter
1847 g_sequence_get_end_iter
1848 g_sequence_get_iter_at_pos
1851 g_sequence_insert_before
1854 g_sequence_insert_sorted
1855 g_sequence_insert_sorted_iter
1856 g_sequence_sort_changed
1857 g_sequence_sort_changed_iter
1859 g_sequence_remove_range
1860 g_sequence_move_range
1862 g_sequence_search_iter
1869 g_sequence_iter_is_begin
1870 g_sequence_iter_is_end
1871 g_sequence_iter_next
1872 g_sequence_iter_prev
1873 g_sequence_iter_get_position
1874 g_sequence_iter_move
1875 g_sequence_iter_get_sequence
1878 g_sequence_iter_compare
1879 g_sequence_range_get_midpoint
1883 <TITLE>Trash Stacks</TITLE>
1884 <FILE>trash_stack</FILE>
1890 g_trash_stack_height
1894 <TITLE>Hash Tables</TITLE>
1895 <FILE>hash_tables</FILE>
1898 g_hash_table_new_full
1902 g_hash_table_replace
1905 g_hash_table_lookup_extended
1906 g_hash_table_foreach
1911 g_hash_table_foreach_remove
1912 g_hash_table_foreach_steal
1913 g_hash_table_remove_all
1914 g_hash_table_steal_all
1918 g_hash_table_destroy
1933 <TITLE>Strings</TITLE>
1934 <FILE>strings</FILE>
1943 g_string_append_printf
1946 g_string_append_unichar
1950 g_string_prepend_unichar
1951 g_string_prepend_len
1954 g_string_insert_unichar
1972 <TITLE>String Chunks</TITLE>
1973 <FILE>string_chunks</FILE>
1976 g_string_chunk_insert
1977 g_string_chunk_insert_const
1978 g_string_chunk_insert_len
1979 g_string_chunk_clear
1985 <TITLE>Arrays</TITLE>
1993 g_array_prepend_vals
1996 g_array_remove_index
1997 g_array_remove_index_fast
1998 g_array_remove_range
2000 g_array_sort_with_data
2007 <TITLE>Pointer Arrays</TITLE>
2008 <FILE>arrays_pointer</FILE>
2011 g_ptr_array_sized_new
2014 g_ptr_array_remove_index
2015 g_ptr_array_remove_fast
2016 g_ptr_array_remove_index_fast
2017 g_ptr_array_remove_range
2019 g_ptr_array_sort_with_data
2020 g_ptr_array_set_size
2028 <TITLE>Byte Arrays</TITLE>
2029 <FILE>arrays_byte</FILE>
2032 g_byte_array_sized_new
2034 g_byte_array_prepend
2035 g_byte_array_remove_index
2036 g_byte_array_remove_index_fast
2037 g_byte_array_remove_range
2039 g_byte_array_sort_with_data
2040 g_byte_array_set_size
2046 <TITLE>Balanced Binary Trees</TITLE>
2047 <FILE>trees-binary</FILE>
2050 g_tree_new_with_data
2057 g_tree_lookup_extended
2069 <TITLE>N-ary Trees</TITLE>
2070 <FILE>trees-nary</FILE>
2079 g_node_insert_before
2086 g_node_insert_data_before
2091 g_node_reverse_children
2095 g_node_children_foreach
2103 g_node_child_position
2107 g_node_first_sibling
2126 g_node_push_allocator
2127 g_node_pop_allocator
2132 <TITLE>Quarks</TITLE>
2136 g_quark_from_static_string
2140 g_intern_static_string
2144 <TITLE>Keyed Data Lists</TITLE>
2145 <FILE>datalist</FILE>
2150 g_datalist_id_set_data
2151 g_datalist_id_set_data_full
2152 g_datalist_id_get_data
2153 g_datalist_id_remove_data
2154 g_datalist_id_remove_no_notify
2158 g_datalist_set_data_full
2160 g_datalist_remove_data
2161 g_datalist_remove_no_notify
2166 g_datalist_set_flags
2167 g_datalist_unset_flags
2168 g_datalist_get_flags
2169 G_DATALIST_FLAGS_MASK
2174 <TITLE>Datasets</TITLE>
2175 <FILE>datasets</FILE>
2176 g_dataset_id_set_data
2177 g_dataset_id_set_data_full
2179 g_dataset_id_get_data
2180 g_dataset_id_remove_data
2181 g_dataset_id_remove_no_notify
2185 g_dataset_set_data_full
2187 g_dataset_remove_data
2188 g_dataset_remove_no_notify
2198 <TITLE>Relations and Tuples</TITLE>
2199 <FILE>relations</FILE>
2220 <TITLE>Caches</TITLE>
2230 g_cache_value_foreach
2239 <TITLE>Memory Allocators</TITLE>
2240 <FILE>allocators</FILE>
2245 <SUBSECTION Private>
2252 <TITLE>Random Numbers</TITLE>
2253 <FILE>random_numbers</FILE>
2255 g_rand_new_with_seed
2256 g_rand_new_with_seed_array
2261 g_rand_set_seed_array
2272 g_random_double_range
2276 <TITLE>Character Set Conversion</TITLE>
2277 <FILE>conversions</FILE>
2279 g_convert_with_fallback
2281 g_convert_with_iconv
2288 g_filename_from_utf8
2291 g_get_filename_charsets
2292 g_filename_display_name
2293 g_filename_display_basename
2294 g_uri_list_extract_uris
2301 <SUBSECTION Private>
2302 g_convert_error_quark
2306 <TITLE>Unicode Manipulation</TITLE>
2307 <FILE>unicode</FILE>
2327 g_unichar_iswide_cjk
2328 g_unichar_iszerowidth
2332 g_unichar_digit_value
2333 g_unichar_xdigit_value
2337 g_unichar_break_type
2338 g_unicode_canonical_ordering
2339 g_unicode_canonical_decomposition
2340 g_unichar_get_mirror_char
2342 g_unichar_get_script
2347 g_utf8_get_char_validated
2348 g_utf8_offset_to_pointer
2349 g_utf8_pointer_to_offset
2351 g_utf8_find_next_char
2352 g_utf8_find_prev_char
2368 g_utf8_collate_key_for_filename
2384 <INCLUDE>glib.h,glib/gi18n.h</INCLUDE>
2390 g_get_language_names
2394 <TITLE>Base64 Encoding</TITLE>
2396 g_base64_encode_step
2397 g_base64_encode_close
2399 g_base64_decode_step