glib.h
Basic Types types gboolean gpointer gconstpointer gchar guchar gint guint gshort gushort glong gulong gint8 guint8 gint16 guint16 gint32 guint32 G_HAVE_GINT64 gint64 guint64 G_GINT64_CONSTANT gfloat gdouble gsize gssize gstring gldouble
Limits of Basic Types limits G_MININT G_MAXINT G_MAXUINT G_MINSHORT G_MAXSHORT G_MAXUSHORT G_MINLONG G_MAXLONG G_MAXULONG G_MINFLOAT G_MAXFLOAT G_MINDOUBLE G_MAXDOUBLE
Standard Macros macros GLIB_MAJOR_VERSION GLIB_MINOR_VERSION GLIB_MICRO_VERSION G_OS_WIN32 G_OS_BEOS G_OS_UNIX GLIB_CHECK_VERSION G_DIR_SEPARATOR G_DIR_SEPARATOR_S G_SEARCHPATH_SEPARATOR G_SEARCHPATH_SEPARATOR_S TRUE FALSE NULL MIN MAX ABS CLAMP G_STRUCT_MEMBER G_STRUCT_MEMBER_P G_STRUCT_OFFSET glib_major_version glib_micro_version glib_minor_version glib_interface_age glib_binary_age
Type Conversion Macros type_conversion GINT_TO_POINTER GPOINTER_TO_INT GUINT_TO_POINTER GPOINTER_TO_UINT
Byte Order Macros byte_order G_BYTE_ORDER G_LITTLE_ENDIAN G_BIG_ENDIAN G_PDP_ENDIAN g_htonl g_htons g_ntohl g_ntohs GINT_FROM_BE GINT_FROM_LE GINT_TO_BE GINT_TO_LE GUINT_FROM_BE GUINT_FROM_LE GUINT_TO_BE GUINT_TO_LE GLONG_FROM_BE GLONG_FROM_LE GLONG_TO_BE GLONG_TO_LE GULONG_FROM_BE GULONG_FROM_LE GULONG_TO_BE GULONG_TO_LE GINT16_FROM_BE GINT16_FROM_LE GINT16_TO_BE GINT16_TO_LE GUINT16_FROM_BE GUINT16_FROM_LE GUINT16_TO_BE GUINT16_TO_LE GINT32_FROM_BE GINT32_FROM_LE GINT32_TO_BE GINT32_TO_LE GUINT32_FROM_BE GUINT32_FROM_LE GUINT32_TO_BE GUINT32_TO_LE GINT64_FROM_BE GINT64_FROM_LE GINT64_TO_BE GINT64_TO_LE GUINT64_FROM_BE GUINT64_FROM_LE GUINT64_TO_BE GUINT64_TO_LE GUINT16_SWAP_BE_PDP GUINT16_SWAP_LE_BE GUINT16_SWAP_LE_PDP GUINT32_SWAP_BE_PDP GUINT32_SWAP_LE_BE GUINT32_SWAP_LE_PDP GUINT64_SWAP_LE_BE GUINT16_SWAP_LE_BE_CONSTANT GUINT16_SWAP_LE_BE_X86 GUINT32_SWAP_LE_BE_CONSTANT GUINT32_SWAP_LE_BE_X86 GUINT64_SWAP_LE_BE_CONSTANT GUINT64_SWAP_LE_BE_X86
Numerical Definitions numerical G_IEEE754_FLOAT_BIAS G_IEEE754_DOUBLE_BIAS GFloatIEEE754 GDoubleIEEE754 G_E G_LN2 G_LN10 G_PI G_PI_2 G_PI_4 G_SQRT2 G_LOG_2_BASE_10
Miscellaneous Macros macros_misc G_INLINE_FUNC G_STMT_START G_STMT_END G_BEGIN_DECLS G_END_DECLS G_N_ELEMENTS G_VA_COPY G_STRINGIFY G_GNUC_EXTENSION G_GNUC_CONST G_GNUC_NORETURN G_GNUC_UNUSED G_GNUC_PURE G_GNUC_PRINTF G_GNUC_SCANF G_GNUC_FORMAT G_GNUC_FUNCTION G_GNUC_PRETTY_FUNCTION G_STRLOC G_GINT16_FORMAT G_GUINT16_FORMAT G_GINT32_FORMAT G_GUINT32_FORMAT G_GINT64_FORMAT G_GUINT64_FORMAT GLIB_VAR G_STRINGIFY_ARG G_HAVE_INLINE G_CAN_INLINE inline G_HAVE___INLINE G_HAVE___INLINE__
Error Reporting error_reporting GError g_error_new g_error_new_literal g_error_free g_error_copy g_error_matches g_set_error g_propagate_error g_clear_error
The Main Event Loop main GMainLoop g_main_new g_main_destroy g_main_run g_main_is_running g_main_pending g_main_iteration g_main_quit G_PRIORITY_HIGH G_PRIORITY_DEFAULT G_PRIORITY_HIGH_IDLE G_PRIORITY_DEFAULT_IDLE G_PRIORITY_LOW g_timeout_add g_timeout_add_full GSourceFunc g_idle_add g_idle_add_full g_idle_remove_by_data g_main_add_poll GPollFD g_main_remove_poll g_main_set_poll_func g_main_win32_get_poll_func GPollFunc g_source_add GSourceFuncs g_source_remove g_source_remove_by_funcs_user_data g_source_remove_by_source_data g_source_remove_by_user_data GLIB_HAVE_SYS_POLL_H GLIB_HAVE_ALLOCA_H alloca GLIB_SYSDEF_POLLERR GLIB_SYSDEF_POLLHUP GLIB_SYSDEF_POLLIN GLIB_SYSDEF_POLLNVAL GLIB_SYSDEF_POLLOUT GLIB_SYSDEF_POLLPRI g_main_poll_win32_msg_add G_WIN32_MSG_HANDLE
Threads threads G_THREADS_ENABLED G_THREADS_IMPL_POSIX G_THREADS_IMPL_SOLARIS G_THREADS_IMPL_NONE G_THREAD_ERROR GThreadError GThreadFunctions g_thread_init g_thread_supported GThreadFunc GThreadPriority GThread g_thread_create g_thread_self g_thread_join g_thread_set_priority g_thread_yield g_thread_exit GMutex g_mutex_new g_mutex_lock g_mutex_trylock g_mutex_unlock g_mutex_free GStaticMutex G_STATIC_MUTEX_INIT g_static_mutex_lock g_static_mutex_trylock g_static_mutex_unlock g_static_mutex_get_mutex G_LOCK_DEFINE G_LOCK_DEFINE_STATIC G_LOCK_EXTERN G_LOCK G_TRYLOCK G_UNLOCK GStaticRecMutex G_STATIC_REC_MUTEX_INIT g_static_rec_mutex_lock g_static_rec_mutex_trylock g_static_rec_mutex_unlock g_static_rec_mutex_lock_full g_static_rec_mutex_unlock_full GStaticRWLock G_STATIC_RW_LOCK_INIT g_static_rw_lock_reader_lock g_static_rw_lock_reader_trylock g_static_rw_lock_reader_unlock g_static_rw_lock_writer_lock g_static_rw_lock_writer_trylock g_static_rw_lock_writer_unlock g_static_rw_lock_free GCond g_cond_new g_cond_signal g_cond_broadcast g_cond_wait g_cond_timed_wait g_cond_free GPrivate g_private_new g_private_get g_private_set GStaticPrivate G_STATIC_PRIVATE_INIT g_static_private_get g_static_private_get_for_thread g_static_private_set g_static_private_set_for_thread G_THREAD_ECF G_THREAD_CF G_THREAD_UF g_static_mutex_get_mutex_impl g_mutex_lock_with_debug_name g_mutex_trylock_with_debug_name g_mutex_unlock_with_debug_name G_MUTEX_DEBUG_MAGIC g_thread_init_with_errorcheck_mutexes G_LOCK_NAME glib_dummy_decl GSystemThread g_thread_error_quark g_thread_use_default_impl g_threads_got_initialized g_thread_functions_for_glib_use
Thread Pools thread_pools GThreadPool g_thread_pool_new g_thread_pool_push g_thread_pool_set_max_threads g_thread_pool_get_max_threads g_thread_pool_get_num_threads g_thread_pool_unprocessed g_thread_pool_free g_thread_pool_set_max_unused_threads g_thread_pool_get_max_unused_threads g_thread_pool_get_num_unused_threads g_thread_pool_stop_unused_threads
Asynchronous Queues async_queues GAsyncQueue g_async_queue_new g_async_queue_lock g_async_queue_unlock g_async_queue_ref g_async_queue_ref_unlocked g_async_queue_unref g_async_queue_unref_and_unlock g_async_queue_push g_async_queue_push_unlocked g_async_queue_pop g_async_queue_pop_unlocked g_async_queue_try_pop g_async_queue_try_pop_unlocked g_async_queue_timed_pop g_async_queue_timed_pop_unlocked g_async_queue_length g_async_queue_length_unlocked
IO Channels iochannels GIOChannel g_io_channel_unix_new g_io_channel_unix_get_fd g_io_channel_init g_io_channel_read GIOError g_io_channel_write g_io_channel_seek GSeekType g_io_channel_close g_io_channel_ref g_io_channel_unref g_io_add_watch g_io_add_watch_full GIOCondition GIOFunc GIOFuncs g_io_channel_win32_new_fd g_io_channel_win32_new_messages g_io_channel_win32_new_stream_socket g_io_channel_win32_poll g_io_channel_win32_make_pollfd g_io_channel_win32_get_fd
Memory Allocation memory g_new g_new0 g_renew g_malloc g_malloc0 g_realloc g_free g_alloca g_memmove g_memdup g_mem_profile g_mem_check
Warnings and Assertions warnings g_print g_set_print_handler GPrintFunc g_printerr g_set_printerr_handler g_return_if_fail g_return_val_if_fail g_return_if_reached g_return_val_if_reached g_assert g_assert_not_reached g_on_error_query g_on_error_stack_trace G_BREAKPOINT
Message Logging messages G_LOG_DOMAIN g_log_domain_glib g_log_domain_gmodule G_LOG_FATAL_MASK G_LOG_LEVEL_USER_SHIFT GLogFunc GLogLevelFlags g_log g_logv g_message g_warning g_critical g_error g_log_set_handler g_log_remove_handler g_log_set_always_fatal g_log_set_fatal_mask g_log_default_handler g_set_error_handler GErrorFunc g_set_warning_handler GWarningFunc g_set_message_handler
Timers timers GTimer g_timer_new g_timer_start g_timer_stop g_timer_elapsed g_timer_reset g_timer_destroy
String Utility Functions string_utils g_strdup g_strndup g_strnfill g_strlcpy g_strlcat g_strdup_printf g_strdup_vprintf g_snprintf g_vsnprintf g_printf_string_upper_bound g_strup g_strdown g_strcasecmp g_strncasecmp g_strreverse g_strtod g_strchug g_strchomp g_strstrip g_strdelimit G_STR_DELIMITERS g_strescape g_strcompress g_strcanon g_strsplit g_strfreev g_strconcat g_strjoin g_strjoinv g_strerror g_strsignal
Date and Time Functions date G_USEC_PER_SEC GTimeVal g_get_current_time g_usleep GDate GTime GDateDMY GDateDay GDateMonth GDateYear GDateWeekday G_DATE_BAD_DAY G_DATE_BAD_JULIAN G_DATE_BAD_YEAR g_date_new g_date_new_dmy g_date_new_julian g_date_clear g_date_free g_date_set_day g_date_set_month g_date_set_year g_date_set_dmy g_date_set_julian g_date_set_time g_date_set_parse g_date_add_days g_date_subtract_days g_date_add_months g_date_subtract_months g_date_add_years g_date_subtract_years g_date_compare g_date_day g_date_month g_date_year g_date_julian g_date_weekday g_date_day_of_year g_date_days_in_month g_date_is_first_of_month g_date_is_last_of_month g_date_is_leap_year g_date_monday_week_of_year g_date_monday_weeks_in_year g_date_sunday_week_of_year g_date_sunday_weeks_in_year g_date_strftime g_date_to_struct_tm g_date_valid g_date_valid_day g_date_valid_month g_date_valid_year g_date_valid_dmy g_date_valid_julian g_date_valid_weekday
Hook Functions hooks GHookList GHook GHookFunc GHookCheckFunc GHookMarshaller GHookCheckMarshaller GHookFreeFunc G_HOOK_DEFERRED_DESTROY g_hook_list_init g_hook_list_invoke g_hook_list_invoke_check g_hook_list_marshal g_hook_list_marshal_check g_hook_list_clear g_hook_alloc g_hook_append g_hook_prepend g_hook_insert_before g_hook_insert_sorted GHookCompareFunc g_hook_compare_ids g_hook_get g_hook_find g_hook_find_data g_hook_find_func GHookFindFunc g_hook_find_func_data g_hook_first_valid g_hook_next_valid GHookFlagMask G_HOOK_FLAG_USER_SHIFT G_HOOK_IS_VALID G_HOOK_ACTIVE G_HOOK_IN_CALL G_HOOK_IS_UNLINKED g_hook_ref g_hook_unref g_hook_free g_hook_destroy g_hook_destroy_link
Miscellaneous Utility Functions misc_utils g_get_prgname g_set_prgname g_getenv g_get_user_name g_get_real_name g_get_home_dir g_get_tmp_dir g_get_current_dir g_basename g_dirname g_path_is_absolute g_path_skip_root g_path_get_dirname g_path_get_basename g_filename_to_utf8 g_filename_from_utf8 g_bit_nth_lsf g_bit_nth_msf g_bit_storage g_spaced_primes_closest g_atexit g_parse_debug_string GDebugKey GVoidFunc GFreeFunc G_NATIVE_ATEXIT g_ATEXIT ATEXIT
Lexical Scanner scanner GScanner g_scanner_new GScannerConfig g_scanner_input_file g_scanner_sync_file_offset g_scanner_stat_mode g_scanner_input_text g_scanner_peek_next_token g_scanner_get_next_token g_scanner_cur_line g_scanner_cur_position g_scanner_cur_token g_scanner_cur_value g_scanner_eof g_scanner_set_scope g_scanner_scope_add_symbol g_scanner_scope_foreach_symbol g_scanner_scope_lookup_symbol g_scanner_scope_remove_symbol g_scanner_freeze_symbol_table g_scanner_thaw_symbol_table g_scanner_lookup_symbol g_scanner_warn g_scanner_error g_scanner_unexp_token GScannerMsgFunc g_scanner_destroy GTokenType GTokenValue GErrorType G_CSET_a_2_z G_CSET_A_2_Z G_CSET_DIGITS G_CSET_LATINC G_CSET_LATINS g_scanner_add_symbol g_scanner_remove_symbol g_scanner_foreach_symbol
Dynamic Loading of Modules modules gmodule.h GModule g_module_supported g_module_build_path g_module_open GModuleFlags g_module_symbol g_module_name g_module_make_resident g_module_close g_module_error GModuleCheckInit GModuleUnload G_MODULE_EXPORT G_MODULE_IMPORT
Automatic String Completion completion GCompletion g_completion_new GCompletionFunc g_completion_add_items g_completion_remove_items g_completion_clear_items g_completion_complete g_completion_free
Windows Compatability Functions windows MAXPATHLEN NAME_MAX pid_t pipe ftruncate opendir readdir rewinddir closedir g_win32_error_message g_win32_getlocale g_win32_ftruncate g_win32_closedir g_win32_opendir g_win32_rewinddir
# Data Structures
Memory Chunks memory_chunks GMemChunk G_ALLOC_AND_FREE G_ALLOC_ONLY g_mem_chunk_new g_mem_chunk_alloc g_mem_chunk_alloc0 g_mem_chunk_free g_mem_chunk_destroy g_mem_chunk_create g_chunk_new g_chunk_new0 g_chunk_free g_mem_chunk_reset g_mem_chunk_clean g_blow_chunks g_mem_chunk_info g_mem_chunk_print
Doubly-Linked Lists linked_lists_double GList g_list_append g_list_prepend g_list_insert g_list_insert_sorted g_list_remove g_list_remove_link g_list_delete_link g_list_free g_list_alloc g_list_free_1 g_list_length g_list_copy g_list_reverse g_list_sort g_list_concat g_list_foreach GFunc g_list_first g_list_last g_list_previous g_list_next g_list_nth g_list_nth_data g_list_find g_list_find_custom g_list_position g_list_index g_list_push_allocator g_list_pop_allocator
Singly-Linked Lists linked_lists_single GSList g_slist_alloc g_slist_append g_slist_prepend g_slist_insert g_slist_insert_before g_slist_insert_sorted g_slist_remove g_slist_remove_link g_slist_delete_link g_slist_free g_slist_free_1 g_slist_length g_slist_copy g_slist_reverse g_slist_sort g_slist_concat g_slist_foreach g_slist_last g_slist_next g_slist_nth g_slist_nth_data g_slist_find g_slist_find_custom g_slist_position g_slist_index g_slist_push_allocator g_slist_pop_allocator
Double-ended Queues queue GQueue g_queue_new g_queue_free g_queue_push_head g_queue_push_tail g_queue_pop_head g_queue_pop_tail g_queue_is_empty g_queue_peek_head g_queue_peek_tail g_queue_push_head_link g_queue_push_tail_link g_queue_pop_head_link g_queue_pop_tail_link
Trash Stacks trash_stack GTrashStack g_trash_stack_push g_trash_stack_pop g_trash_stack_peek g_trash_stack_height
Hash Tables hash_tables GHashTable g_hash_table_new GHashFunc GCompareFunc g_hash_table_insert g_hash_table_size g_hash_table_lookup g_hash_table_lookup_extended g_hash_table_foreach GHFunc g_hash_table_remove g_hash_table_foreach_remove GHRFunc g_hash_table_freeze g_hash_table_thaw g_hash_table_destroy g_direct_equal g_direct_hash g_int_equal g_int_hash g_str_equal g_str_hash
Strings strings GString g_string_new g_string_sized_new g_string_assign g_string_sprintf g_string_sprintfa g_string_append g_string_append_c g_string_append_len g_string_prepend g_string_prepend_c g_string_prepend_len g_string_insert g_string_insert_c g_string_insert_len g_string_erase g_string_truncate g_string_free g_string_up g_string_down g_string_hash g_string_equal
String Chunks string_chunks GStringChunk g_string_chunk_new g_string_chunk_insert g_string_chunk_insert_const g_string_chunk_free
Arrays arrays GArray g_array_new g_array_sized_new g_array_append_val g_array_append_vals g_array_prepend_val g_array_prepend_vals g_array_insert_val g_array_insert_vals g_array_remove_index g_array_remove_index_fast g_array_index g_array_set_size g_array_free
Pointer Arrays arrays_pointer GPtrArray g_ptr_array_new g_ptr_array_sized_new g_ptr_array_add g_ptr_array_remove g_ptr_array_remove_index g_ptr_array_remove_fast g_ptr_array_remove_index_fast g_ptr_array_set_size g_ptr_array_index g_ptr_array_free
Byte Arrays arrays_byte GByteArray g_byte_array_new g_byte_array_sized_new g_byte_array_append g_byte_array_prepend g_byte_array_remove_index g_byte_array_remove_index_fast g_byte_array_set_size g_byte_array_free
Balanced Binary Trees trees-binary GTree g_tree_new g_tree_insert g_tree_nnodes g_tree_height g_tree_lookup g_tree_search g_tree_traverse GTraverseFunc GTraverseType g_tree_remove g_tree_destroy
N-ary Trees trees-nary GNode g_node_new g_node_copy g_node_insert g_node_insert_before g_node_insert_after g_node_append g_node_prepend g_node_insert_data g_node_insert_data_before g_node_append_data g_node_prepend_data g_node_reverse_children g_node_traverse GTraverseFlags GNodeTraverseFunc g_node_children_foreach GNodeForeachFunc g_node_get_root g_node_find g_node_find_child g_node_child_index g_node_child_position g_node_first_child g_node_last_child g_node_nth_child g_node_first_sibling g_node_next_sibling g_node_prev_sibling g_node_last_sibling G_NODE_IS_LEAF G_NODE_IS_ROOT g_node_depth g_node_n_nodes g_node_n_children g_node_is_ancestor g_node_max_height g_node_unlink g_node_destroy g_node_push_allocator g_node_pop_allocator
Quarks quarks GQuark g_quark_from_string g_quark_from_static_string g_quark_to_string g_quark_try_string
Keyed Data Lists datalist GData g_datalist_init g_datalist_id_set_data g_datalist_id_set_data_full g_datalist_id_get_data g_datalist_id_remove_data g_datalist_id_remove_no_notify g_datalist_set_data g_datalist_set_data_full g_datalist_get_data g_datalist_remove_data g_datalist_remove_no_notify g_datalist_foreach g_datalist_clear
Datasets datasets g_dataset_id_set_data g_dataset_id_set_data_full GDestroyNotify g_dataset_id_get_data g_dataset_id_remove_data g_dataset_id_remove_no_notify g_dataset_set_data g_dataset_set_data_full g_dataset_get_data g_dataset_remove_data g_dataset_remove_no_notify g_dataset_foreach GDataForeachFunc g_dataset_destroy
Relations and Tuples relations GRelation g_relation_new g_relation_index g_relation_insert g_relation_exists g_relation_count g_relation_select g_relation_delete g_relation_destroy g_relation_print GTuples g_tuples_destroy g_tuples_index
Caches caches GCache g_cache_new g_cache_insert g_cache_remove g_cache_destroy g_cache_key_foreach g_cache_value_foreach GCacheDestroyFunc GCacheDupFunc GCacheNewFunc
Memory Allocators allocators GAllocator g_allocator_new g_allocator_free G_ALLOCATOR_LIST G_ALLOCATOR_NODE G_ALLOCATOR_SLIST
Random Numbers random_numbers GRand g_rand_new_with_seed g_rand_new g_rand_free g_rand_set_seed g_rand_int g_rand_int_range g_rand_double g_rand_double_range g_random_set_seed g_random_int g_random_int_range g_random_double g_random_double_range
Unicode Manipulation unicode gunichar gunichar2 g_get_charset g_unichar_isalnum g_unichar_isalpha g_unichar_iscntrl g_unichar_isdigit g_unichar_isgraph g_unichar_islower g_unichar_isprint g_unichar_ispunct g_unichar_isspace g_unichar_isupper g_unichar_isxdigit g_unichar_istitle g_unichar_isdefined g_unichar_iswide g_unichar_toupper g_unichar_tolower g_unichar_totitle g_unichar_digit_value g_unichar_xdigit_value GUnicodeType g_unichar_type g_unicode_canonical_ordering g_unicode_canonical_decomposition g_utf8_next_char g_utf8_get_char g_utf8_offset_to_pointer g_utf8_pointer_to_offset g_utf8_prev_char g_utf8_find_next_char g_utf8_find_prev_char g_utf8_strlen g_utf8_strncpy g_utf8_strchr g_utf8_strrchr g_utf8_to_utf16 g_utf8_to_ucs4 g_utf16_to_ucs4 g_utf16_to_utf8 g_ucs4_to_utf16 g_ucs4_to_utf8 g_unichar_to_utf8