15.2. Interfaces for libglib-2.0

Table 15-1 defines the library name and shared object name for the libglib-2.0 library

Table 15-1. libglib-2.0 Definition

Library:libglib-2.0
SONAME:libglib-2.0.so.0

The behavior of the interfaces in this library is specified by the following specifications:

[Glib] Glib 2.6.2 Reference Manual

15.2.1. GTK General purpose utility library

15.2.1.1. Interfaces for GTK General purpose utility library

An LSB conforming implementation shall provide the generic functions for GTK General purpose utility library specified in Table 15-2, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-2. libglib-2.0 - GTK General purpose utility library Function Interfaces

g_assert_warning [Glib]g_once_impl [Glib]
g_return_if_fail_warning [Glib]g_static_mutex_get_mutex_impl [Glib]

An LSB conforming implementation shall provide the generic data interfaces for GTK General purpose utility library specified in Table 15-3, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-3. libglib-2.0 - GTK General purpose utility library Data Interfaces

g_ascii_table [Glib]g_child_watch_funcs [Glib]
g_idle_funcs [Glib]g_io_watch_funcs [Glib]
g_thread_functions_for_glib_use [Glib]g_thread_use_default_impl [Glib]
g_threads_got_initialized [Glib]g_timeout_funcs [Glib]
g_utf8_skip [Glib] 

15.2.2. Glib Arrays

15.2.2.1. Interfaces for Glib Arrays

An LSB conforming implementation shall provide the generic functions for Glib Arrays specified in Table 15-4, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-4. libglib-2.0 - Glib Arrays Function Interfaces

g_array_append_vals [Glib]g_array_free [Glib]
g_array_insert_vals [Glib]g_array_new [Glib]
g_array_prepend_vals [Glib]g_array_remove_index [Glib]
g_array_remove_index_fast [Glib]g_array_remove_range [Glib]
g_array_set_size [Glib]g_array_sized_new [Glib]
g_array_sort [Glib]g_array_sort_with_data [Glib]

15.2.3. Glib Asynchronous Queues

15.2.3.1. Interfaces for Glib Asynchronous Queues

An LSB conforming implementation shall provide the generic functions for Glib Asynchronous Queues specified in Table 15-5, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-5. libglib-2.0 - Glib Asynchronous Queues Function Interfaces

g_async_queue_length [Glib]g_async_queue_length_unlocked [Glib]
g_async_queue_lock [Glib]g_async_queue_new [Glib]
g_async_queue_pop [Glib]g_async_queue_pop_unlocked [Glib]
g_async_queue_push [Glib]g_async_queue_push_unlocked [Glib]
g_async_queue_ref [Glib]g_async_queue_timed_pop [Glib]
g_async_queue_timed_pop_unlocked [Glib]g_async_queue_try_pop [Glib]
g_async_queue_try_pop_unlocked [Glib]g_async_queue_unlock [Glib]
g_async_queue_unref [Glib] 

15.2.4. Glib Atomic Operations

15.2.4.1. Interfaces for Glib Atomic Operations

An LSB conforming implementation shall provide the generic functions for Glib Atomic Operations specified in Table 15-6, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-6. libglib-2.0 - Glib Atomic Operations Function Interfaces

g_atomic_int_add [Glib]g_atomic_int_compare_and_exchange [Glib]
g_atomic_int_exchange_and_add [Glib]g_atomic_pointer_compare_and_exchange [Glib]

15.2.5. Glib Automatic String Completion

15.2.5.1. Interfaces for Glib Automatic String Completion

An LSB conforming implementation shall provide the generic functions for Glib Automatic String Completion specified in Table 15-7, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-7. libglib-2.0 - Glib Automatic String Completion Function Interfaces

g_completion_add_items [Glib]g_completion_clear_items [Glib]
g_completion_complete [Glib]g_completion_complete_utf8 [Glib]
g_completion_free [Glib]g_completion_new [Glib]
g_completion_remove_items [Glib]g_completion_set_compare [Glib]

15.2.6. Glib Balanced Binary Trees

15.2.6.1. Interfaces for Glib Balanced Binary Trees

An LSB conforming implementation shall provide the generic functions for Glib Balanced Binary Trees specified in Table 15-8, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-8. libglib-2.0 - Glib Balanced Binary Trees Function Interfaces

g_tree_destroy [Glib]g_tree_foreach [Glib]
g_tree_height [Glib]g_tree_insert [Glib]
g_tree_lookup [Glib]g_tree_lookup_extended [Glib]
g_tree_new [Glib]g_tree_new_full [Glib]
g_tree_new_with_data [Glib]g_tree_nnodes [Glib]
g_tree_remove [Glib]g_tree_replace [Glib]
g_tree_search [Glib]g_tree_steal [Glib]

15.2.7. Glib Byte Arrays

15.2.7.1. Interfaces for Glib Byte Arrays

An LSB conforming implementation shall provide the generic functions for Glib Byte Arrays specified in Table 15-9, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-9. libglib-2.0 - Glib Byte Arrays Function Interfaces

g_byte_array_append [Glib]g_byte_array_free [Glib]
g_byte_array_new [Glib]g_byte_array_prepend [Glib]
g_byte_array_remove_index [Glib]g_byte_array_remove_index_fast [Glib]
g_byte_array_remove_range [Glib]g_byte_array_set_size [Glib]
g_byte_array_sized_new [Glib]g_byte_array_sort [Glib]
g_byte_array_sort_with_data [Glib] 

15.2.8. Glib Caches

15.2.8.1. Interfaces for Glib Caches

An LSB conforming implementation shall provide the generic functions for Glib Caches specified in Table 15-10, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-10. libglib-2.0 - Glib Caches Function Interfaces

g_cache_destroy [Glib]g_cache_insert [Glib]
g_cache_key_foreach [Glib]g_cache_new [Glib]
g_cache_remove [Glib]g_cache_value_foreach [Glib]

An LSB conforming implementation shall provide the generic deprecated functions for Glib Caches specified in Table 15-11, with the full mandatory functionality as described in the referenced underlying specification.

Note: These interfaces are deprecated, and applications should avoid using them. These interfaces may be withdrawn in future releases of this specification.

Table 15-11. libglib-2.0 - Glib Caches Deprecated Function Interfaces

g_cache_value_foreach [Glib] 

15.2.9. Glib Character Set Conversion

15.2.9.1. Interfaces for Glib Character Set Conversion

An LSB conforming implementation shall provide the generic functions for Glib Character Set Conversion specified in Table 15-12, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-12. libglib-2.0 - Glib Character Set Conversion Function Interfaces

g_convert [Glib]g_convert_error_quark [Glib]
g_convert_with_fallback [Glib]g_convert_with_iconv [Glib]
g_filename_display_basename [Glib]g_filename_display_name [Glib]
g_filename_from_uri [Glib]g_filename_from_utf8 [Glib]
g_filename_to_uri [Glib]g_filename_to_utf8 [Glib]
g_get_charset [Glib]g_get_filename_charsets [Glib]
g_iconv [Glib]g_iconv_close [Glib]
g_iconv_open [Glib]g_locale_from_utf8 [Glib]
g_locale_to_utf8 [Glib]g_uri_list_extract_uris [Glib]

15.2.10. Glib Commandline Option Parser

15.2.10.1. Interfaces for Glib Commandline Option Parser

An LSB conforming implementation shall provide the generic functions for Glib Commandline Option Parser specified in Table 15-13, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-13. libglib-2.0 - Glib Commandline Option Parser Function Interfaces

g_option_context_add_group [Glib]g_option_context_add_main_entries [Glib]
g_option_context_free [Glib]g_option_context_get_help_enabled [Glib]
g_option_context_get_ignore_unknown_options [Glib]g_option_context_get_main_group [Glib]
g_option_context_new [Glib]g_option_context_parse [Glib]
g_option_context_set_help_enabled [Glib]g_option_context_set_ignore_unknown_options [Glib]
g_option_context_set_main_group [Glib]g_option_error_quark [Glib]
g_option_group_add_entries [Glib]g_option_group_free [Glib]
g_option_group_new [Glib]g_option_group_set_error_hook [Glib]
g_option_group_set_parse_hooks [Glib]g_option_group_set_translate_func [Glib]
g_option_group_set_translation_domain [Glib] 

15.2.11. Glib Datasets

15.2.11.1. Interfaces for Glib Datasets

An LSB conforming implementation shall provide the generic functions for Glib Datasets specified in Table 15-14, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-14. libglib-2.0 - Glib Datasets Function Interfaces

g_dataset_destroy [Glib]g_dataset_foreach [Glib]
g_dataset_id_get_data [Glib]g_dataset_id_remove_no_notify [Glib]
g_dataset_id_set_data_full [Glib] 

15.2.12. Glib Date and Time Functions

15.2.12.1. Interfaces for Glib Date and Time Functions

An LSB conforming implementation shall provide the generic functions for Glib Date and Time Functions specified in Table 15-15, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-15. libglib-2.0 - Glib Date and Time Functions Function Interfaces

g_date_add_days [Glib]g_date_add_months [Glib]
g_date_add_years [Glib]g_date_clamp [Glib]
g_date_clear [Glib]g_date_compare [Glib]
g_date_days_between [Glib]g_date_free [Glib]
g_date_get_day [Glib]g_date_get_day_of_year [Glib]
g_date_get_days_in_month [Glib]g_date_get_iso8601_week_of_year [Glib]
g_date_get_julian [Glib]g_date_get_monday_week_of_year [Glib]
g_date_get_monday_weeks_in_year [Glib]g_date_get_month [Glib]
g_date_get_sunday_week_of_year [Glib]g_date_get_sunday_weeks_in_year [Glib]
g_date_get_weekday [Glib]g_date_get_year [Glib]
g_date_is_first_of_month [Glib]g_date_is_last_of_month [Glib]
g_date_is_leap_year [Glib]g_date_new [Glib]
g_date_new_dmy [Glib]g_date_new_julian [Glib]
g_date_order [Glib]g_date_set_day [Glib]
g_date_set_dmy [Glib]g_date_set_julian [Glib]
g_date_set_month [Glib]g_date_set_parse [Glib]
g_date_set_time [Glib]g_date_set_year [Glib]
g_date_strftime [Glib]g_date_subtract_days [Glib]
g_date_subtract_months [Glib]g_date_subtract_years [Glib]
g_date_to_struct_tm [Glib]g_date_valid [Glib]
g_date_valid_day [Glib]g_date_valid_dmy [Glib]
g_date_valid_julian [Glib]g_date_valid_month [Glib]
g_date_valid_weekday [Glib]g_date_valid_year [Glib]
g_get_current_time [Glib]g_time_val_add [Glib]
g_usleep [Glib] 

15.2.13. Glib Double-Ended Queues

15.2.13.1. Interfaces for Glib Double-Ended Queues

An LSB conforming implementation shall provide the generic functions for Glib Double-Ended Queues specified in Table 15-16, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-16. libglib-2.0 - Glib Double-Ended Queues Function Interfaces

g_queue_copy [Glib]g_queue_delete_link [Glib]
g_queue_find [Glib]g_queue_find_custom [Glib]
g_queue_foreach [Glib]g_queue_free [Glib]
g_queue_get_length [Glib]g_queue_index [Glib]
g_queue_insert_after [Glib]g_queue_insert_before [Glib]
g_queue_insert_sorted [Glib]g_queue_is_empty [Glib]
g_queue_link_index [Glib]g_queue_new [Glib]
g_queue_peek_head [Glib]g_queue_peek_head_link [Glib]
g_queue_peek_nth [Glib]g_queue_peek_nth_link [Glib]
g_queue_peek_tail [Glib]g_queue_peek_tail_link [Glib]
g_queue_pop_head [Glib]g_queue_pop_head_link [Glib]
g_queue_pop_nth [Glib]g_queue_pop_nth_link [Glib]
g_queue_pop_tail [Glib]g_queue_pop_tail_link [Glib]
g_queue_push_head [Glib]g_queue_push_head_link [Glib]
g_queue_push_nth [Glib]g_queue_push_nth_link [Glib]
g_queue_push_tail [Glib]g_queue_push_tail_link [Glib]
g_queue_remove [Glib]g_queue_remove_all [Glib]
g_queue_reverse [Glib]g_queue_sort [Glib]
g_queue_unlink [Glib] 

15.2.14. Glib Doubly-Linked Lists

15.2.14.1. Interfaces for Glib Doubly-Linked Lists

An LSB conforming implementation shall provide the generic functions for Glib Doubly-Linked Lists specified in Table 15-17, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-17. libglib-2.0 - Glib Doubly-Linked Lists Function Interfaces

g_list_alloc [Glib]g_list_append [Glib]
g_list_concat [Glib]g_list_copy [Glib]
g_list_delete_link [Glib]g_list_find [Glib]
g_list_find_custom [Glib]g_list_first [Glib]
g_list_foreach [Glib]g_list_free [Glib]
g_list_free_1 [Glib]g_list_index [Glib]
g_list_insert [Glib]g_list_insert_before [Glib]
g_list_insert_sorted [Glib]g_list_last [Glib]
g_list_length [Glib]g_list_nth [Glib]
g_list_nth_data [Glib]g_list_nth_prev [Glib]
g_list_pop_allocator [Glib]g_list_position [Glib]
g_list_prepend [Glib]g_list_push_allocator [Glib]
g_list_remove [Glib]g_list_remove_all [Glib]
g_list_remove_link [Glib]g_list_reverse [Glib]
g_list_sort [Glib]g_list_sort_with_data [Glib]

15.2.15. Glib Error Reporting

15.2.15.1. Interfaces for Glib Error Reporting

An LSB conforming implementation shall provide the generic functions for Glib Error Reporting specified in Table 15-18, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-18. libglib-2.0 - Glib Error Reporting Function Interfaces

g_clear_error [Glib]g_error_copy [Glib]
g_error_free [Glib]g_error_matches [Glib]
g_error_new [Glib]g_error_new_literal [Glib]
g_propagate_error [Glib]g_set_error [Glib]

15.2.16. Glib File Utilities

15.2.16.1. Interfaces for Glib File Utilities

An LSB conforming implementation shall provide the generic functions for Glib File Utilities specified in Table 15-19, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-19. libglib-2.0 - Glib File Utilities Function Interfaces

g_dir_close [Glib]g_dir_open [Glib]
g_dir_read_name [Glib]g_dir_rewind [Glib]
g_file_error_from_errno [Glib]g_file_error_quark [Glib]
g_file_get_contents [Glib]g_file_open_tmp [Glib]
g_file_read_link [Glib]g_file_test [Glib]
g_mkstemp [Glib] 

15.2.17. Glib Glob-Style Pattern Matching

15.2.17.1. Interfaces for Glib Glob-Style Pattern Matching

An LSB conforming implementation shall provide the generic functions for Glib Glob-Style Pattern Matching specified in Table 15-20, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-20. libglib-2.0 - Glib Glob-Style Pattern Matching Function Interfaces

g_pattern_match [Glib]g_pattern_match_simple [Glib]
g_pattern_match_string [Glib]g_pattern_spec_equal [Glib]
g_pattern_spec_free [Glib]g_pattern_spec_new [Glib]

15.2.18. Glib Hash Tables

15.2.18.1. Interfaces for Glib Hash Tables

An LSB conforming implementation shall provide the generic functions for Glib Hash Tables specified in Table 15-21, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-21. libglib-2.0 - Glib Hash Tables Function Interfaces

g_direct_equal [Glib]g_direct_hash [Glib]
g_hash_table_destroy [Glib]g_hash_table_find [Glib]
g_hash_table_foreach [Glib]g_hash_table_foreach_remove [Glib]
g_hash_table_foreach_steal [Glib]g_hash_table_insert [Glib]
g_hash_table_lookup [Glib]g_hash_table_lookup_extended [Glib]
g_hash_table_new [Glib]g_hash_table_new_full [Glib]
g_hash_table_remove [Glib]g_hash_table_replace [Glib]
g_hash_table_size [Glib]g_hash_table_steal [Glib]
g_int_equal [Glib]g_int_hash [Glib]
g_str_equal [Glib]g_str_hash [Glib]

15.2.19. Glib Hook Functions

15.2.19.1. Interfaces for Glib Hook Functions

An LSB conforming implementation shall provide the generic functions for Glib Hook Functions specified in Table 15-22, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-22. libglib-2.0 - Glib Hook Functions Function Interfaces

g_hook_alloc [Glib]g_hook_compare_ids [Glib]
g_hook_destroy [Glib]g_hook_destroy_link [Glib]
g_hook_find [Glib]g_hook_find_data [Glib]
g_hook_find_func [Glib]g_hook_find_func_data [Glib]
g_hook_first_valid [Glib]g_hook_free [Glib]
g_hook_get [Glib]g_hook_insert_before [Glib]
g_hook_insert_sorted [Glib]g_hook_list_clear [Glib]
g_hook_list_init [Glib]g_hook_list_invoke [Glib]
g_hook_list_invoke_check [Glib]g_hook_list_marshal [Glib]
g_hook_list_marshal_check [Glib]g_hook_next_valid [Glib]
g_hook_prepend [Glib]g_hook_ref [Glib]
g_hook_unref [Glib] 

15.2.20. Glib IO Channels

15.2.20.1. Interfaces for Glib IO Channels

An LSB conforming implementation shall provide the generic functions for Glib IO Channels specified in Table 15-23, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-23. libglib-2.0 - Glib IO Channels Function Interfaces

g_io_add_watch [Glib]g_io_add_watch_full [Glib]
g_io_channel_error_from_errno [Glib]g_io_channel_error_quark [Glib]
g_io_channel_flush [Glib]g_io_channel_get_buffer_condition [Glib]
g_io_channel_get_buffer_size [Glib]g_io_channel_get_buffered [Glib]
g_io_channel_get_close_on_unref [Glib]g_io_channel_get_encoding [Glib]
g_io_channel_get_flags [Glib]g_io_channel_get_line_term [Glib]
g_io_channel_init [Glib]g_io_channel_new_file [Glib]
g_io_channel_read_chars [Glib]g_io_channel_read_line [Glib]
g_io_channel_read_line_string [Glib]g_io_channel_read_to_end [Glib]
g_io_channel_read_unichar [Glib]g_io_channel_ref [Glib]
g_io_channel_seek_position [Glib]g_io_channel_set_buffer_size [Glib]
g_io_channel_set_buffered [Glib]g_io_channel_set_close_on_unref [Glib]
g_io_channel_set_encoding [Glib]g_io_channel_set_flags [Glib]
g_io_channel_set_line_term [Glib]g_io_channel_shutdown [Glib]
g_io_channel_unix_get_fd [Glib]g_io_channel_unix_new [Glib]
g_io_channel_unref [Glib]g_io_channel_write_chars [Glib]
g_io_channel_write_unichar [Glib]g_io_create_watch [Glib]

15.2.21. Glib Internationalization

15.2.21.1. Interfaces for Glib Internationalization

An LSB conforming implementation shall provide the generic functions for Glib Internationalization specified in Table 15-24, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-24. libglib-2.0 - Glib Internationalization Function Interfaces

g_get_language_names [Glib]g_strip_context [Glib]

15.2.22. Glib Key-Value File Parser

15.2.22.1. Interfaces for Glib Key-Value File Parser

An LSB conforming implementation shall provide the generic functions for Glib Key-Value File Parser specified in Table 15-25, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-25. libglib-2.0 - Glib Key-Value File Parser Function Interfaces

g_key_file_error_quark [Glib]g_key_file_free [Glib]
g_key_file_get_boolean [Glib]g_key_file_get_boolean_list [Glib]
g_key_file_get_comment [Glib]g_key_file_get_groups [Glib]
g_key_file_get_integer [Glib]g_key_file_get_integer_list [Glib]
g_key_file_get_keys [Glib]g_key_file_get_locale_string [Glib]
g_key_file_get_locale_string_list [Glib]g_key_file_get_start_group [Glib]
g_key_file_get_string [Glib]g_key_file_get_string_list [Glib]
g_key_file_get_value [Glib]g_key_file_has_group [Glib]
g_key_file_has_key [Glib]g_key_file_load_from_data [Glib]
g_key_file_load_from_data_dirs [Glib]g_key_file_load_from_file [Glib]
g_key_file_new [Glib]g_key_file_remove_comment [Glib]
g_key_file_remove_group [Glib]g_key_file_remove_key [Glib]
g_key_file_set_boolean [Glib]g_key_file_set_boolean_list [Glib]
g_key_file_set_comment [Glib]g_key_file_set_integer [Glib]
g_key_file_set_integer_list [Glib]g_key_file_set_list_separator [Glib]
g_key_file_set_locale_string [Glib]g_key_file_set_locale_string_list [Glib]
g_key_file_set_string [Glib]g_key_file_set_string_list [Glib]
g_key_file_set_value [Glib]g_key_file_to_data [Glib]

15.2.23. Glib Keyed Data Lists

15.2.23.1. Interfaces for Glib Keyed Data Lists

An LSB conforming implementation shall provide the generic functions for Glib Keyed Data Lists specified in Table 15-26, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-26. libglib-2.0 - Glib Keyed Data Lists Function Interfaces

g_datalist_clear [Glib]g_datalist_foreach [Glib]
g_datalist_id_get_data [Glib]g_datalist_id_remove_no_notify [Glib]
g_datalist_id_set_data_full [Glib]g_datalist_init [Glib]

15.2.24. Glib Lexical Scanner

15.2.24.1. Interfaces for Glib Lexical Scanner

An LSB conforming implementation shall provide the generic functions for Glib Lexical Scanner specified in Table 15-27, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-27. libglib-2.0 - Glib Lexical Scanner Function Interfaces

g_scanner_cur_line [Glib]g_scanner_cur_position [Glib]
g_scanner_cur_token [Glib]g_scanner_cur_value [Glib]
g_scanner_destroy [Glib]g_scanner_eof [Glib]
g_scanner_error [Glib]g_scanner_get_next_token [Glib]
g_scanner_input_file [Glib]g_scanner_input_text [Glib]
g_scanner_lookup_symbol [Glib]g_scanner_new [Glib]
g_scanner_peek_next_token [Glib]g_scanner_scope_add_symbol [Glib]
g_scanner_scope_foreach_symbol [Glib]g_scanner_scope_lookup_symbol [Glib]
g_scanner_scope_remove_symbol [Glib]g_scanner_set_scope [Glib]
g_scanner_sync_file_offset [Glib]g_scanner_unexp_token [Glib]
g_scanner_warn [Glib] 

15.2.25. Glib Memory Allocation

15.2.25.1. Interfaces for Glib Memory Allocation

An LSB conforming implementation shall provide the generic functions for Glib Memory Allocation specified in Table 15-28, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-28. libglib-2.0 - Glib Memory Allocation Function Interfaces

g_free [Glib]g_malloc [Glib]
g_malloc0 [Glib]g_mem_is_system_malloc [Glib]
g_mem_profile [Glib]g_mem_set_vtable [Glib]
g_memdup [Glib]g_realloc [Glib]
g_try_malloc [Glib]g_try_realloc [Glib]

15.2.26. Glib Memory Allocators

15.2.26.1. Interfaces for Glib Memory Allocators

An LSB conforming implementation shall provide the generic functions for Glib Memory Allocators specified in Table 15-29, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-29. libglib-2.0 - Glib Memory Allocators Function Interfaces

g_allocator_free [Glib]g_allocator_new [Glib]

15.2.27. Glib Memory Chunks

15.2.27.1. Interfaces for Glib Memory Chunks

An LSB conforming implementation shall provide the generic functions for Glib Memory Chunks specified in Table 15-30, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-30. libglib-2.0 - Glib Memory Chunks Function Interfaces

g_blow_chunks [Glib]g_mem_chunk_alloc [Glib]
g_mem_chunk_alloc0 [Glib]g_mem_chunk_clean [Glib]
g_mem_chunk_destroy [Glib]g_mem_chunk_free [Glib]
g_mem_chunk_info [Glib]g_mem_chunk_new [Glib]
g_mem_chunk_print [Glib]g_mem_chunk_reset [Glib]

15.2.28. Glib Message Logging

15.2.28.1. Interfaces for Glib Message Logging

An LSB conforming implementation shall provide the generic functions for Glib Message Logging specified in Table 15-31, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-31. libglib-2.0 - Glib Message Logging Function Interfaces

g_log [Glib]g_log_default_handler [Glib]
g_log_remove_handler [Glib]g_log_set_always_fatal [Glib]
g_log_set_default_handler [Glib]g_log_set_fatal_mask [Glib]
g_log_set_handler [Glib]g_logv [Glib]

15.2.29. Glib Message Output and Debugging Functions

15.2.29.1. Interfaces for Glib Message Output and Debugging Functions

An LSB conforming implementation shall provide the generic functions for Glib Message Output and Debugging Functions specified in Table 15-32, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-32. libglib-2.0 - Glib Message Output and Debugging Functions Function Interfaces

g_on_error_query [Glib]g_on_error_stack_trace [Glib]
g_print [Glib]g_printerr [Glib]
g_set_print_handler [Glib]g_set_printerr_handler [Glib]

15.2.30. Glib Miscellaneous Utility Functions

15.2.30.1. Interfaces for Glib Miscellaneous Utility Functions

An LSB conforming implementation shall provide the generic functions for Glib Miscellaneous Utility Functions specified in Table 15-33, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-33. libglib-2.0 - Glib Miscellaneous Utility Functions Function Interfaces

g_atexit [Glib]g_bit_nth_lsf [Glib]
g_bit_nth_msf [Glib]g_bit_storage [Glib]
g_build_filename [Glib]g_build_path [Glib]
g_find_program_in_path [Glib]g_get_application_name [Glib]
g_get_current_dir [Glib]g_get_home_dir [Glib]
g_get_prgname [Glib]g_get_real_name [Glib]
g_get_system_config_dirs [Glib]g_get_system_data_dirs [Glib]
g_get_tmp_dir [Glib]g_get_user_cache_dir [Glib]
g_get_user_config_dir [Glib]g_get_user_data_dir [Glib]
g_get_user_name [Glib]g_getenv [Glib]
g_nullify_pointer [Glib]g_parse_debug_string [Glib]
g_path_get_basename [Glib]g_path_get_dirname [Glib]
g_path_is_absolute [Glib]g_path_skip_root [Glib]
g_qsort_with_data [Glib]g_set_application_name [Glib]
g_set_prgname [Glib]g_setenv [Glib]
g_spaced_primes_closest [Glib]g_unsetenv [Glib]

15.2.31. Glib N-ary Trees

15.2.31.1. Interfaces for Glib N-ary Trees

An LSB conforming implementation shall provide the generic functions for Glib N-ary Trees specified in Table 15-34, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-34. libglib-2.0 - Glib N-ary Trees Function Interfaces

g_node_child_index [Glib]g_node_child_position [Glib]
g_node_children_foreach [Glib]g_node_copy [Glib]
g_node_copy_deep [Glib]g_node_depth [Glib]
g_node_destroy [Glib]g_node_find [Glib]
g_node_find_child [Glib]g_node_first_sibling [Glib]
g_node_get_root [Glib]g_node_insert [Glib]
g_node_insert_after [Glib]g_node_insert_before [Glib]
g_node_is_ancestor [Glib]g_node_last_child [Glib]
g_node_last_sibling [Glib]g_node_max_height [Glib]
g_node_n_children [Glib]g_node_n_nodes [Glib]
g_node_new [Glib]g_node_nth_child [Glib]
g_node_pop_allocator [Glib]g_node_prepend [Glib]
g_node_push_allocator [Glib]g_node_reverse_children [Glib]
g_node_traverse [Glib]g_node_unlink [Glib]

15.2.32. Glib Pointer Arrays

15.2.32.1. Interfaces for Glib Pointer Arrays

An LSB conforming implementation shall provide the generic functions for Glib Pointer Arrays specified in Table 15-35, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-35. libglib-2.0 - Glib Pointer Arrays Function Interfaces

g_ptr_array_add [Glib]g_ptr_array_foreach [Glib]
g_ptr_array_free [Glib]g_ptr_array_new [Glib]
g_ptr_array_remove [Glib]g_ptr_array_remove_fast [Glib]
g_ptr_array_remove_index [Glib]g_ptr_array_remove_index_fast [Glib]
g_ptr_array_remove_range [Glib]g_ptr_array_set_size [Glib]
g_ptr_array_sized_new [Glib]g_ptr_array_sort [Glib]
g_ptr_array_sort_with_data [Glib] 

15.2.33. Glib Quarks

15.2.33.1. Interfaces for Glib Quarks

An LSB conforming implementation shall provide the generic functions for Glib Quarks specified in Table 15-36, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-36. libglib-2.0 - Glib Quarks Function Interfaces

g_quark_from_static_string [Glib]g_quark_from_string [Glib]
g_quark_to_string [Glib]g_quark_try_string [Glib]

15.2.34. Glib Random Numbers

15.2.34.1. Interfaces for Glib Random Numbers

An LSB conforming implementation shall provide the generic functions for Glib Random Numbers specified in Table 15-37, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-37. libglib-2.0 - Glib Random Numbers Function Interfaces

g_rand_copy [Glib]g_rand_double [Glib]
g_rand_double_range [Glib]g_rand_free [Glib]
g_rand_int [Glib]g_rand_int_range [Glib]
g_rand_new [Glib]g_rand_new_with_seed [Glib]
g_rand_new_with_seed_array [Glib]g_rand_set_seed [Glib]
g_rand_set_seed_array [Glib]g_random_double [Glib]
g_random_double_range [Glib]g_random_int [Glib]
g_random_int_range [Glib]g_random_set_seed [Glib]

15.2.35. Glib Relations and Tuples

15.2.35.1. Interfaces for Glib Relations and Tuples

An LSB conforming implementation shall provide the generic functions for Glib Relations and Tuples specified in Table 15-38, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-38. libglib-2.0 - Glib Relations and Tuples Function Interfaces

g_relation_count [Glib]g_relation_delete [Glib]
g_relation_destroy [Glib]g_relation_exists [Glib]
g_relation_index [Glib]g_relation_insert [Glib]
g_relation_new [Glib]g_relation_print [Glib]
g_relation_select [Glib]g_tuples_destroy [Glib]
g_tuples_index [Glib] 

15.2.36. Glib Shell-related Utilities

15.2.36.1. Interfaces for Glib Shell-related Utilities

An LSB conforming implementation shall provide the generic functions for Glib Shell-related Utilities specified in Table 15-39, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-39. libglib-2.0 - Glib Shell-related Utilities Function Interfaces

g_shell_error_quark [Glib]g_shell_parse_argv [Glib]
g_shell_quote [Glib]g_shell_unquote [Glib]

15.2.37. Glib Simple XML Subset Parser

15.2.37.1. Interfaces for Glib Simple XML Subset Parser

An LSB conforming implementation shall provide the generic functions for Glib Simple XML Subset Parser specified in Table 15-40, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-40. libglib-2.0 - Glib Simple XML Subset Parser Function Interfaces

g_markup_error_quark [Glib]g_markup_escape_text [Glib]
g_markup_parse_context_end_parse [Glib]g_markup_parse_context_free [Glib]
g_markup_parse_context_get_element [Glib]g_markup_parse_context_get_position [Glib]
g_markup_parse_context_new [Glib]g_markup_parse_context_parse [Glib]
g_markup_printf_escaped [Glib]g_markup_vprintf_escaped [Glib]

15.2.38. Glib Singly-Linked Lists

15.2.38.1. Interfaces for Glib Singly-Linked Lists

An LSB conforming implementation shall provide the generic functions for Glib Singly-Linked Lists specified in Table 15-41, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-41. libglib-2.0 - Glib Singly-Linked Lists Function Interfaces

g_slist_alloc [Glib]g_slist_append [Glib]
g_slist_concat [Glib]g_slist_copy [Glib]
g_slist_delete_link [Glib]g_slist_find [Glib]
g_slist_find_custom [Glib]g_slist_foreach [Glib]
g_slist_free [Glib]g_slist_free_1 [Glib]
g_slist_index [Glib]g_slist_insert [Glib]
g_slist_insert_before [Glib]g_slist_insert_sorted [Glib]
g_slist_last [Glib]g_slist_length [Glib]
g_slist_nth [Glib]g_slist_nth_data [Glib]
g_slist_pop_allocator [Glib]g_slist_position [Glib]
g_slist_prepend [Glib]g_slist_push_allocator [Glib]
g_slist_remove [Glib]g_slist_remove_all [Glib]
g_slist_remove_link [Glib]g_slist_reverse [Glib]
g_slist_sort [Glib]g_slist_sort_with_data [Glib]

15.2.39. Glib Spawning Processes

15.2.39.1. Interfaces for Glib Spawning Processes

An LSB conforming implementation shall provide the generic functions for Glib Spawning Processes specified in Table 15-42, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-42. libglib-2.0 - Glib Spawning Processes Function Interfaces

g_spawn_async [Glib]g_spawn_async_with_pipes [Glib]
g_spawn_close_pid [Glib]g_spawn_command_line_async [Glib]
g_spawn_command_line_sync [Glib]g_spawn_error_quark [Glib]
g_spawn_sync [Glib] 

15.2.40. Glib String Chunks

15.2.40.1. Interfaces for Glib String Chunks

An LSB conforming implementation shall provide the generic functions for Glib String Chunks specified in Table 15-43, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-43. libglib-2.0 - Glib String Chunks Function Interfaces

g_string_chunk_free [Glib]g_string_chunk_insert [Glib]
g_string_chunk_insert_const [Glib]g_string_chunk_insert_len [Glib]
g_string_chunk_new [Glib] 

15.2.41. Glib String Utility Functions

15.2.41.1. Interfaces for Glib String Utility Functions

An LSB conforming implementation shall provide the generic functions for Glib String Utility Functions specified in Table 15-44, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-44. libglib-2.0 - Glib String Utility Functions Function Interfaces

g_ascii_digit_value [Glib]g_ascii_dtostr [Glib]
g_ascii_formatd [Glib]g_ascii_strcasecmp [Glib]
g_ascii_strdown [Glib]g_ascii_strncasecmp [Glib]
g_ascii_strtod [Glib]g_ascii_strtoull [Glib]
g_ascii_strup [Glib]g_ascii_tolower [Glib]
g_ascii_toupper [Glib]g_ascii_xdigit_value [Glib]
g_fprintf [Glib]g_printf [Glib]
g_printf_string_upper_bound [Glib]g_snprintf [Glib]
g_sprintf [Glib]g_stpcpy [Glib]
g_str_has_prefix [Glib]g_str_has_suffix [Glib]
g_strcanon [Glib]g_strchomp [Glib]
g_strchug [Glib]g_strcompress [Glib]
g_strconcat [Glib]g_strdelimit [Glib]
g_strdup [Glib]g_strdup_printf [Glib]
g_strdup_vprintf [Glib]g_strdupv [Glib]
g_strerror [Glib]g_strescape [Glib]
g_strfreev [Glib]g_string_ascii_down [Glib]
g_string_ascii_up [Glib]g_strjoin [Glib]
g_strjoinv [Glib]g_strlcat [Glib]
g_strlcpy [Glib]g_strndup [Glib]
g_strnfill [Glib]g_strreverse [Glib]
g_strrstr [Glib]g_strrstr_len [Glib]
g_strsignal [Glib]g_strsplit [Glib]
g_strsplit_set [Glib]g_strstr_len [Glib]
g_strtod [Glib]g_strv_length [Glib]
g_vasprintf [Glib]g_vfprintf [Glib]
g_vprintf [Glib]g_vsnprintf [Glib]
g_vsprintf [Glib] 

15.2.42. Glib Strings

15.2.42.1. Interfaces for Glib Strings

An LSB conforming implementation shall provide the generic functions for Glib Strings specified in Table 15-45, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-45. libglib-2.0 - Glib Strings Function Interfaces

g_string_append [Glib]g_string_append_c [Glib]
g_string_append_len [Glib]g_string_append_printf [Glib]
g_string_append_unichar [Glib]g_string_assign [Glib]
g_string_equal [Glib]g_string_erase [Glib]
g_string_free [Glib]g_string_hash [Glib]
g_string_insert [Glib]g_string_insert_c [Glib]
g_string_insert_len [Glib]g_string_insert_unichar [Glib]
g_string_new [Glib]g_string_new_len [Glib]
g_string_prepend [Glib]g_string_prepend_c [Glib]
g_string_prepend_len [Glib]g_string_prepend_unichar [Glib]
g_string_printf [Glib]g_string_set_size [Glib]
g_string_sized_new [Glib]g_string_truncate [Glib]

15.2.43. Glib - The Main Event Loop

15.2.43.1. Interfaces for Glib - The Main Event Loop

An LSB conforming implementation shall provide the generic functions for Glib - The Main Event Loop specified in Table 15-46, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-46. libglib-2.0 - Glib - The Main Event Loop Function Interfaces

g_child_watch_add [Glib]g_child_watch_add_full [Glib]
g_child_watch_source_new [Glib]g_idle_add [Glib]
g_idle_add_full [Glib]g_idle_remove_by_data [Glib]
g_idle_source_new [Glib]g_main_context_acquire [Glib]
g_main_context_add_poll [Glib]g_main_context_check [Glib]
g_main_context_default [Glib]g_main_context_dispatch [Glib]
g_main_context_find_source_by_funcs_user_data [Glib]g_main_context_find_source_by_id [Glib]
g_main_context_find_source_by_user_data [Glib]g_main_context_get_poll_func [Glib]
g_main_context_iteration [Glib]g_main_context_new [Glib]
g_main_context_pending [Glib]g_main_context_prepare [Glib]
g_main_context_query [Glib]g_main_context_ref [Glib]
g_main_context_release [Glib]g_main_context_remove_poll [Glib]
g_main_context_set_poll_func [Glib]g_main_context_unref [Glib]
g_main_context_wait [Glib]g_main_context_wakeup [Glib]
g_main_depth [Glib]g_main_loop_get_context [Glib]
g_main_loop_is_running [Glib]g_main_loop_new [Glib]
g_main_loop_quit [Glib]g_main_loop_ref [Glib]
g_main_loop_run [Glib]g_main_loop_unref [Glib]
g_source_add_poll [Glib]g_source_attach [Glib]
g_source_destroy [Glib]g_source_get_can_recurse [Glib]
g_source_get_context [Glib]g_source_get_current_time [Glib]
g_source_get_id [Glib]g_source_get_priority [Glib]
g_source_new [Glib]g_source_ref [Glib]
g_source_remove [Glib]g_source_remove_by_funcs_user_data [Glib]
g_source_remove_by_user_data [Glib]g_source_remove_poll [Glib]
g_source_set_callback [Glib]g_source_set_callback_indirect [Glib]
g_source_set_can_recurse [Glib]g_source_set_priority [Glib]
g_source_unref [Glib]g_timeout_add [Glib]
g_timeout_add_full [Glib]g_timeout_source_new [Glib]

15.2.44. Glib Thread Pools

15.2.44.1. Interfaces for Glib Thread Pools

An LSB conforming implementation shall provide the generic functions for Glib Thread Pools specified in Table 15-47, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-47. libglib-2.0 - Glib Thread Pools Function Interfaces

g_thread_pool_free [Glib]g_thread_pool_get_max_threads [Glib]
g_thread_pool_get_max_unused_threads [Glib]g_thread_pool_get_num_threads [Glib]
g_thread_pool_get_num_unused_threads [Glib]g_thread_pool_new [Glib]
g_thread_pool_push [Glib]g_thread_pool_set_max_threads [Glib]
g_thread_pool_set_max_unused_threads [Glib]g_thread_pool_stop_unused_threads [Glib]
g_thread_pool_unprocessed [Glib] 

15.2.45. Glib Threads

15.2.45.1. Interfaces for Glib Threads

An LSB conforming implementation shall provide the generic functions for Glib Threads specified in Table 15-48, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-48. libglib-2.0 - Glib Threads Function Interfaces

g_static_mutex_free [Glib]g_static_mutex_init [Glib]
g_static_private_free [Glib]g_static_private_get [Glib]
g_static_private_init [Glib]g_static_private_set [Glib]
g_static_rec_mutex_free [Glib]g_static_rec_mutex_init [Glib]
g_static_rec_mutex_lock [Glib]g_static_rec_mutex_lock_full [Glib]
g_static_rec_mutex_trylock [Glib]g_static_rec_mutex_unlock [Glib]
g_static_rec_mutex_unlock_full [Glib]g_static_rw_lock_free [Glib]
g_static_rw_lock_init [Glib]g_static_rw_lock_reader_lock [Glib]
g_static_rw_lock_reader_trylock [Glib]g_static_rw_lock_reader_unlock [Glib]
g_static_rw_lock_writer_lock [Glib]g_static_rw_lock_writer_trylock [Glib]
g_static_rw_lock_writer_unlock [Glib]g_thread_create_full [Glib]
g_thread_error_quark [Glib]g_thread_exit [Glib]
g_thread_join [Glib]g_thread_self [Glib]
g_thread_set_priority [Glib] 

15.2.46. Glib Timers

15.2.46.1. Interfaces for Glib Timers

An LSB conforming implementation shall provide the generic functions for Glib Timers specified in Table 15-49, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-49. libglib-2.0 - Glib Timers Function Interfaces

g_timer_continue [Glib]g_timer_destroy [Glib]
g_timer_elapsed [Glib]g_timer_new [Glib]
g_timer_reset [Glib]g_timer_start [Glib]
g_timer_stop [Glib] 

15.2.47. Glib Trash Stacks

15.2.47.1. Interfaces for Glib Trash Stacks

An LSB conforming implementation shall provide the generic functions for Glib Trash Stacks specified in Table 15-50, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-50. libglib-2.0 - Glib Trash Stacks Function Interfaces

g_trash_stack_height [Glib]g_trash_stack_peek [Glib]
g_trash_stack_pop [Glib]g_trash_stack_push [Glib]

15.2.48. Glib Unicode Manipulation

15.2.48.1. Interfaces for Glib Unicode Manipulation

An LSB conforming implementation shall provide the generic functions for Glib Unicode Manipulation specified in Table 15-51, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-51. libglib-2.0 - Glib Unicode Manipulation Function Interfaces

g_ucs4_to_utf16 [Glib]g_ucs4_to_utf8 [Glib]
g_unichar_break_type [Glib]g_unichar_digit_value [Glib]
g_unichar_get_mirror_char [Glib]g_unichar_isalnum [Glib]
g_unichar_isalpha [Glib]g_unichar_iscntrl [Glib]
g_unichar_isdefined [Glib]g_unichar_isdigit [Glib]
g_unichar_isgraph [Glib]g_unichar_islower [Glib]
g_unichar_isprint [Glib]g_unichar_ispunct [Glib]
g_unichar_isspace [Glib]g_unichar_istitle [Glib]
g_unichar_isupper [Glib]g_unichar_iswide [Glib]
g_unichar_isxdigit [Glib]g_unichar_to_utf8 [Glib]
g_unichar_tolower [Glib]g_unichar_totitle [Glib]
g_unichar_toupper [Glib]g_unichar_type [Glib]
g_unichar_validate [Glib]g_unichar_xdigit_value [Glib]
g_unicode_canonical_decomposition [Glib]g_unicode_canonical_ordering [Glib]
g_utf16_to_ucs4 [Glib]g_utf16_to_utf8 [Glib]
g_utf8_casefold [Glib]g_utf8_collate [Glib]
g_utf8_collate_key [Glib]g_utf8_find_next_char [Glib]
g_utf8_find_prev_char [Glib]g_utf8_get_char [Glib]
g_utf8_get_char_validated [Glib]g_utf8_normalize [Glib]
g_utf8_offset_to_pointer [Glib]g_utf8_pointer_to_offset [Glib]
g_utf8_prev_char [Glib]g_utf8_strchr [Glib]
g_utf8_strdown [Glib]g_utf8_strlen [Glib]
g_utf8_strncpy [Glib]g_utf8_strrchr [Glib]
g_utf8_strreverse [Glib]g_utf8_strup [Glib]
g_utf8_to_ucs4 [Glib]g_utf8_to_ucs4_fast [Glib]
g_utf8_to_utf16 [Glib]g_utf8_validate [Glib]

15.2.49. Glib Version Information

15.2.49.1. Interfaces for Glib Version Information

An LSB conforming implementation shall provide the generic functions for Glib Version Information specified in Table 15-52, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-52. libglib-2.0 - Glib Version Information Function Interfaces

glib_check_version [Glib] 

An LSB conforming implementation shall provide the generic data interfaces for Glib Version Information specified in Table 15-53, with the full mandatory functionality as described in the referenced underlying specification.

Table 15-53. libglib-2.0 - Glib Version Information Data Interfaces

glib_binary_age [Glib]glib_interface_age [Glib]
glib_major_version [Glib]glib_mem_profiler_table [Glib]
glib_micro_version [Glib]glib_minor_version [Glib]