Changed to take a const argument, and then to cast out const.
[platform/upstream/glib.git] / docs / reference / glib / glib-sections.txt
1 <INCLUDE>glib.h</INCLUDE>
2
3 <SECTION>
4 <TITLE>Basic Types</TITLE>
5 <FILE>types</FILE>
6 gboolean
7 gpointer
8 gconstpointer
9 gchar
10 guchar
11
12 <SUBSECTION>
13 gint
14 guint
15 gshort
16 gushort
17 glong
18 gulong
19
20 <SUBSECTION>
21 gint8
22 guint8
23 gint16
24 guint16
25 gint32
26 guint32
27
28 <SUBSECTION>
29 G_HAVE_GINT64
30 gint64
31 guint64
32 G_GINT64_CONSTANT
33
34 <SUBSECTION>
35 gfloat
36 gdouble
37
38 <SUBSECTION>
39 gsize
40 gssize
41
42 <SUBSECTION Private>
43 gldouble
44 GLIB_SIZEOF_VOID_P
45 GLIB_SIZEOF_LONG
46 </SECTION>
47
48 <SECTION>
49 <TITLE>Limits of Basic Types</TITLE>
50 <FILE>limits</FILE>
51 G_MININT
52 G_MAXINT
53 G_MAXUINT
54
55 <SUBSECTION>
56 G_MINSHORT
57 G_MAXSHORT
58 G_MAXUSHORT
59
60 <SUBSECTION>
61 G_MINLONG
62 G_MAXLONG
63 G_MAXULONG
64
65 <SUBSECTION>
66 G_MINFLOAT
67 G_MAXFLOAT
68
69 <SUBSECTION>
70 G_MINDOUBLE
71 G_MAXDOUBLE
72 </SECTION>
73
74 <SECTION>
75 <TITLE>Standard Macros</TITLE>
76 <FILE>macros</FILE>
77 GLIB_MAJOR_VERSION
78 GLIB_MINOR_VERSION
79 GLIB_MICRO_VERSION
80
81 <SUBSECTION>
82 G_OS_WIN32
83 G_OS_BEOS
84 G_OS_UNIX
85
86 <SUBSECTION>
87 GLIB_CHECK_VERSION
88
89 <SUBSECTION>
90 G_DIR_SEPARATOR
91 G_DIR_SEPARATOR_S
92 G_SEARCHPATH_SEPARATOR
93 G_SEARCHPATH_SEPARATOR_S
94
95 <SUBSECTION>
96 TRUE
97 FALSE
98
99 <SUBSECTION>
100 NULL
101
102 <SUBSECTION>
103 MIN
104 MAX
105
106 <SUBSECTION>
107 ABS
108 CLAMP
109
110 <SUBSECTION>
111 G_STRUCT_MEMBER
112 G_STRUCT_MEMBER_P
113 G_STRUCT_OFFSET
114
115 <SUBSECTION>
116 G_MEM_ALIGN
117
118 <SUBSECTION>
119 G_CONST_RETURN
120
121 <SUBSECTION Private>
122 glib_major_version
123 glib_micro_version
124 glib_minor_version
125 glib_interface_age
126 glib_binary_age
127 </SECTION>
128
129 <SECTION>
130 <TITLE>Type Conversion Macros</TITLE>
131 <FILE>type_conversion</FILE>
132 GINT_TO_POINTER
133 GPOINTER_TO_INT
134
135 <SUBSECTION>
136 GUINT_TO_POINTER
137 GPOINTER_TO_UINT
138 </SECTION>
139
140 <SECTION>
141 <TITLE>Byte Order Macros</TITLE>
142 <FILE>byte_order</FILE>
143 G_BYTE_ORDER
144 G_LITTLE_ENDIAN
145 G_BIG_ENDIAN
146 G_PDP_ENDIAN
147
148 <SUBSECTION>
149 g_htonl
150 g_htons
151 g_ntohl
152 g_ntohs
153
154 <SUBSECTION>
155 GINT_FROM_BE
156 GINT_FROM_LE
157 GINT_TO_BE
158 GINT_TO_LE
159
160 <SUBSECTION>
161 GUINT_FROM_BE
162 GUINT_FROM_LE
163 GUINT_TO_BE
164 GUINT_TO_LE
165
166 <SUBSECTION>
167 GLONG_FROM_BE
168 GLONG_FROM_LE
169 GLONG_TO_BE
170 GLONG_TO_LE
171
172 <SUBSECTION>
173 GULONG_FROM_BE
174 GULONG_FROM_LE
175 GULONG_TO_BE
176 GULONG_TO_LE
177
178 <SUBSECTION>
179 GINT16_FROM_BE
180 GINT16_FROM_LE
181 GINT16_TO_BE
182 GINT16_TO_LE
183
184 <SUBSECTION>
185 GUINT16_FROM_BE
186 GUINT16_FROM_LE
187 GUINT16_TO_BE
188 GUINT16_TO_LE
189
190 <SUBSECTION>
191 GINT32_FROM_BE
192 GINT32_FROM_LE
193 GINT32_TO_BE
194 GINT32_TO_LE
195
196 <SUBSECTION>
197 GUINT32_FROM_BE
198 GUINT32_FROM_LE
199 GUINT32_TO_BE
200 GUINT32_TO_LE
201
202 <SUBSECTION>
203 GINT64_FROM_BE
204 GINT64_FROM_LE
205 GINT64_TO_BE
206 GINT64_TO_LE
207
208 <SUBSECTION>
209 GUINT64_FROM_BE
210 GUINT64_FROM_LE
211 GUINT64_TO_BE
212 GUINT64_TO_LE
213
214 <SUBSECTION>
215 GUINT16_SWAP_BE_PDP
216 GUINT16_SWAP_LE_BE
217 GUINT16_SWAP_LE_PDP
218
219 <SUBSECTION>
220 GUINT32_SWAP_BE_PDP
221 GUINT32_SWAP_LE_BE
222 GUINT32_SWAP_LE_PDP
223
224 <SUBSECTION>
225 GUINT64_SWAP_LE_BE
226
227 <SUBSECTION Private>
228 GUINT16_SWAP_LE_BE_CONSTANT
229 GUINT16_SWAP_LE_BE_X86
230 GUINT32_SWAP_LE_BE_CONSTANT
231 GUINT32_SWAP_LE_BE_X86
232 GUINT64_SWAP_LE_BE_CONSTANT
233 GUINT64_SWAP_LE_BE_X86
234 </SECTION>
235
236 <SECTION>
237 <TITLE>Numerical Definitions</TITLE>
238 <FILE>numerical</FILE>
239 G_IEEE754_FLOAT_BIAS
240 G_IEEE754_DOUBLE_BIAS
241 GFloatIEEE754
242 GDoubleIEEE754
243
244 <SUBSECTION>
245 <SUBSECTION>
246 G_E
247 G_LN2
248 G_LN10
249 G_PI
250 G_PI_2
251 G_PI_4
252 G_SQRT2
253 G_LOG_2_BASE_10
254 </SECTION>
255
256 <SECTION>
257 <TITLE>Miscellaneous Macros</TITLE>
258 <FILE>macros_misc</FILE>
259 G_INLINE_FUNC
260
261 <SUBSECTION>
262 G_STMT_START
263 G_STMT_END
264
265 <SUBSECTION>
266 G_BEGIN_DECLS
267 G_END_DECLS
268
269 <SUBSECTION>
270 G_N_ELEMENTS
271
272 <SUBSECTION>
273 G_VA_COPY
274
275 <SUBSECTION>
276 G_STRINGIFY
277
278 <SUBSECTION>
279 G_GNUC_EXTENSION
280 G_GNUC_CONST
281 G_GNUC_NORETURN
282 G_GNUC_UNUSED
283 G_GNUC_PURE
284 G_GNUC_PRINTF
285 G_GNUC_SCANF
286 G_GNUC_FORMAT
287 G_GNUC_FUNCTION
288 G_GNUC_PRETTY_FUNCTION
289
290 <SUBSECTION>
291 G_STRLOC
292
293 <SUBSECTION>
294 G_GINT16_FORMAT
295 G_GUINT16_FORMAT
296 G_GINT32_FORMAT
297 G_GUINT32_FORMAT
298 G_GINT64_FORMAT
299 G_GUINT64_FORMAT
300
301 <SUBSECTION Private>
302 GLIB_VAR
303 G_STRINGIFY_ARG
304 G_HAVE_INLINE
305 G_CAN_INLINE
306 inline
307 G_HAVE___INLINE
308 G_HAVE___INLINE__
309 </SECTION>
310
311 <SECTION>
312 <TITLE>Error Reporting</TITLE>
313 <FILE>error_reporting</FILE>
314 GError
315 g_error_new
316 g_error_new_literal
317 g_error_free
318 g_error_copy
319 g_error_matches
320 g_set_error
321 g_propagate_error
322 g_clear_error
323 </SECTION>
324
325 <SECTION>
326 <TITLE>The Main Event Loop</TITLE>
327 <FILE>main</FILE>
328 GMainLoop
329 g_main_loop_new
330 g_main_loop_ref
331 g_main_loop_unref
332 g_main_loop_run
333 g_main_loop_quit
334 g_main_loop_is_running
335 g_main_new
336 g_main_destroy
337 g_main_run
338 g_main_quit
339 g_main_is_running
340
341 <SUBSECTION>
342 G_PRIORITY_HIGH
343 G_PRIORITY_DEFAULT
344 G_PRIORITY_HIGH_IDLE
345 G_PRIORITY_DEFAULT_IDLE
346 G_PRIORITY_LOW
347
348 <SUBSECTION>
349 GMainContext
350 g_main_context_get
351 g_main_context_default
352 g_main_context_iteration
353 g_main_iteration
354 g_main_context_pending
355 g_main_pending
356 g_main_context_find_source_by_id
357 g_main_context_find_source_by_user_data
358 g_main_context_find_source_by_funcs_user_data
359 g_main_context_prepare
360 g_main_context_query
361 g_main_context_check
362 g_main_context_dispatch
363 g_main_context_set_poll_func
364 g_main_context_get_poll_func
365 GPollFunc
366 g_main_context_add_poll
367 g_main_context_remove_poll
368 g_main_set_poll_func
369
370 <SUBSECTION>
371 g_timeout_source_new
372 g_timeout_add
373 g_timeout_add_full
374
375 <SUBSECTION>
376 g_idle_source_new
377 g_idle_add
378 g_idle_add_full
379 g_idle_remove_by_data
380
381 <SUBSECTION>
382 GPollFD
383
384 <SUBSECTION>
385 GSource
386 GSourceFuncs
387 GSourceCallbackFuncs
388 g_source_new
389 g_source_ref
390 g_source_unref
391 g_source_attach
392 g_source_destroy
393 g_source_set_priority
394 g_source_get_priority
395 g_source_set_can_recurse
396 g_source_get_can_recurse
397 g_source_get_id
398 g_source_get_context
399 g_source_set_callback
400 GSourceFunc
401 g_source_set_callback_indirect
402 g_source_add_poll
403 g_source_remove_poll
404 g_source_get_current_time
405 g_source_remove
406 g_source_remove_by_funcs_user_data
407 g_source_remove_by_user_data
408
409 <SUBSECTION Private>
410 GLIB_HAVE_SYS_POLL_H
411 GLIB_HAVE_ALLOCA_H
412 alloca
413 GLIB_SYSDEF_POLLERR
414 GLIB_SYSDEF_POLLHUP
415 GLIB_SYSDEF_POLLIN
416 GLIB_SYSDEF_POLLNVAL
417 GLIB_SYSDEF_POLLOUT
418 GLIB_SYSDEF_POLLPRI
419 g_main_poll_win32_msg_add
420 G_WIN32_MSG_HANDLE
421 </SECTION>
422
423 <SECTION>
424 <TITLE>Threads</TITLE>
425 <FILE>threads</FILE>
426 <SUBSECTION>
427 G_THREADS_ENABLED
428 G_THREADS_IMPL_POSIX
429 G_THREADS_IMPL_SOLARIS
430 G_THREADS_IMPL_NONE
431
432 <SUBSECTION>
433 G_THREAD_ERROR
434 GThreadError
435
436 <SUBSECTION>
437 GThreadFunctions
438 g_thread_init
439 g_thread_supported
440
441 <SUBSECTION>
442 GThreadFunc
443 GThreadPriority
444 GThread
445 g_thread_create
446 g_thread_create_full
447 g_thread_self
448 g_thread_join
449 g_thread_set_priority
450 g_thread_yield
451 g_thread_exit
452
453 <SUBSECTION>
454 GMutex
455 g_mutex_new
456 g_mutex_lock
457 g_mutex_trylock
458 g_mutex_unlock
459 g_mutex_free
460
461 <SUBSECTION>
462 GStaticMutex
463 G_STATIC_MUTEX_INIT
464 g_static_mutex_init
465 g_static_mutex_lock
466 g_static_mutex_trylock
467 g_static_mutex_unlock
468 g_static_mutex_get_mutex
469 g_static_mutex_free
470
471 <SUBSECTION>
472 G_LOCK_DEFINE
473 G_LOCK_DEFINE_STATIC
474 G_LOCK_EXTERN
475 G_LOCK
476 G_TRYLOCK
477 G_UNLOCK
478
479 <SUBSECTION>
480 GStaticRecMutex
481 G_STATIC_REC_MUTEX_INIT
482 g_static_rec_mutex_init
483 g_static_rec_mutex_lock
484 g_static_rec_mutex_trylock
485 g_static_rec_mutex_unlock
486 g_static_rec_mutex_lock_full
487 g_static_rec_mutex_unlock_full
488 g_static_rec_mutex_free
489
490 <SUBSECTION>
491 GStaticRWLock
492 G_STATIC_RW_LOCK_INIT
493 g_static_rw_lock_init
494 g_static_rw_lock_reader_lock
495 g_static_rw_lock_reader_trylock
496 g_static_rw_lock_reader_unlock
497 g_static_rw_lock_writer_lock
498 g_static_rw_lock_writer_trylock
499 g_static_rw_lock_writer_unlock
500 g_static_rw_lock_free
501
502 <SUBSECTION>
503 GCond
504 g_cond_new
505 g_cond_signal
506 g_cond_broadcast
507 g_cond_wait
508 g_cond_timed_wait
509 g_cond_free
510
511 <SUBSECTION>
512 GPrivate
513 g_private_new
514 g_private_get
515 g_private_set
516
517 <SUBSECTION>
518 GStaticPrivate
519 G_STATIC_PRIVATE_INIT
520 g_static_private_init
521 g_static_private_get
522 g_static_private_set
523 g_static_private_free
524
525 <SUBSECTION Private>
526 G_THREAD_ECF
527 G_THREAD_CF
528 G_THREAD_UF
529 g_static_mutex_get_mutex_impl
530 G_MUTEX_DEBUG_MAGIC
531 g_thread_init_with_errorcheck_mutexes
532 G_LOCK_NAME
533 glib_dummy_decl
534 GSystemThread
535 g_thread_error_quark
536 g_thread_use_default_impl
537 g_threads_got_initialized
538 g_thread_functions_for_glib_use
539 </SECTION>
540
541 <SECTION>
542 <TITLE>Thread Pools</TITLE>
543 <FILE>thread_pools</FILE>
544 GThreadPool
545 g_thread_pool_new
546 g_thread_pool_push
547 g_thread_pool_set_max_threads
548 g_thread_pool_get_max_threads
549 g_thread_pool_get_num_threads
550 g_thread_pool_unprocessed
551 g_thread_pool_free
552 g_thread_pool_set_max_unused_threads
553 g_thread_pool_get_max_unused_threads
554 g_thread_pool_get_num_unused_threads
555 g_thread_pool_stop_unused_threads
556 </SECTION>
557
558 <SECTION>
559 <TITLE>Asynchronous Queues</TITLE>
560 <FILE>async_queues</FILE>
561 GAsyncQueue
562 g_async_queue_new
563 g_async_queue_ref
564 g_async_queue_unref
565 g_async_queue_push
566 g_async_queue_pop
567 g_async_queue_try_pop
568 g_async_queue_timed_pop
569 g_async_queue_length
570
571 <SUBSECTION>
572 g_async_queue_lock
573 g_async_queue_unlock
574 g_async_queue_ref_unlocked
575 g_async_queue_unref_and_unlock
576 g_async_queue_push_unlocked
577 g_async_queue_pop_unlocked
578 g_async_queue_try_pop_unlocked
579 g_async_queue_timed_pop_unlocked
580 g_async_queue_length_unlocked
581 </SECTION>
582
583 <SECTION>
584 <TITLE>IO Channels</TITLE>
585 <FILE>iochannels</FILE>
586 GIOChannel
587
588 <SUBSECTION>
589 g_io_channel_unix_new
590 g_io_channel_unix_get_fd
591
592
593 <SUBSECTION>
594 g_io_channel_init
595
596 <SUBSECTION>
597 g_io_channel_read
598 GIOError
599 g_io_channel_write
600 g_io_channel_seek
601 GSeekType
602 g_io_channel_close
603
604 <SUBSECTION>
605 g_io_channel_ref
606 g_io_channel_unref
607
608 <SUBSECTION>
609 g_io_create_watch
610 g_io_add_watch
611 g_io_add_watch_full
612 GIOCondition
613 GIOFunc
614
615 <SUBSECTION>
616 GIOFuncs
617
618 <SUBSECTION Private>
619 g_io_channel_win32_new_fd
620 g_io_channel_win32_new_messages
621 g_io_channel_win32_new_socket
622 g_io_channel_win32_poll
623 g_io_channel_win32_make_pollfd
624 g_io_channel_win32_get_fd
625 </SECTION>
626
627 <SECTION>
628 <TITLE>Memory Allocation</TITLE>
629 <FILE>memory</FILE>
630 g_new
631 g_new0
632 g_renew
633
634 <SUBSECTION>
635 g_malloc
636 g_malloc0
637 g_realloc
638 g_try_malloc
639 g_try_realloc
640
641 <SUBSECTION>
642 g_free
643
644 <SUBSECTION>
645 g_alloca
646
647 <SUBSECTION>
648 g_memmove
649 g_memdup
650
651 <SUBSECTION>
652 GMemVTable
653 g_mem_set_vtable
654
655 <SUBSECTION>
656 glib_mem_profiler_table
657 g_mem_profile
658
659 </SECTION>
660
661 <SECTION>
662 <TITLE>Warnings and Assertions</TITLE>
663 <FILE>warnings</FILE>
664 g_print
665 g_set_print_handler
666 GPrintFunc
667
668 <SUBSECTION>
669 g_printerr
670 g_set_printerr_handler
671
672 <SUBSECTION>
673 g_return_if_fail
674 g_return_val_if_fail
675 g_return_if_reached
676 g_return_val_if_reached
677
678 <SUBSECTION>
679 g_assert
680 g_assert_not_reached
681
682 <SUBSECTION>
683 g_on_error_query
684 g_on_error_stack_trace
685
686 <SUBSECTION>
687 G_BREAKPOINT
688 </SECTION>
689
690 <SECTION>
691 <TITLE>Message Logging</TITLE>
692 <FILE>messages</FILE>
693 G_LOG_DOMAIN
694 g_log_domain_glib
695 G_LOG_FATAL_MASK
696 G_LOG_LEVEL_USER_SHIFT
697 GLogFunc
698 GLogLevelFlags
699
700 <SUBSECTION>
701 g_log
702 g_logv
703 g_message
704 g_warning
705 g_critical
706 g_error
707
708 <SUBSECTION>
709 g_log_set_handler
710 g_log_remove_handler
711 g_log_set_always_fatal
712 g_log_set_fatal_mask
713 g_log_default_handler
714
715 <SUBSECTION>
716 g_set_error_handler
717 GErrorFunc
718 g_set_warning_handler
719 GWarningFunc
720 g_set_message_handler
721 </SECTION>
722
723 <SECTION>
724 <TITLE>Timers</TITLE>
725 <FILE>timers</FILE>
726 GTimer
727 g_timer_new
728 g_timer_start
729 g_timer_stop
730 g_timer_elapsed
731 g_timer_reset
732 g_timer_destroy
733 </SECTION>
734
735 <SECTION>
736 <TITLE>Spawning Processes</TITLE>
737 <FILE>spawn</FILE>
738 GSpawnError
739 G_SPAWN_ERROR
740 GSpawnFlags
741 GSpawnChildSetupFunc
742 g_spawn_async_with_pipes
743 g_spawn_async
744 g_spawn_sync
745 g_spawn_command_line_async
746 g_spawn_command_line_sync
747 <SUBSECTION Private>
748 g_spawn_error_quark
749 </SECTION>
750
751 <SECTION>
752 <TITLE>Simple XML Subset Parser</TITLE>
753 <FILE>markup</FILE>
754 GMarkupError
755 G_MARKUP_ERROR
756 GMarkupParseFlags
757 GMarkupParseContext
758 GMarkupParser
759 g_markup_escape_text
760 g_markup_parse_context_end_parse
761 g_markup_parse_context_free
762 g_markup_parse_context_get_position
763 g_markup_parse_context_new
764 g_markup_parse_context_parse
765 <SUBSECTION Private>
766 g_markup_error_quark
767 </SECTION>
768
769
770 <SECTION>
771 <TITLE>Shell-related Utilities</TITLE>
772 <FILE>shell</FILE>
773 GShellError
774 G_SHELL_ERROR
775 g_shell_parse_argv
776 g_shell_quote
777 g_shell_unquote
778 <SUBSECTION Private>
779 g_shell_error_quark
780 </SECTION>
781
782
783 <SECTION>
784 <TITLE>File Utilities</TITLE>
785 <FILE>fileutils</FILE>
786 GFileError
787 G_FILE_ERROR
788 GFileTest
789 g_file_error_from_errno
790 g_file_get_contents
791 g_file_test
792 g_mkstemp
793 g_file_open_tmp
794 <SUBSECTION Private>
795 g_file_error_quark
796 </SECTION>
797
798
799 <SECTION>
800 <TITLE>String Utility Functions</TITLE>
801 <FILE>string_utils</FILE>
802 g_strdup
803 g_strndup
804 g_strdupv
805 g_strnfill
806 g_stpcpy
807
808 <SUBSECTION>
809 g_strlcpy
810 g_strlcat
811
812 <SUBSECTION>
813 g_strdup_printf
814 g_strdup_vprintf
815 g_snprintf
816 g_vsnprintf
817 g_printf_string_upper_bound
818
819 <SUBSECTION>
820 g_strup
821 g_strdown
822
823 <SUBSECTION>
824 g_strcasecmp
825 g_strncasecmp
826
827 <SUBSECTION>
828 g_strreverse
829 g_strtod
830
831 <SUBSECTION>
832 g_strchug
833 g_strchomp
834 g_strstrip
835
836 <SUBSECTION>
837 g_strdelimit
838 G_STR_DELIMITERS
839 g_strescape
840 g_strcompress
841 g_strcanon
842 g_strsplit
843 g_strfreev
844 g_strconcat
845 g_strjoin
846 g_strjoinv
847
848 <SUBSECTION>
849 g_strerror
850 g_strsignal
851 </SECTION>
852
853 <SECTION>
854 <TITLE>Date and Time Functions</TITLE>
855 <FILE>date</FILE>
856 G_USEC_PER_SEC
857 GTimeVal
858 g_get_current_time
859 g_usleep
860
861 <SUBSECTION>
862 GDate
863 GTime
864 GDateDMY
865 GDateDay
866 GDateMonth
867 GDateYear
868 GDateWeekday
869
870 <SUBSECTION>
871 G_DATE_BAD_DAY
872 G_DATE_BAD_JULIAN
873 G_DATE_BAD_YEAR
874
875 <SUBSECTION>
876 g_date_new
877 g_date_new_dmy
878 g_date_new_julian
879 g_date_clear
880 g_date_free
881
882 <SUBSECTION>
883 g_date_set_day
884 g_date_set_month
885 g_date_set_year
886 g_date_set_dmy
887 g_date_set_julian
888 g_date_set_time
889 g_date_set_parse
890
891 <SUBSECTION>
892 g_date_add_days
893 g_date_subtract_days
894 g_date_add_months
895 g_date_subtract_months
896 g_date_add_years
897 g_date_subtract_years
898 g_date_days_between
899 g_date_compare
900 g_date_clamp
901 g_date_order
902
903 <SUBSECTION>
904 g_date_get_day
905 g_date_get_month
906 g_date_get_year
907 g_date_get_julian
908 g_date_get_weekday
909 g_date_get_day_of_year
910
911 <SUBSECTION>
912 g_date_get_days_in_month
913 g_date_is_first_of_month
914 g_date_is_last_of_month
915 g_date_is_leap_year
916 g_date_get_monday_week_of_year
917 g_date_get_monday_weeks_in_year
918 g_date_get_sunday_week_of_year
919 g_date_get_sunday_weeks_in_year
920
921 <SUBSECTION>
922 g_date_strftime
923 g_date_to_struct_tm
924
925 <SUBSECTION>
926 g_date_valid
927 g_date_valid_day
928 g_date_valid_month
929 g_date_valid_year
930 g_date_valid_dmy
931 g_date_valid_julian
932 g_date_valid_weekday
933
934 <SUBSECTION Private>
935 g_date_weekday
936 g_date_month
937 g_date_year
938 g_date_day
939 g_date_julian
940 g_date_day_of_year
941 g_date_monday_week_of_year
942 g_date_sunday_week_of_year
943 g_date_days_in_month
944 g_date_monday_weeks_in_year
945 g_date_sunday_weeks_in_year
946 </SECTION>
947
948 <SECTION>
949 <TITLE>Hook Functions</TITLE>
950 <FILE>hooks</FILE>
951 GHookList
952 GHook
953 GHookFunc
954 GHookCheckFunc
955 GHookMarshaller
956 GHookCheckMarshaller
957 GHookFinalizeFunc
958
959 <SUBSECTION>
960 g_hook_list_init
961 g_hook_list_invoke
962 g_hook_list_invoke_check
963 g_hook_list_marshal
964 g_hook_list_marshal_check
965 g_hook_list_clear
966
967 <SUBSECTION>
968 g_hook_alloc
969 g_hook_append
970 g_hook_prepend
971 g_hook_insert_before
972 g_hook_insert_sorted
973 GHookCompareFunc
974 g_hook_compare_ids
975
976 <SUBSECTION>
977 g_hook_get
978 g_hook_find
979 g_hook_find_data
980 g_hook_find_func
981 GHookFindFunc
982 g_hook_find_func_data
983
984 <SUBSECTION>
985 g_hook_first_valid
986 g_hook_next_valid
987
988 GHookFlagMask
989 G_HOOK_FLAG_USER_SHIFT
990
991 <SUBSECTION>
992 G_HOOK_IS_VALID
993 G_HOOK_ACTIVE
994 G_HOOK_IN_CALL
995 G_HOOK_IS_UNLINKED
996
997 <SUBSECTION>
998 g_hook_ref
999 g_hook_unref
1000
1001 g_hook_free
1002 g_hook_destroy
1003 g_hook_destroy_link
1004 </SECTION>
1005
1006 <SECTION>
1007 <TITLE>Miscellaneous Utility Functions</TITLE>
1008 <FILE>misc_utils</FILE>
1009 g_get_prgname
1010 g_set_prgname
1011 g_getenv
1012 g_get_user_name
1013 g_get_real_name
1014
1015 <SUBSECTION>
1016 g_get_home_dir
1017 g_get_tmp_dir
1018 g_get_current_dir
1019 g_basename
1020 g_dirname
1021 g_path_is_absolute
1022 g_path_skip_root
1023 g_path_get_basename
1024 g_path_get_dirname
1025
1026 <SUBSECTION>
1027 g_find_program_in_path
1028
1029 <SUBSECTION>
1030 g_bit_nth_lsf
1031 g_bit_nth_msf
1032 g_bit_storage
1033
1034 <SUBSECTION>
1035 g_spaced_primes_closest
1036
1037 <SUBSECTION>
1038 g_atexit
1039
1040 <SUBSECTION>
1041 g_parse_debug_string
1042 GDebugKey
1043
1044 <SUBSECTION>
1045 GVoidFunc
1046 GFreeFunc
1047
1048 <SUBSECTION>
1049 g_qsort_with_data
1050
1051 <SUBSECTION Private>
1052 G_NATIVE_ATEXIT
1053 g_ATEXIT
1054 ATEXIT
1055
1056 </SECTION>
1057
1058 <SECTION>
1059 <TITLE>Lexical Scanner</TITLE>
1060 <FILE>scanner</FILE>
1061 GScanner
1062 g_scanner_new
1063 GScannerConfig
1064
1065 <SUBSECTION>
1066 g_scanner_input_file
1067 g_scanner_sync_file_offset
1068 g_scanner_stat_mode
1069 g_scanner_input_text
1070 g_scanner_peek_next_token
1071 g_scanner_get_next_token
1072
1073 <SUBSECTION>
1074 g_scanner_cur_line
1075 g_scanner_cur_position
1076 g_scanner_cur_token
1077 g_scanner_cur_value
1078 g_scanner_eof
1079
1080 <SUBSECTION>
1081 g_scanner_set_scope
1082 g_scanner_scope_add_symbol
1083 g_scanner_scope_foreach_symbol
1084 g_scanner_scope_lookup_symbol
1085 g_scanner_scope_remove_symbol
1086
1087 <SUBSECTION>
1088 g_scanner_freeze_symbol_table
1089 g_scanner_thaw_symbol_table
1090 g_scanner_lookup_symbol
1091
1092 <SUBSECTION>
1093 g_scanner_warn
1094 g_scanner_error
1095 g_scanner_unexp_token
1096 GScannerMsgFunc
1097
1098 <SUBSECTION>
1099 g_scanner_destroy
1100
1101 <SUBSECTION>
1102 GTokenType
1103 GTokenValue
1104 GErrorType
1105 G_CSET_a_2_z
1106 G_CSET_A_2_Z
1107 G_CSET_DIGITS
1108 G_CSET_LATINC
1109 G_CSET_LATINS
1110
1111 <SUBSECTION>
1112 g_scanner_add_symbol
1113 g_scanner_remove_symbol
1114 g_scanner_foreach_symbol
1115 </SECTION>
1116
1117 <SECTION>
1118 <TITLE>Dynamic Loading of Modules</TITLE>
1119 <FILE>modules</FILE>
1120 <INCLUDE>gmodule.h</INCLUDE>
1121 GModule
1122 g_module_supported
1123 g_module_build_path
1124 g_module_open
1125 GModuleFlags
1126 g_module_symbol
1127 g_module_name
1128 g_module_make_resident
1129 g_module_close
1130 g_module_error
1131 <SUBSECTION>
1132 GModuleCheckInit
1133 GModuleUnload
1134 G_MODULE_SUFFIX
1135 G_MODULE_EXPORT
1136 G_MODULE_IMPORT
1137 </SECTION>
1138
1139 <SECTION>
1140 <TITLE>Automatic String Completion</TITLE>
1141 <FILE>completion</FILE>
1142 GCompletion
1143 g_completion_new
1144 GCompletionFunc
1145 g_completion_add_items
1146 g_completion_remove_items
1147 g_completion_clear_items
1148 g_completion_complete
1149 g_completion_set_compare
1150 GCompletionStrncmpFunc
1151 g_completion_free
1152 </SECTION>
1153
1154 <SECTION>
1155 <TITLE>Windows Compatability Functions</TITLE>
1156 <FILE>windows</FILE>
1157 MAXPATHLEN
1158 NAME_MAX
1159 pid_t
1160 pipe
1161 ftruncate
1162 opendir
1163 readdir
1164 rewinddir
1165 closedir
1166
1167 g_win32_error_message
1168 g_win32_getlocale
1169 g_win32_get_package_installation_directory
1170 g_win32_get_package_installation_subdirectory
1171
1172 <SUBSECTION Private>
1173 g_win32_ftruncate
1174 g_win32_closedir
1175 g_win32_opendir
1176 g_win32_rewinddir
1177
1178 </SECTION>
1179
1180 # Data Structures
1181
1182 <SECTION>
1183 <TITLE>Memory Chunks</TITLE>
1184 <FILE>memory_chunks</FILE>
1185 GMemChunk
1186 G_ALLOC_AND_FREE
1187 G_ALLOC_ONLY
1188
1189 <SUBSECTION>
1190 g_mem_chunk_new
1191 g_mem_chunk_alloc
1192 g_mem_chunk_alloc0
1193 g_mem_chunk_free
1194 g_mem_chunk_destroy
1195
1196 <SUBSECTION>
1197 g_mem_chunk_create
1198 g_chunk_new
1199 g_chunk_new0
1200 g_chunk_free
1201
1202 <SUBSECTION>
1203 g_mem_chunk_reset
1204 g_mem_chunk_clean
1205 g_blow_chunks
1206
1207 <SUBSECTION>
1208 g_mem_chunk_info
1209 g_mem_chunk_print
1210
1211 </SECTION>
1212
1213 <SECTION>
1214 <TITLE>Doubly-Linked Lists</TITLE>
1215 <FILE>linked_lists_double</FILE>
1216 GList
1217
1218 <SUBSECTION>
1219 g_list_append
1220 g_list_prepend
1221 g_list_insert
1222 g_list_insert_sorted
1223 g_list_remove
1224 g_list_remove_link
1225 g_list_delete_link
1226 g_list_remove_all
1227 g_list_free
1228
1229 <SUBSECTION>
1230 g_list_alloc
1231 g_list_free_1
1232
1233 <SUBSECTION>
1234 g_list_length
1235 g_list_copy
1236 g_list_reverse
1237 g_list_sort
1238 g_list_sort_with_data
1239 GCompareFunc
1240 g_list_concat
1241 g_list_foreach
1242 GFunc
1243
1244 <SUBSECTION>
1245 g_list_first
1246 g_list_last
1247 g_list_previous
1248 g_list_next
1249 g_list_nth
1250 g_list_nth_data
1251 g_list_nth_prev
1252
1253 <SUBSECTION>
1254 g_list_find
1255 g_list_find_custom
1256 g_list_position
1257 g_list_index
1258
1259 <SUBSECTION>
1260 g_list_push_allocator
1261 g_list_pop_allocator
1262 </SECTION>
1263
1264 <SECTION>
1265 <TITLE>Singly-Linked Lists</TITLE>
1266 <FILE>linked_lists_single</FILE>
1267 GSList
1268
1269 <SUBSECTION>
1270 g_slist_alloc
1271 g_slist_append
1272 g_slist_prepend
1273 g_slist_insert
1274 g_slist_insert_before
1275 g_slist_insert_sorted
1276 g_slist_remove
1277 g_slist_remove_link
1278 g_slist_delete_link
1279 g_slist_remove_all
1280 g_slist_free
1281 g_slist_free_1
1282
1283 <SUBSECTION>
1284 g_slist_length
1285 g_slist_copy
1286 g_slist_reverse
1287 g_slist_sort
1288 g_slist_sort_with_data
1289 g_slist_concat
1290 g_slist_foreach
1291
1292 <SUBSECTION>
1293 g_slist_last
1294 g_slist_next
1295 g_slist_nth
1296 g_slist_nth_data
1297
1298 <SUBSECTION>
1299 g_slist_find
1300 g_slist_find_custom
1301 g_slist_position
1302 g_slist_index
1303
1304 <SUBSECTION>
1305 g_slist_push_allocator
1306 g_slist_pop_allocator
1307 </SECTION>
1308
1309 <SECTION>
1310 <TITLE>Double-ended Queues</TITLE>
1311 <FILE>queue</FILE>
1312
1313 GQueue
1314 g_queue_new
1315 g_queue_free
1316 g_queue_push_head
1317 g_queue_push_tail
1318 g_queue_pop_head
1319 g_queue_pop_tail
1320 g_queue_is_empty
1321 g_queue_peek_head
1322 g_queue_peek_tail
1323 g_queue_push_head_link
1324 g_queue_push_tail_link
1325 g_queue_pop_head_link
1326 g_queue_pop_tail_link
1327 </SECTION>
1328
1329 <SECTION>
1330 <TITLE>Trash Stacks</TITLE>
1331 <FILE>trash_stack</FILE>
1332 GTrashStack
1333
1334 g_trash_stack_push
1335 g_trash_stack_pop
1336 g_trash_stack_peek
1337 g_trash_stack_height
1338 </SECTION>
1339
1340 <SECTION>
1341 <TITLE>Hash Tables</TITLE>
1342 <FILE>hash_tables</FILE>
1343 GHashTable
1344 g_hash_table_new
1345 g_hash_table_new_full
1346 GHashFunc
1347 GEqualFunc
1348 g_hash_table_insert
1349 g_hash_table_replace
1350 g_hash_table_size
1351 g_hash_table_lookup
1352 g_hash_table_lookup_extended
1353 g_hash_table_foreach
1354 GHFunc
1355 g_hash_table_remove
1356 g_hash_table_steal
1357 g_hash_table_foreach_remove
1358 g_hash_table_foreach_steal
1359 GHRFunc
1360 g_hash_table_freeze
1361 g_hash_table_thaw
1362 g_hash_table_destroy
1363
1364 <SUBSECTION>
1365 g_direct_equal
1366 g_direct_hash
1367 g_int_equal
1368 g_int_hash
1369 g_str_equal
1370 g_str_hash
1371
1372 </SECTION>
1373
1374 <SECTION>
1375 <TITLE>Strings</TITLE>
1376 <FILE>strings</FILE>
1377 GString
1378 g_string_new
1379 g_string_new_len
1380 g_string_sized_new
1381 g_string_assign
1382 g_string_sprintf
1383 g_string_sprintfa
1384 g_string_printf
1385 g_string_printfa
1386 g_string_append
1387 g_string_append_c
1388 g_string_append_len
1389 g_string_prepend
1390 g_string_prepend_c
1391 g_string_prepend_len
1392 g_string_insert
1393 g_string_insert_c
1394 g_string_insert_len
1395 g_string_erase
1396 g_string_truncate
1397 g_string_free
1398
1399 <SUBSECTION>
1400 g_string_up
1401 g_string_down
1402
1403 <SUBSECTION>
1404 g_string_hash
1405 g_string_equal
1406
1407 </SECTION>
1408
1409 <SECTION>
1410 <TITLE>String Chunks</TITLE>
1411 <FILE>string_chunks</FILE>
1412 GStringChunk
1413 g_string_chunk_new
1414 g_string_chunk_insert
1415 g_string_chunk_insert_const
1416 g_string_chunk_free
1417
1418 </SECTION>
1419
1420 <SECTION>
1421 <TITLE>Arrays</TITLE>
1422 <FILE>arrays</FILE>
1423 GArray
1424 g_array_new
1425 g_array_sized_new
1426 g_array_append_val
1427 g_array_append_vals
1428 g_array_prepend_val
1429 g_array_prepend_vals
1430 g_array_insert_val
1431 g_array_insert_vals
1432 g_array_remove_index
1433 g_array_remove_index_fast
1434 g_array_sort
1435 g_array_sort_with_data
1436 g_array_index
1437 g_array_set_size
1438 g_array_free
1439 </SECTION>
1440
1441 <SECTION>
1442 <TITLE>Pointer Arrays</TITLE>
1443 <FILE>arrays_pointer</FILE>
1444 GPtrArray
1445 g_ptr_array_new
1446 g_ptr_array_sized_new
1447 g_ptr_array_add
1448 g_ptr_array_remove
1449 g_ptr_array_remove_index
1450 g_ptr_array_remove_fast
1451 g_ptr_array_remove_index_fast
1452 g_ptr_array_sort
1453 g_ptr_array_sort_with_data
1454 g_ptr_array_set_size
1455 g_ptr_array_index
1456 g_ptr_array_free
1457
1458 </SECTION>
1459
1460 <SECTION>
1461 <TITLE>Byte Arrays</TITLE>
1462 <FILE>arrays_byte</FILE>
1463 GByteArray
1464 g_byte_array_new
1465 g_byte_array_sized_new
1466 g_byte_array_append
1467 g_byte_array_prepend
1468 g_byte_array_remove_index
1469 g_byte_array_remove_index_fast
1470 g_byte_array_sort
1471 g_byte_array_sort_with_data
1472 g_byte_array_set_size
1473 g_byte_array_free
1474
1475 </SECTION>
1476
1477 <SECTION>
1478 <TITLE>Balanced Binary Trees</TITLE>
1479 <FILE>trees-binary</FILE>
1480 GTree
1481 g_tree_new
1482 g_tree_new_with_data
1483 g_tree_new_full
1484 GCompareDataFunc
1485 g_tree_insert
1486 g_tree_replace
1487 g_tree_nnodes
1488 g_tree_height
1489 g_tree_lookup
1490 g_tree_lookup_extended
1491 g_tree_foreach
1492 g_tree_traverse
1493 GTraverseFunc
1494 GTraverseType
1495 g_tree_search
1496 g_tree_remove
1497 g_tree_steal
1498 g_tree_destroy
1499 </SECTION>
1500
1501 <SECTION>
1502 <TITLE>N-ary Trees</TITLE>
1503 <FILE>trees-nary</FILE>
1504 GNode
1505 g_node_new
1506 g_node_copy
1507
1508 <SUBSECTION>
1509 g_node_insert
1510 g_node_insert_before
1511 g_node_insert_after
1512 g_node_append
1513 g_node_prepend
1514
1515 <SUBSECTION>
1516 g_node_insert_data
1517 g_node_insert_data_before
1518 g_node_append_data
1519 g_node_prepend_data
1520
1521 <SUBSECTION>
1522 g_node_reverse_children
1523 g_node_traverse
1524 GTraverseFlags
1525 GNodeTraverseFunc
1526 g_node_children_foreach
1527 GNodeForeachFunc
1528
1529 <SUBSECTION>
1530 g_node_get_root
1531 g_node_find
1532 g_node_find_child
1533 g_node_child_index
1534 g_node_child_position
1535 g_node_first_child
1536 g_node_last_child
1537 g_node_nth_child
1538 g_node_first_sibling
1539 g_node_next_sibling
1540 g_node_prev_sibling
1541 g_node_last_sibling
1542
1543 <SUBSECTION>
1544 G_NODE_IS_LEAF
1545 G_NODE_IS_ROOT
1546 g_node_depth
1547 g_node_n_nodes
1548 g_node_n_children
1549 g_node_is_ancestor
1550 g_node_max_height
1551
1552 <SUBSECTION>
1553 g_node_unlink
1554 g_node_destroy
1555
1556 <SUBSECTION>
1557 g_node_push_allocator
1558 g_node_pop_allocator
1559 </SECTION>
1560
1561
1562 <SECTION>
1563 <TITLE>Quarks</TITLE>
1564 <FILE>quarks</FILE>
1565 GQuark
1566 g_quark_from_string
1567 g_quark_from_static_string
1568 g_quark_to_string
1569 g_quark_try_string
1570
1571 </SECTION>
1572
1573 <SECTION>
1574 <TITLE>Keyed Data Lists</TITLE>
1575 <FILE>datalist</FILE>
1576 GData
1577 g_datalist_init
1578
1579 <SUBSECTION>
1580 g_datalist_id_set_data
1581 g_datalist_id_set_data_full
1582 g_datalist_id_get_data
1583 g_datalist_id_remove_data
1584 g_datalist_id_remove_no_notify
1585
1586 <SUBSECTION>
1587 g_datalist_set_data
1588 g_datalist_set_data_full
1589 g_datalist_get_data
1590 g_datalist_remove_data
1591 g_datalist_remove_no_notify
1592
1593 <SUBSECTION>
1594 g_datalist_foreach
1595 g_datalist_clear
1596 </SECTION>
1597
1598
1599 <SECTION>
1600 <TITLE>Datasets</TITLE>
1601 <FILE>datasets</FILE>
1602 g_dataset_id_set_data
1603 g_dataset_id_set_data_full
1604 GDestroyNotify
1605 g_dataset_id_get_data
1606 g_dataset_id_remove_data
1607 g_dataset_id_remove_no_notify
1608
1609 <SUBSECTION>
1610 g_dataset_set_data
1611 g_dataset_set_data_full
1612 g_dataset_get_data
1613 g_dataset_remove_data
1614 g_dataset_remove_no_notify
1615
1616 <SUBSECTION>
1617 g_dataset_foreach
1618 GDataForeachFunc
1619 g_dataset_destroy
1620
1621 </SECTION>
1622
1623 <SECTION>
1624 <TITLE>Relations and Tuples</TITLE>
1625 <FILE>relations</FILE>
1626 GRelation
1627 g_relation_new
1628 g_relation_index
1629 g_relation_insert
1630 g_relation_exists
1631 g_relation_count
1632 g_relation_select
1633 g_relation_delete
1634 g_relation_destroy
1635
1636 <SUBSECTION>
1637 g_relation_print
1638
1639 <SUBSECTION>
1640 GTuples
1641 g_tuples_destroy
1642 g_tuples_index
1643 </SECTION>
1644
1645 <SECTION>
1646 <TITLE>Caches</TITLE>
1647 <FILE>caches</FILE>
1648 GCache
1649 g_cache_new
1650 g_cache_insert
1651 g_cache_remove
1652 g_cache_destroy
1653
1654 <SUBSECTION>
1655 g_cache_key_foreach
1656 g_cache_value_foreach
1657
1658 <SUBSECTION>
1659 GCacheDestroyFunc
1660 GCacheDupFunc
1661 GCacheNewFunc
1662 </SECTION>
1663
1664 <SECTION>
1665 <TITLE>Memory Allocators</TITLE>
1666 <FILE>allocators</FILE>
1667 GAllocator
1668 g_allocator_new
1669 g_allocator_free
1670
1671 <SUBSECTION Private>
1672 G_ALLOCATOR_LIST
1673 G_ALLOCATOR_NODE
1674 G_ALLOCATOR_SLIST
1675 </SECTION>
1676
1677 <SECTION>
1678 <TITLE>Random Numbers</TITLE>
1679 <FILE>random_numbers</FILE>
1680 GRand
1681 g_rand_new_with_seed
1682 g_rand_new
1683 g_rand_free
1684 g_rand_set_seed
1685 g_rand_boolean
1686 g_rand_int
1687 g_rand_int_range
1688 g_rand_double
1689 g_rand_double_range
1690 g_random_set_seed
1691 g_random_boolean
1692 g_random_int
1693 g_random_int_range
1694 g_random_double
1695 g_random_double_range
1696 </SECTION>
1697
1698 <SECTION>
1699 <TITLE>Character Set Conversion</TITLE>
1700 <FILE>conversions</FILE>
1701 g_convert
1702 g_convert_with_fallback
1703 G_CONVERT_ERROR
1704 g_iconv_open
1705 g_iconv
1706 g_iconv_close
1707 g_locale_to_utf8
1708 g_filename_to_utf8
1709 g_filename_from_utf8
1710 g_locale_from_utf8
1711 GConvertError
1712 <SUBSECTION Private>
1713 g_convert_error_quark
1714 </SECTION>
1715
1716 <SECTION>
1717 <TITLE>Unicode Manipulation</TITLE>
1718 <FILE>unicode</FILE>
1719 gunichar
1720 gunichar2
1721
1722 <SUBSECTION>
1723 g_get_charset
1724
1725 <SUBSECTION>
1726 g_unichar_validate
1727 g_unichar_isalnum
1728 g_unichar_isalpha
1729 g_unichar_iscntrl
1730 g_unichar_isdigit
1731 g_unichar_isgraph
1732 g_unichar_islower
1733 g_unichar_isprint
1734 g_unichar_ispunct
1735 g_unichar_isspace
1736 g_unichar_isupper
1737 g_unichar_isxdigit
1738 g_unichar_istitle
1739 g_unichar_isdefined
1740 g_unichar_iswide
1741 g_unichar_toupper
1742 g_unichar_tolower
1743 g_unichar_totitle
1744 g_unichar_digit_value
1745 g_unichar_xdigit_value
1746 GUnicodeType
1747 g_unichar_type
1748 GUnicodeBreakType
1749 g_unichar_break_type
1750 g_unicode_canonical_ordering
1751 g_unicode_canonical_decomposition
1752
1753 <SUBSECTION>
1754 g_utf8_next_char
1755 g_utf8_get_char
1756 g_utf8_offset_to_pointer
1757 g_utf8_pointer_to_offset
1758 g_utf8_prev_char
1759 g_utf8_find_next_char
1760 g_utf8_find_prev_char
1761 g_utf8_strlen
1762 g_utf8_strncpy
1763 g_utf8_strchr
1764 g_utf8_strrchr
1765 g_utf8_validate
1766
1767 <SUBSECTION>
1768 g_utf8_to_utf16
1769 g_utf8_to_ucs4
1770 g_utf8_to_ucs4_fast
1771 g_utf16_to_ucs4
1772 g_utf16_to_utf8
1773 g_ucs4_to_utf16
1774 g_ucs4_to_utf8
1775 g_unichar_to_utf8
1776 </SECTION>