1 <INCLUDE>glib.h</INCLUDE>
4 <TITLE>Basic Types</TITLE>
50 <TITLE>Limits of Basic Types</TITLE>
81 <TITLE>Standard Macros</TITLE>
98 G_SEARCHPATH_SEPARATOR
99 G_SEARCHPATH_SEPARATOR_S
136 <TITLE>Type Conversion Macros</TITLE>
137 <FILE>type_conversion</FILE>
149 <TITLE>Byte Order Macros</TITLE>
150 <FILE>byte_order</FILE>
236 GUINT16_SWAP_LE_BE_CONSTANT
237 GUINT16_SWAP_LE_BE_X86
238 GUINT32_SWAP_LE_BE_CONSTANT
239 GUINT32_SWAP_LE_BE_X86
240 GUINT64_SWAP_LE_BE_CONSTANT
241 GUINT64_SWAP_LE_BE_X86
245 <TITLE>Numerical Definitions</TITLE>
246 <FILE>numerical</FILE>
248 G_IEEE754_DOUBLE_BIAS
265 <TITLE>Miscellaneous Macros</TITLE>
266 <FILE>macros_misc</FILE>
296 G_GNUC_PRETTY_FUNCTION
323 <TITLE>Error Reporting</TITLE>
324 <FILE>error_reporting</FILE>
337 <TITLE>The Main Event Loop</TITLE>
345 g_main_loop_is_running
346 g_main_loop_get_context
357 G_PRIORITY_DEFAULT_IDLE
365 g_main_context_default
366 g_main_context_iteration
368 g_main_context_pending
370 g_main_context_find_source_by_id
371 g_main_context_find_source_by_user_data
372 g_main_context_find_source_by_funcs_user_data
373 g_main_context_wakeup
374 g_main_context_acquire
375 g_main_context_release
377 g_main_context_prepare
380 g_main_context_dispatch
381 g_main_context_set_poll_func
382 g_main_context_get_poll_func
384 g_main_context_add_poll
385 g_main_context_remove_poll
397 g_idle_remove_by_data
412 g_source_set_priority
413 g_source_get_priority
414 g_source_set_can_recurse
415 g_source_get_can_recurse
418 g_source_set_callback
420 g_source_set_callback_indirect
423 g_source_get_current_time
425 g_source_remove_by_funcs_user_data
426 g_source_remove_by_user_data
438 g_main_poll_win32_msg_add
445 <TITLE>Threads</TITLE>
450 G_THREADS_IMPL_SOLARIS
470 g_thread_set_priority
487 g_static_mutex_trylock
488 g_static_mutex_unlock
489 g_static_mutex_get_mutex
502 G_STATIC_REC_MUTEX_INIT
503 g_static_rec_mutex_init
504 g_static_rec_mutex_lock
505 g_static_rec_mutex_trylock
506 g_static_rec_mutex_unlock
507 g_static_rec_mutex_lock_full
508 g_static_rec_mutex_unlock_full
509 g_static_rec_mutex_free
513 G_STATIC_RW_LOCK_INIT
514 g_static_rw_lock_init
515 g_static_rw_lock_reader_lock
516 g_static_rw_lock_reader_trylock
517 g_static_rw_lock_reader_unlock
518 g_static_rw_lock_writer_lock
519 g_static_rw_lock_writer_trylock
520 g_static_rw_lock_writer_unlock
521 g_static_rw_lock_free
540 G_STATIC_PRIVATE_INIT
541 g_static_private_init
544 g_static_private_free
550 g_static_mutex_get_mutex_impl
552 g_thread_init_with_errorcheck_mutexes
556 g_thread_use_default_impl
557 g_threads_got_initialized
558 g_thread_functions_for_glib_use
564 <TITLE>Thread Pools</TITLE>
565 <FILE>thread_pools</FILE>
569 g_thread_pool_set_max_threads
570 g_thread_pool_get_max_threads
571 g_thread_pool_get_num_threads
572 g_thread_pool_unprocessed
574 g_thread_pool_set_max_unused_threads
575 g_thread_pool_get_max_unused_threads
576 g_thread_pool_get_num_unused_threads
577 g_thread_pool_stop_unused_threads
581 <TITLE>Asynchronous Queues</TITLE>
582 <FILE>async_queues</FILE>
589 g_async_queue_try_pop
590 g_async_queue_timed_pop
596 g_async_queue_ref_unlocked
597 g_async_queue_unref_and_unlock
598 g_async_queue_push_unlocked
599 g_async_queue_pop_unlocked
600 g_async_queue_try_pop_unlocked
601 g_async_queue_timed_pop_unlocked
602 g_async_queue_length_unlocked
606 <TITLE>IO Channels</TITLE>
607 <FILE>iochannels</FILE>
611 g_io_channel_unix_new
612 g_io_channel_unix_get_fd
618 g_io_channel_new_file
619 g_io_channel_read_chars
620 g_io_channel_read_unichar
621 g_io_channel_read_line
622 g_io_channel_read_line_string
623 g_io_channel_read_to_end
624 g_io_channel_write_chars
625 g_io_channel_write_unichar
627 g_io_channel_seek_position
629 g_io_channel_shutdown
635 g_io_channel_error_from_errno
652 g_io_channel_get_buffer_size
653 g_io_channel_set_buffer_size
654 g_io_channel_get_buffer_condition
655 g_io_channel_get_flags
656 g_io_channel_set_flags
658 g_io_channel_get_line_term
659 g_io_channel_set_line_term
660 g_io_channel_get_buffered
661 g_io_channel_set_buffered
662 g_io_channel_get_encoding
663 g_io_channel_set_encoding
664 g_io_channel_get_close_on_unref
665 g_io_channel_set_close_on_unref
668 g_io_channel_win32_new_fd
669 g_io_channel_win32_new_messages
670 g_io_channel_win32_new_socket
671 g_io_channel_win32_poll
672 g_io_channel_win32_make_pollfd
673 g_io_channel_win32_get_fd
683 g_io_channel_error_quark
688 <TITLE>Memory Allocation</TITLE>
715 g_mem_is_system_malloc
718 glib_mem_profiler_table
723 <TITLE>Warnings and Assertions</TITLE>
724 <FILE>warnings</FILE>
731 g_set_printerr_handler
737 g_return_val_if_reached
745 g_on_error_stack_trace
752 <TITLE>Glob-style pattern matching</TITLE>
753 <FILE>patterns</FILE>
759 g_pattern_match_string
760 g_pattern_match_simple
764 <TITLE>Message Logging</TITLE>
765 <FILE>messages</FILE>
768 G_LOG_LEVEL_USER_SHIFT
783 g_log_set_always_fatal
785 g_log_default_handler
789 <TITLE>Timers</TITLE>
801 <TITLE>Spawning Processes</TITLE>
807 g_spawn_async_with_pipes
810 g_spawn_command_line_async
811 g_spawn_command_line_sync
817 <TITLE>Simple XML Subset Parser</TITLE>
825 g_markup_parse_context_end_parse
826 g_markup_parse_context_free
827 g_markup_parse_context_get_position
828 g_markup_parse_context_new
829 g_markup_parse_context_parse
836 <TITLE>Shell-related Utilities</TITLE>
849 <TITLE>File Utilities</TITLE>
850 <FILE>fileutils</FILE>
854 g_file_error_from_errno
873 <TITLE>String Utility Functions</TITLE>
874 <FILE>string_utils</FILE>
893 g_printf_string_upper_bound
940 G_ASCII_DTOSTR_BUF_SIZE
972 <TITLE>Date and Time Functions</TITLE>
1012 g_date_subtract_days
1014 g_date_subtract_months
1016 g_date_subtract_years
1028 g_date_get_day_of_year
1031 g_date_get_days_in_month
1032 g_date_is_first_of_month
1033 g_date_is_last_of_month
1035 g_date_get_monday_week_of_year
1036 g_date_get_monday_weeks_in_year
1037 g_date_get_sunday_week_of_year
1038 g_date_get_sunday_weeks_in_year
1051 g_date_valid_weekday
1053 <SUBSECTION Private>
1060 g_date_monday_week_of_year
1061 g_date_sunday_week_of_year
1062 g_date_days_in_month
1063 g_date_monday_weeks_in_year
1064 g_date_sunday_weeks_in_year
1068 <TITLE>Hook Functions</TITLE>
1079 g_hook_list_invoke_check
1082 g_hook_list_marshal_check
1083 GHookCheckMarshaller
1090 g_hook_insert_before
1091 g_hook_insert_sorted
1101 g_hook_find_func_data
1109 G_HOOK_FLAG_USER_SHIFT
1128 <TITLE>Miscellaneous Utility Functions</TITLE>
1129 <FILE>misc_utils</FILE>
1150 g_find_program_in_path
1158 g_spaced_primes_closest
1164 g_parse_debug_string
1177 <SUBSECTION Private>
1185 <TITLE>Lexical Scanner</TITLE>
1186 <FILE>scanner</FILE>
1192 g_scanner_input_file
1193 g_scanner_sync_file_offset
1194 g_scanner_input_text
1195 g_scanner_peek_next_token
1196 g_scanner_get_next_token
1200 g_scanner_cur_position
1207 g_scanner_scope_add_symbol
1208 g_scanner_scope_foreach_symbol
1209 g_scanner_scope_lookup_symbol
1210 g_scanner_scope_remove_symbol
1213 g_scanner_freeze_symbol_table
1214 g_scanner_thaw_symbol_table
1215 g_scanner_lookup_symbol
1220 g_scanner_unexp_token
1237 g_scanner_add_symbol
1238 g_scanner_remove_symbol
1239 g_scanner_foreach_symbol
1243 <TITLE>Dynamic Loading of Modules</TITLE>
1244 <FILE>modules</FILE>
1245 <INCLUDE>gmodule.h</INCLUDE>
1253 g_module_make_resident
1265 <TITLE>Automatic String Completion</TITLE>
1266 <FILE>completion</FILE>
1270 g_completion_add_items
1271 g_completion_remove_items
1272 g_completion_clear_items
1273 g_completion_complete
1274 g_completion_set_compare
1275 GCompletionStrncmpFunc
1280 <TITLE>Windows Compatability Functions</TITLE>
1281 <FILE>windows</FILE>
1287 g_win32_error_message
1289 g_win32_get_package_installation_directory
1290 g_win32_get_package_installation_subdirectory
1292 G_WIN32_DLLMAIN_FOR_DLL_NAME
1294 <SUBSECTION Private>
1302 <TITLE>Memory Chunks</TITLE>
1303 <FILE>memory_chunks</FILE>
1333 <TITLE>Doubly-Linked Lists</TITLE>
1334 <FILE>linked_lists_double</FILE>
1341 g_list_insert_before
1342 g_list_insert_sorted
1359 g_list_sort_with_data
1381 g_list_push_allocator
1382 g_list_pop_allocator
1386 <TITLE>Singly-Linked Lists</TITLE>
1387 <FILE>linked_lists_single</FILE>
1395 g_slist_insert_before
1396 g_slist_insert_sorted
1409 g_slist_sort_with_data
1426 g_slist_push_allocator
1427 g_slist_pop_allocator
1431 <TITLE>Double-ended Queues</TITLE>
1444 g_queue_push_head_link
1445 g_queue_push_tail_link
1446 g_queue_pop_head_link
1447 g_queue_pop_tail_link
1451 <TITLE>Trash Stacks</TITLE>
1452 <FILE>trash_stack</FILE>
1458 g_trash_stack_height
1462 <TITLE>Hash Tables</TITLE>
1463 <FILE>hash_tables</FILE>
1466 g_hash_table_new_full
1470 g_hash_table_replace
1473 g_hash_table_lookup_extended
1474 g_hash_table_foreach
1478 g_hash_table_foreach_remove
1479 g_hash_table_foreach_steal
1483 g_hash_table_destroy
1496 <TITLE>Strings</TITLE>
1497 <FILE>strings</FILE>
1506 g_string_append_printf
1509 g_string_append_unichar
1513 g_string_prepend_unichar
1514 g_string_prepend_len
1517 g_string_insert_unichar
1535 <TITLE>String Chunks</TITLE>
1536 <FILE>string_chunks</FILE>
1539 g_string_chunk_insert
1540 g_string_chunk_insert_const
1546 <TITLE>Arrays</TITLE>
1554 g_array_prepend_vals
1557 g_array_remove_index
1558 g_array_remove_index_fast
1560 g_array_sort_with_data
1567 <TITLE>Pointer Arrays</TITLE>
1568 <FILE>arrays_pointer</FILE>
1571 g_ptr_array_sized_new
1574 g_ptr_array_remove_index
1575 g_ptr_array_remove_fast
1576 g_ptr_array_remove_index_fast
1578 g_ptr_array_sort_with_data
1579 g_ptr_array_set_size
1586 <TITLE>Byte Arrays</TITLE>
1587 <FILE>arrays_byte</FILE>
1590 g_byte_array_sized_new
1592 g_byte_array_prepend
1593 g_byte_array_remove_index
1594 g_byte_array_remove_index_fast
1596 g_byte_array_sort_with_data
1597 g_byte_array_set_size
1603 <TITLE>Balanced Binary Trees</TITLE>
1604 <FILE>trees-binary</FILE>
1607 g_tree_new_with_data
1614 g_tree_lookup_extended
1626 <TITLE>N-ary Trees</TITLE>
1627 <FILE>trees-nary</FILE>
1634 g_node_insert_before
1641 g_node_insert_data_before
1646 g_node_reverse_children
1650 g_node_children_foreach
1658 g_node_child_position
1662 g_node_first_sibling
1681 g_node_push_allocator
1682 g_node_pop_allocator
1687 <TITLE>Quarks</TITLE>
1691 g_quark_from_static_string
1698 <TITLE>Keyed Data Lists</TITLE>
1699 <FILE>datalist</FILE>
1704 g_datalist_id_set_data
1705 g_datalist_id_set_data_full
1706 g_datalist_id_get_data
1707 g_datalist_id_remove_data
1708 g_datalist_id_remove_no_notify
1712 g_datalist_set_data_full
1714 g_datalist_remove_data
1715 g_datalist_remove_no_notify
1724 <TITLE>Datasets</TITLE>
1725 <FILE>datasets</FILE>
1726 g_dataset_id_set_data
1727 g_dataset_id_set_data_full
1729 g_dataset_id_get_data
1730 g_dataset_id_remove_data
1731 g_dataset_id_remove_no_notify
1735 g_dataset_set_data_full
1737 g_dataset_remove_data
1738 g_dataset_remove_no_notify
1748 <TITLE>Relations and Tuples</TITLE>
1749 <FILE>relations</FILE>
1770 <TITLE>Caches</TITLE>
1780 g_cache_value_foreach
1789 <TITLE>Memory Allocators</TITLE>
1790 <FILE>allocators</FILE>
1795 <SUBSECTION Private>
1802 <TITLE>Random Numbers</TITLE>
1803 <FILE>random_numbers</FILE>
1805 g_rand_new_with_seed
1819 g_random_double_range
1823 <TITLE>Character Set Conversion</TITLE>
1824 <FILE>conversions</FILE>
1826 g_convert_with_fallback
1827 g_convert_with_iconv
1834 g_filename_from_utf8
1839 <SUBSECTION Private>
1840 g_convert_error_quark
1844 <TITLE>Unicode Manipulation</TITLE>
1845 <FILE>unicode</FILE>
1871 g_unichar_digit_value
1872 g_unichar_xdigit_value
1876 g_unichar_break_type
1877 g_unicode_canonical_ordering
1878 g_unicode_canonical_decomposition
1883 g_utf8_get_char_validated
1884 g_utf8_offset_to_pointer
1885 g_utf8_pointer_to_offset
1887 g_utf8_find_next_char
1888 g_utf8_find_prev_char