<INCLUDE>glib.h</INCLUDE> <SECTION> <TITLE>Basic Types</TITLE> <FILE>types</FILE> gboolean gpointer gconstpointer gchar guchar <SUBSECTION> gint guint gshort gushort glong gulong <SUBSECTION> gint8 guint8 gint16 guint16 gint32 guint32 <SUBSECTION> G_HAVE_GINT64 gint64 guint64 G_GINT64_CONSTANT <SUBSECTION> gfloat gdouble <SUBSECTION> gsize gssize <SUBSECTION Private> GLIB_SIZEOF_VOID_P GLIB_SIZEOF_LONG GLIB_SIZEOF_SIZE_T </SECTION> <SECTION> <TITLE>Limits of Basic Types</TITLE> <FILE>limits</FILE> G_MININT G_MAXINT G_MAXUINT <SUBSECTION> G_MINSHORT G_MAXSHORT G_MAXUSHORT <SUBSECTION> G_MINLONG G_MAXLONG G_MAXULONG <SUBSECTION> G_MININT8 G_MAXINT8 G_MAXUINT8 <SUBSECTION> G_MININT16 G_MAXINT16 G_MAXUINT16 <SUBSECTION> G_MININT32 G_MAXINT32 G_MAXUINT32 <SUBSECTION> G_MININT64 G_MAXINT64 G_MAXUINT64 <SUBSECTION> G_MAXSIZE <SUBSECTION> G_MINFLOAT G_MAXFLOAT <SUBSECTION> G_MINDOUBLE G_MAXDOUBLE </SECTION> <SECTION> <TITLE>Standard Macros</TITLE> <FILE>macros</FILE> GLIB_MAJOR_VERSION GLIB_MINOR_VERSION GLIB_MICRO_VERSION <SUBSECTION> G_OS_WIN32 G_OS_BEOS G_OS_UNIX <SUBSECTION> GLIB_CHECK_VERSION <SUBSECTION> G_DIR_SEPARATOR G_DIR_SEPARATOR_S G_SEARCHPATH_SEPARATOR G_SEARCHPATH_SEPARATOR_S <SUBSECTION> TRUE FALSE <SUBSECTION> NULL <SUBSECTION> MIN MAX <SUBSECTION> ABS CLAMP <SUBSECTION> G_STRUCT_MEMBER G_STRUCT_MEMBER_P G_STRUCT_OFFSET <SUBSECTION> G_MEM_ALIGN <SUBSECTION> G_CONST_RETURN <SUBSECTION Private> glib_major_version glib_micro_version glib_minor_version glib_interface_age glib_binary_age </SECTION> <SECTION> <TITLE>Type Conversion Macros</TITLE> <FILE>type_conversion</FILE> GINT_TO_POINTER GPOINTER_TO_INT <SUBSECTION> GUINT_TO_POINTER GPOINTER_TO_UINT GSIZE_TO_POINTER GPOINTER_TO_SIZE </SECTION> <SECTION> <TITLE>Byte Order Macros</TITLE> <FILE>byte_order</FILE> G_BYTE_ORDER G_LITTLE_ENDIAN G_BIG_ENDIAN G_PDP_ENDIAN <SUBSECTION> g_htonl g_htons g_ntohl g_ntohs <SUBSECTION> GINT_FROM_BE GINT_FROM_LE GINT_TO_BE GINT_TO_LE <SUBSECTION> GUINT_FROM_BE GUINT_FROM_LE GUINT_TO_BE GUINT_TO_LE <SUBSECTION> GLONG_FROM_BE GLONG_FROM_LE GLONG_TO_BE GLONG_TO_LE <SUBSECTION> GULONG_FROM_BE GULONG_FROM_LE GULONG_TO_BE GULONG_TO_LE <SUBSECTION> GINT16_FROM_BE GINT16_FROM_LE GINT16_TO_BE GINT16_TO_LE <SUBSECTION> GUINT16_FROM_BE GUINT16_FROM_LE GUINT16_TO_BE GUINT16_TO_LE <SUBSECTION> GINT32_FROM_BE GINT32_FROM_LE GINT32_TO_BE GINT32_TO_LE <SUBSECTION> GUINT32_FROM_BE GUINT32_FROM_LE GUINT32_TO_BE GUINT32_TO_LE <SUBSECTION> GINT64_FROM_BE GINT64_FROM_LE GINT64_TO_BE GINT64_TO_LE <SUBSECTION> GUINT64_FROM_BE GUINT64_FROM_LE GUINT64_TO_BE GUINT64_TO_LE <SUBSECTION> GUINT16_SWAP_BE_PDP GUINT16_SWAP_LE_BE GUINT16_SWAP_LE_PDP <SUBSECTION> GUINT32_SWAP_BE_PDP GUINT32_SWAP_LE_BE GUINT32_SWAP_LE_PDP <SUBSECTION> GUINT64_SWAP_LE_BE <SUBSECTION Private> GUINT16_SWAP_LE_BE_CONSTANT GUINT32_SWAP_LE_BE_CONSTANT GUINT64_SWAP_LE_BE_CONSTANT GUINT16_SWAP_LE_BE_IA32 GUINT32_SWAP_LE_BE_IA32 GUINT64_SWAP_LE_BE_IA32 GUINT16_SWAP_LE_BE_IA64 GUINT32_SWAP_LE_BE_IA64 GUINT64_SWAP_LE_BE_IA64 GUINT32_SWAP_LE_BE_X86_64 GUINT64_SWAP_LE_BE_X86_64 </SECTION> <SECTION> <TITLE>Numerical Definitions</TITLE> <FILE>numerical</FILE> G_IEEE754_FLOAT_BIAS G_IEEE754_DOUBLE_BIAS GFloatIEEE754 GDoubleIEEE754 <SUBSECTION> <SUBSECTION> G_E G_LN2 G_LN10 G_PI G_PI_2 G_PI_4 G_SQRT2 G_LOG_2_BASE_10 </SECTION> <SECTION> <TITLE>Miscellaneous Macros</TITLE> <FILE>macros_misc</FILE> G_INLINE_FUNC <SUBSECTION> G_STMT_START G_STMT_END <SUBSECTION> G_BEGIN_DECLS G_END_DECLS <SUBSECTION> G_N_ELEMENTS <SUBSECTION> G_VA_COPY <SUBSECTION> G_STRINGIFY <SUBSECTION> G_GNUC_EXTENSION G_GNUC_CONST G_GNUC_DEPRECATED 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_GNUC_NO_INSTRUMENT <SUBSECTION> G_LIKELY G_UNLIKELY <SUBSECTION> G_STRLOC G_STRFUNC <SUBSECTION> G_GINT16_MODIFIER G_GINT16_FORMAT G_GUINT16_FORMAT G_GINT32_MODIFIER G_GINT32_FORMAT G_GUINT32_FORMAT G_GINT64_MODIFIER G_GINT64_FORMAT G_GUINT64_FORMAT G_GSIZE_MODIFIER G_GSIZE_FORMAT G_GSSIZE_FORMAT <SUBSECTION Private> GLIB_VAR G_STRINGIFY_ARG G_HAVE_INLINE G_CAN_INLINE inline G_HAVE___INLINE G_HAVE___INLINE__ G_HAVE_GNUC_VARARGS G_HAVE_ISO_VARARGS G_HAVE_GROWING_STACK </SECTION> <SECTION> <TITLE>Error Reporting</TITLE> <FILE>error_reporting</FILE> 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 </SECTION> <SECTION> <TITLE>The Main Event Loop</TITLE> <FILE>main</FILE> GMainLoop g_main_loop_new g_main_loop_ref g_main_loop_unref g_main_loop_run g_main_loop_quit g_main_loop_is_running g_main_loop_get_context g_main_new g_main_destroy g_main_run g_main_quit g_main_is_running <SUBSECTION> G_PRIORITY_HIGH G_PRIORITY_DEFAULT G_PRIORITY_HIGH_IDLE G_PRIORITY_DEFAULT_IDLE G_PRIORITY_LOW <SUBSECTION> GMainContext g_main_context_new g_main_context_ref g_main_context_unref g_main_context_default g_main_context_iteration g_main_iteration g_main_context_pending g_main_pending g_main_context_find_source_by_id g_main_context_find_source_by_user_data g_main_context_find_source_by_funcs_user_data g_main_context_wakeup g_main_context_acquire g_main_context_release g_main_context_wait g_main_context_prepare g_main_context_query g_main_context_check g_main_context_dispatch g_main_context_set_poll_func g_main_context_get_poll_func GPollFunc g_main_context_add_poll g_main_context_remove_poll g_main_depth g_main_set_poll_func <SUBSECTION> g_timeout_source_new g_timeout_add g_timeout_add_full <SUBSECTION> g_idle_source_new g_idle_add g_idle_add_full g_idle_remove_by_data <SUBSECTION> GPid GChildWatchFunc g_child_watch_source_new g_child_watch_add g_child_watch_add_full <SUBSECTION> GPollFD <SUBSECTION> GSource GSourceDummyMarshal GSourceFuncs GSourceCallbackFuncs g_source_new g_source_ref g_source_unref g_source_attach g_source_destroy g_source_set_priority g_source_get_priority g_source_set_can_recurse g_source_get_can_recurse g_source_get_id g_source_get_context g_source_set_callback GSourceFunc g_source_set_callback_indirect g_source_add_poll g_source_remove_poll g_source_get_current_time g_source_remove g_source_remove_by_funcs_user_data g_source_remove_by_user_data <SUBSECTION Private> 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_WIN32_MSG_HANDLE g_idle_funcs g_timeout_funcs g_child_watch_funcs </SECTION> <SECTION> <TITLE>Threads</TITLE> <FILE>threads</FILE> <SUBSECTION> G_THREADS_ENABLED G_THREADS_IMPL_POSIX G_THREADS_IMPL_SOLARIS G_THREADS_IMPL_NONE <SUBSECTION> G_THREAD_ERROR GThreadError <SUBSECTION> GThreadFunctions g_thread_init g_thread_supported <SUBSECTION> GThreadFunc GThreadPriority GThread g_thread_create g_thread_create_full g_thread_self g_thread_join g_thread_set_priority g_thread_yield g_thread_exit <SUBSECTION> GMutex g_mutex_new g_mutex_lock g_mutex_trylock g_mutex_unlock g_mutex_free <SUBSECTION> GStaticMutex G_STATIC_MUTEX_INIT g_static_mutex_init g_static_mutex_lock g_static_mutex_trylock g_static_mutex_unlock g_static_mutex_get_mutex g_static_mutex_free <SUBSECTION> G_LOCK_DEFINE G_LOCK_DEFINE_STATIC G_LOCK_EXTERN G_LOCK G_TRYLOCK G_UNLOCK <SUBSECTION> GStaticRecMutex G_STATIC_REC_MUTEX_INIT 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 g_static_rec_mutex_free <SUBSECTION> GStaticRWLock G_STATIC_RW_LOCK_INIT 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 <SUBSECTION> GCond g_cond_new g_cond_signal g_cond_broadcast g_cond_wait g_cond_timed_wait g_cond_free <SUBSECTION> GPrivate g_private_new g_private_get g_private_set <SUBSECTION> GStaticPrivate G_STATIC_PRIVATE_INIT g_static_private_init g_static_private_get g_static_private_set g_static_private_free <SUBSECTION> GOnce GOnceStatus G_ONCE_INIT g_once <SUBSECTION Private> G_THREAD_ECF G_THREAD_CF G_THREAD_UF g_static_mutex_get_mutex_impl g_static_mutex_get_mutex_impl_shortcut G_MUTEX_DEBUG_MAGIC g_thread_init_with_errorcheck_mutexes G_LOCK_NAME glib_dummy_decl GSystemThread g_thread_use_default_impl g_threads_got_initialized g_thread_functions_for_glib_use g_thread_init_glib g_thread_error_quark g_once_impl </SECTION> <SECTION> <TITLE>Thread Pools</TITLE> <FILE>thread_pools</FILE> 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 </SECTION> <SECTION> <TITLE>Asynchronous Queues</TITLE> <FILE>async_queues</FILE> GAsyncQueue g_async_queue_new g_async_queue_ref g_async_queue_unref g_async_queue_push g_async_queue_pop g_async_queue_try_pop g_async_queue_timed_pop g_async_queue_length <SUBSECTION> g_async_queue_lock g_async_queue_unlock g_async_queue_ref_unlocked g_async_queue_unref_and_unlock g_async_queue_push_unlocked g_async_queue_pop_unlocked g_async_queue_try_pop_unlocked g_async_queue_timed_pop_unlocked g_async_queue_length_unlocked </SECTION> <SECTION> <TITLE>Atomic Operations</TITLE> <FILE>atomic_operations</FILE> g_atomic_int_get g_atomic_int_add g_atomic_int_exchange_and_add g_atomic_int_compare_and_exchange g_atomic_pointer_get g_atomic_pointer_compare_and_exchange g_atomic_int_inc g_atomic_int_dec_and_test </SECTION> <SECTION> <TITLE>IO Channels</TITLE> <FILE>iochannels</FILE> GIOChannel <SUBSECTION> g_io_channel_unix_new g_io_channel_unix_get_fd <SUBSECTION> g_io_channel_init <SUBSECTION> g_io_channel_new_file g_io_channel_read_chars g_io_channel_read_unichar g_io_channel_read_line g_io_channel_read_line_string g_io_channel_read_to_end g_io_channel_write_chars g_io_channel_write_unichar g_io_channel_flush g_io_channel_seek_position GSeekType g_io_channel_shutdown <SUBSECTION> GIOStatus GIOChannelError G_IO_CHANNEL_ERROR g_io_channel_error_from_errno <SUBSECTION> g_io_channel_ref g_io_channel_unref <SUBSECTION> g_io_create_watch g_io_add_watch g_io_add_watch_full GIOCondition GIOFunc <SUBSECTION> GIOFuncs <SUBSECTION> g_io_channel_get_buffer_size g_io_channel_set_buffer_size g_io_channel_get_buffer_condition g_io_channel_get_flags g_io_channel_set_flags GIOFlags g_io_channel_get_line_term g_io_channel_set_line_term g_io_channel_get_buffered g_io_channel_set_buffered g_io_channel_get_encoding g_io_channel_set_encoding g_io_channel_get_close_on_unref g_io_channel_set_close_on_unref <SUBSECTION Private> g_io_channel_win32_new_fd g_io_channel_win32_new_messages g_io_channel_win32_new_socket g_io_channel_win32_poll g_io_channel_win32_make_pollfd g_io_channel_win32_get_fd <SUBSECTION> g_io_channel_read GIOError g_io_channel_write g_io_channel_seek g_io_channel_close <SUBSECTION Private> g_io_channel_error_quark g_io_watch_funcs </SECTION> <SECTION> <TITLE>Memory Allocation</TITLE> <FILE>memory</FILE> g_new g_new0 g_renew <SUBSECTION> g_malloc g_malloc0 g_realloc g_try_malloc g_try_realloc <SUBSECTION> g_free <SUBSECTION> g_alloca g_newa <SUBSECTION> g_memmove g_memdup <SUBSECTION> GMemVTable g_mem_set_vtable g_mem_is_system_malloc <SUBSECTION> glib_mem_profiler_table g_mem_profile </SECTION> <SECTION> <TITLE>Warnings and Assertions</TITLE> <FILE>warnings</FILE> g_print g_set_print_handler GPrintFunc <SUBSECTION> g_printerr g_set_printerr_handler <SUBSECTION> g_return_if_fail g_return_val_if_fail g_return_if_reached g_return_val_if_reached <SUBSECTION> g_assert g_assert_not_reached <SUBSECTION> g_on_error_query g_on_error_stack_trace <SUBSECTION> G_BREAKPOINT </SECTION> <SECTION> <TITLE>Glob-style pattern matching</TITLE> <FILE>patterns</FILE> GPatternSpec g_pattern_spec_new g_pattern_spec_free g_pattern_spec_equal g_pattern_match g_pattern_match_string g_pattern_match_simple </SECTION> <SECTION> <TITLE>Message Logging</TITLE> <FILE>messages</FILE> G_LOG_DOMAIN G_LOG_FATAL_MASK G_LOG_LEVEL_USER_SHIFT GLogFunc GLogLevelFlags <SUBSECTION> g_log g_logv g_message g_warning g_critical g_error <SUBSECTION> g_log_set_handler g_log_remove_handler g_log_set_always_fatal g_log_set_fatal_mask g_log_default_handler </SECTION> <SECTION> <TITLE>Timers</TITLE> <FILE>timers</FILE> GTimer g_timer_new g_timer_start g_timer_stop g_timer_continue g_timer_elapsed g_timer_reset g_timer_destroy </SECTION> <SECTION> <TITLE>Spawning Processes</TITLE> <FILE>spawn</FILE> GSpawnError G_SPAWN_ERROR GSpawnFlags GSpawnChildSetupFunc g_spawn_async_with_pipes g_spawn_async g_spawn_sync g_spawn_command_line_async g_spawn_command_line_sync g_spawn_close_pid <SUBSECTION Private> g_spawn_error_quark </SECTION> <SECTION> <TITLE>Simple XML Subset Parser</TITLE> <FILE>markup</FILE> GMarkupError G_MARKUP_ERROR GMarkupParseFlags GMarkupParseContext GMarkupParser g_markup_escape_text g_markup_printf_escaped g_markup_vprintf_escaped g_markup_parse_context_end_parse g_markup_parse_context_free g_markup_parse_context_get_position g_markup_parse_context_get_element g_markup_parse_context_new g_markup_parse_context_parse <SUBSECTION Private> g_markup_error_quark </SECTION> <SECTION> <TITLE>Shell-related Utilities</TITLE> <FILE>shell</FILE> GShellError G_SHELL_ERROR g_shell_parse_argv g_shell_quote g_shell_unquote <SUBSECTION Private> g_shell_error_quark </SECTION> <SECTION> <TITLE>File Utilities</TITLE> <FILE>fileutils</FILE> GFileError G_FILE_ERROR GFileTest g_file_error_from_errno g_file_get_contents g_file_test g_mkstemp g_file_open_tmp g_file_read_link <SUBSECTION> GDir g_dir_open g_dir_read_name g_dir_rewind g_dir_close <SUBSECTION Private> g_file_error_quark </SECTION> <SECTION> <TITLE>String Utility Functions</TITLE> <FILE>string_utils</FILE> <INCLUDE>glib.h,glib/gprintf.h</INCLUDE> g_strdup g_strndup g_strdupv g_strnfill g_stpcpy g_strstr_len g_strrstr g_strrstr_len g_str_has_prefix g_str_has_suffix <SUBSECTION> g_strlcpy g_strlcat <SUBSECTION> g_strdup_printf g_strdup_vprintf g_printf g_vprintf g_fprintf g_vfprintf g_sprintf g_vsprintf g_snprintf g_vsnprintf g_vasprintf g_printf_string_upper_bound <SUBSECTION> g_ascii_isalnum g_ascii_isalpha g_ascii_iscntrl g_ascii_isdigit g_ascii_isgraph g_ascii_islower g_ascii_isprint g_ascii_ispunct g_ascii_isspace g_ascii_isupper g_ascii_isxdigit <SUBSECTION> g_ascii_digit_value g_ascii_xdigit_value <SUBSECTION> g_ascii_strcasecmp g_ascii_strncasecmp <SUBSECTION> g_ascii_strup g_ascii_strdown <SUBSECTION> g_ascii_tolower g_ascii_toupper <SUBSECTION> g_string_ascii_up g_string_ascii_down <SUBSECTION> g_strup g_strdown <SUBSECTION> g_strcasecmp g_strncasecmp <SUBSECTION> g_strreverse <SUBSECTION> g_ascii_strtoull G_ASCII_DTOSTR_BUF_SIZE g_ascii_strtod g_ascii_dtostr g_ascii_formatd g_strtod <SUBSECTION> g_strchug g_strchomp g_strstrip <SUBSECTION> g_strdelimit G_STR_DELIMITERS g_strescape g_strcompress g_strcanon g_strsplit g_strsplit_set g_strfreev g_strconcat g_strjoin g_strjoinv <SUBSECTION> g_strerror g_strsignal <SUBSECTION Private> GAsciiType </SECTION> <SECTION> <TITLE>Date and Time Functions</TITLE> <FILE>date</FILE> G_USEC_PER_SEC GTimeVal g_get_current_time g_usleep g_time_val_add <SUBSECTION> GDate GTime GDateDMY GDateDay GDateMonth GDateYear GDateWeekday <SUBSECTION> G_DATE_BAD_DAY G_DATE_BAD_JULIAN G_DATE_BAD_YEAR <SUBSECTION> g_date_new g_date_new_dmy g_date_new_julian g_date_clear g_date_free <SUBSECTION> 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 <SUBSECTION> 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_days_between g_date_compare g_date_clamp g_date_order <SUBSECTION> g_date_get_day g_date_get_month g_date_get_year g_date_get_julian g_date_get_weekday g_date_get_day_of_year <SUBSECTION> g_date_get_days_in_month g_date_is_first_of_month g_date_is_last_of_month g_date_is_leap_year g_date_get_monday_week_of_year g_date_get_monday_weeks_in_year g_date_get_sunday_week_of_year g_date_get_sunday_weeks_in_year <SUBSECTION> g_date_strftime g_date_to_struct_tm <SUBSECTION> 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 <SUBSECTION Private> g_date_weekday g_date_month g_date_year g_date_day g_date_julian g_date_day_of_year g_date_monday_week_of_year g_date_sunday_week_of_year g_date_days_in_month g_date_monday_weeks_in_year g_date_sunday_weeks_in_year </SECTION> <SECTION> <TITLE>Hook Functions</TITLE> <FILE>hooks</FILE> GHookList GHookFinalizeFunc GHook GHookFunc GHookCheckFunc <SUBSECTION> g_hook_list_init g_hook_list_invoke g_hook_list_invoke_check g_hook_list_marshal GHookMarshaller g_hook_list_marshal_check GHookCheckMarshaller g_hook_list_clear <SUBSECTION> g_hook_alloc g_hook_append g_hook_prepend g_hook_insert_before g_hook_insert_sorted GHookCompareFunc g_hook_compare_ids <SUBSECTION> g_hook_get g_hook_find GHookFindFunc g_hook_find_data g_hook_find_func g_hook_find_func_data <SUBSECTION> g_hook_first_valid g_hook_next_valid GHookFlagMask G_HOOK_FLAGS G_HOOK_FLAG_USER_SHIFT <SUBSECTION> G_HOOK G_HOOK_IS_VALID G_HOOK_ACTIVE G_HOOK_IN_CALL G_HOOK_IS_UNLINKED <SUBSECTION> g_hook_ref g_hook_unref g_hook_free g_hook_destroy g_hook_destroy_link </SECTION> <SECTION> <TITLE>Miscellaneous Utility Functions</TITLE> <FILE>misc_utils</FILE> g_get_application_name g_set_application_name g_get_prgname g_set_prgname g_getenv g_setenv g_unsetenv g_get_user_name g_get_real_name <SUBSECTION> 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_basename g_path_get_dirname g_build_filename g_build_path <SUBSECTION> g_find_program_in_path <SUBSECTION> g_bit_nth_lsf g_bit_nth_msf g_bit_storage <SUBSECTION> g_spaced_primes_closest <SUBSECTION> g_atexit <SUBSECTION> g_parse_debug_string GDebugKey <SUBSECTION> GVoidFunc GFreeFunc <SUBSECTION> g_qsort_with_data <SUBSECTION> g_nullify_pointer <SUBSECTION Private> G_NATIVE_ATEXIT g_ATEXIT ATEXIT </SECTION> <SECTION> <TITLE>Lexical Scanner</TITLE> <FILE>scanner</FILE> GScanner g_scanner_new GScannerConfig <SUBSECTION> g_scanner_input_file g_scanner_sync_file_offset g_scanner_input_text g_scanner_peek_next_token g_scanner_get_next_token <SUBSECTION> g_scanner_cur_line g_scanner_cur_position g_scanner_cur_token g_scanner_cur_value g_scanner_eof <SUBSECTION> g_scanner_set_scope g_scanner_scope_add_symbol g_scanner_scope_foreach_symbol g_scanner_scope_lookup_symbol g_scanner_scope_remove_symbol <SUBSECTION> g_scanner_freeze_symbol_table g_scanner_thaw_symbol_table g_scanner_lookup_symbol <SUBSECTION> g_scanner_warn g_scanner_error g_scanner_unexp_token GScannerMsgFunc <SUBSECTION> g_scanner_destroy <SUBSECTION> GTokenType GTokenValue GErrorType G_CSET_a_2_z G_CSET_A_2_Z G_CSET_DIGITS G_CSET_LATINC G_CSET_LATINS <SUBSECTION> g_scanner_add_symbol g_scanner_remove_symbol g_scanner_foreach_symbol </SECTION> <SECTION> <TITLE>Dynamic Loading of Modules</TITLE> <FILE>modules</FILE> <INCLUDE>gmodule.h</INCLUDE> 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 <SUBSECTION> GModuleCheckInit GModuleUnload G_MODULE_SUFFIX G_MODULE_EXPORT G_MODULE_IMPORT </SECTION> <SECTION> <TITLE>Automatic String Completion</TITLE> <FILE>completion</FILE> GCompletion g_completion_new GCompletionFunc g_completion_add_items g_completion_remove_items g_completion_clear_items g_completion_complete g_completion_complete_utf8 g_completion_set_compare GCompletionStrncmpFunc g_completion_free </SECTION> <SECTION> <TITLE>Windows Compatability Functions</TITLE> <FILE>windows</FILE> MAXPATHLEN pid_t pipe ftruncate g_win32_error_message g_win32_getlocale g_win32_get_package_installation_directory g_win32_get_package_installation_subdirectory G_WIN32_DLLMAIN_FOR_DLL_NAME <SUBSECTION Private> g_win32_ftruncate </SECTION> # Data Structures <SECTION> <TITLE>Memory Chunks</TITLE> <FILE>memory_chunks</FILE> GMemChunk G_ALLOC_AND_FREE G_ALLOC_ONLY <SUBSECTION> g_mem_chunk_new g_mem_chunk_alloc g_mem_chunk_alloc0 g_mem_chunk_free g_mem_chunk_destroy <SUBSECTION> g_mem_chunk_create g_chunk_new g_chunk_new0 g_chunk_free <SUBSECTION> g_mem_chunk_reset g_mem_chunk_clean g_blow_chunks <SUBSECTION> g_mem_chunk_info g_mem_chunk_print </SECTION> <SECTION> <TITLE>Doubly-Linked Lists</TITLE> <FILE>linked_lists_double</FILE> GList <SUBSECTION> g_list_append g_list_prepend g_list_insert g_list_insert_before g_list_insert_sorted g_list_remove g_list_remove_link g_list_delete_link g_list_remove_all g_list_free <SUBSECTION> g_list_alloc g_list_free_1 <SUBSECTION> g_list_length g_list_copy g_list_reverse g_list_sort GCompareFunc g_list_sort_with_data GCompareDataFunc g_list_concat g_list_foreach GFunc <SUBSECTION> g_list_first g_list_last g_list_previous g_list_next g_list_nth g_list_nth_data g_list_nth_prev <SUBSECTION> g_list_find g_list_find_custom g_list_position g_list_index <SUBSECTION> g_list_push_allocator g_list_pop_allocator </SECTION> <SECTION> <TITLE>Singly-Linked Lists</TITLE> <FILE>linked_lists_single</FILE> GSList <SUBSECTION> 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_remove_all g_slist_free g_slist_free_1 <SUBSECTION> g_slist_length g_slist_copy g_slist_reverse g_slist_sort g_slist_sort_with_data g_slist_concat g_slist_foreach <SUBSECTION> g_slist_last g_slist_next g_slist_nth g_slist_nth_data <SUBSECTION> g_slist_find g_slist_find_custom g_slist_position g_slist_index <SUBSECTION> g_slist_push_allocator g_slist_pop_allocator </SECTION> <SECTION> <TITLE>Double-ended Queues</TITLE> <FILE>queue</FILE> GQueue g_queue_new g_queue_free g_queue_is_empty g_queue_get_length g_queue_reverse g_queue_copy g_queue_foreach g_queue_find g_queue_find_custom g_queue_sort g_queue_push_head g_queue_push_tail g_queue_push_nth g_queue_pop_head g_queue_pop_tail g_queue_pop_nth g_queue_peek_head g_queue_peek_tail g_queue_peek_nth g_queue_index g_queue_remove g_queue_remove_all g_queue_insert_before g_queue_insert_after g_queue_insert_sorted g_queue_push_head_link g_queue_push_tail_link g_queue_push_nth_link g_queue_pop_head_link g_queue_pop_tail_link g_queue_pop_nth_link g_queue_peek_head_link g_queue_peek_tail_link g_queue_peek_nth_link g_queue_link_index g_queue_unlink g_queue_delete_link </SECTION> <SECTION> <TITLE>Trash Stacks</TITLE> <FILE>trash_stack</FILE> GTrashStack g_trash_stack_push g_trash_stack_pop g_trash_stack_peek g_trash_stack_height </SECTION> <SECTION> <TITLE>Hash Tables</TITLE> <FILE>hash_tables</FILE> GHashTable g_hash_table_new g_hash_table_new_full GHashFunc GEqualFunc g_hash_table_insert g_hash_table_replace g_hash_table_size g_hash_table_lookup g_hash_table_lookup_extended g_hash_table_foreach g_hash_table_find GHFunc g_hash_table_remove g_hash_table_steal g_hash_table_foreach_remove g_hash_table_foreach_steal GHRFunc g_hash_table_freeze g_hash_table_thaw g_hash_table_destroy <SUBSECTION> g_direct_equal g_direct_hash g_int_equal g_int_hash g_str_equal g_str_hash </SECTION> <SECTION> <TITLE>Strings</TITLE> <FILE>strings</FILE> GString g_string_new g_string_new_len g_string_sized_new g_string_assign g_string_sprintf g_string_sprintfa g_string_printf g_string_append_printf g_string_append g_string_append_c g_string_append_unichar g_string_append_len g_string_prepend g_string_prepend_c g_string_prepend_unichar g_string_prepend_len g_string_insert g_string_insert_c g_string_insert_unichar g_string_insert_len g_string_erase g_string_truncate g_string_set_size g_string_free <SUBSECTION> g_string_up g_string_down <SUBSECTION> g_string_hash g_string_equal </SECTION> <SECTION> <TITLE>String Chunks</TITLE> <FILE>string_chunks</FILE> GStringChunk g_string_chunk_new g_string_chunk_insert g_string_chunk_insert_const g_string_chunk_insert_len g_string_chunk_free </SECTION> <SECTION> <TITLE>Arrays</TITLE> <FILE>arrays</FILE> 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_remove_range g_array_sort g_array_sort_with_data g_array_index g_array_set_size g_array_free </SECTION> <SECTION> <TITLE>Pointer Arrays</TITLE> <FILE>arrays_pointer</FILE> 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_remove_range g_ptr_array_sort g_ptr_array_sort_with_data g_ptr_array_set_size g_ptr_array_index g_ptr_array_free g_ptr_array_foreach </SECTION> <SECTION> <TITLE>Byte Arrays</TITLE> <FILE>arrays_byte</FILE> 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_remove_range g_byte_array_sort g_byte_array_sort_with_data g_byte_array_set_size g_byte_array_free </SECTION> <SECTION> <TITLE>Balanced Binary Trees</TITLE> <FILE>trees-binary</FILE> GTree g_tree_new g_tree_new_with_data g_tree_new_full g_tree_insert g_tree_replace g_tree_nnodes g_tree_height g_tree_lookup g_tree_lookup_extended g_tree_foreach g_tree_traverse GTraverseFunc GTraverseType g_tree_search g_tree_remove g_tree_steal g_tree_destroy </SECTION> <SECTION> <TITLE>N-ary Trees</TITLE> <FILE>trees-nary</FILE> GNode g_node_new g_node_copy GCopyFunc g_node_copy_deep <SUBSECTION> g_node_insert g_node_insert_before g_node_insert_after g_node_append g_node_prepend <SUBSECTION> g_node_insert_data g_node_insert_data_before g_node_append_data g_node_prepend_data <SUBSECTION> g_node_reverse_children g_node_traverse GTraverseFlags GNodeTraverseFunc g_node_children_foreach GNodeForeachFunc <SUBSECTION> 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 <SUBSECTION> 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 <SUBSECTION> g_node_unlink g_node_destroy <SUBSECTION> g_node_push_allocator g_node_pop_allocator </SECTION> <SECTION> <TITLE>Quarks</TITLE> <FILE>quarks</FILE> GQuark g_quark_from_string g_quark_from_static_string g_quark_to_string g_quark_try_string </SECTION> <SECTION> <TITLE>Keyed Data Lists</TITLE> <FILE>datalist</FILE> GData g_datalist_init <SUBSECTION> 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 <SUBSECTION> g_datalist_set_data g_datalist_set_data_full g_datalist_get_data g_datalist_remove_data g_datalist_remove_no_notify <SUBSECTION> g_datalist_foreach g_datalist_clear </SECTION> <SECTION> <TITLE>Datasets</TITLE> <FILE>datasets</FILE> 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 <SUBSECTION> g_dataset_set_data g_dataset_set_data_full g_dataset_get_data g_dataset_remove_data g_dataset_remove_no_notify <SUBSECTION> g_dataset_foreach GDataForeachFunc g_dataset_destroy </SECTION> <SECTION> <TITLE>Relations and Tuples</TITLE> <FILE>relations</FILE> 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 <SUBSECTION> g_relation_print <SUBSECTION> GTuples g_tuples_destroy g_tuples_index </SECTION> <SECTION> <TITLE>Caches</TITLE> <FILE>caches</FILE> GCache g_cache_new g_cache_insert g_cache_remove g_cache_destroy <SUBSECTION> g_cache_key_foreach g_cache_value_foreach <SUBSECTION> GCacheDestroyFunc GCacheDupFunc GCacheNewFunc </SECTION> <SECTION> <TITLE>Memory Allocators</TITLE> <FILE>allocators</FILE> GAllocator g_allocator_new g_allocator_free <SUBSECTION Private> G_ALLOCATOR_LIST G_ALLOCATOR_NODE G_ALLOCATOR_SLIST </SECTION> <SECTION> <TITLE>Random Numbers</TITLE> <FILE>random_numbers</FILE> GRand g_rand_new_with_seed g_rand_new_with_seed_array g_rand_new g_rand_copy g_rand_free g_rand_set_seed g_rand_set_seed_array g_rand_boolean g_rand_int g_rand_int_range g_rand_double g_rand_double_range g_random_set_seed g_random_boolean g_random_int g_random_int_range g_random_double g_random_double_range </SECTION> <SECTION> <TITLE>Character Set Conversion</TITLE> <FILE>conversions</FILE> g_convert g_convert_with_fallback GIConv g_convert_with_iconv G_CONVERT_ERROR g_iconv_open g_iconv g_iconv_close g_locale_to_utf8 g_filename_to_utf8 g_filename_from_utf8 g_filename_from_uri g_filename_to_uri g_locale_from_utf8 GConvertError <SUBSECTION> g_get_charset <SUBSECTION Private> g_convert_error_quark </SECTION> <SECTION> <TITLE>Unicode Manipulation</TITLE> <FILE>unicode</FILE> gunichar gunichar2 <SUBSECTION> g_unichar_validate 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 GUnicodeBreakType g_unichar_break_type g_unicode_canonical_ordering g_unicode_canonical_decomposition g_unichar_get_mirror_char <SUBSECTION> g_utf8_next_char g_utf8_get_char g_utf8_get_char_validated 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_strreverse g_utf8_validate <SUBSECTION> g_utf8_strup g_utf8_strdown g_utf8_casefold g_utf8_normalize GNormalizeMode g_utf8_collate g_utf8_collate_key <SUBSECTION> g_utf8_to_utf16 g_utf8_to_ucs4 g_utf8_to_ucs4_fast g_utf16_to_ucs4 g_utf16_to_utf8 g_ucs4_to_utf16 g_ucs4_to_utf8 g_unichar_to_utf8 </SECTION> <SECTION> <TITLE>I18N</TITLE> <FILE>i18n</FILE> <INCLUDE>glib.h,glib/gi18n.h</INCLUDE> _ Q_ N_ g_strip_context </SECTION>