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