2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
4 <!ENTITY glib-Basic-Types SYSTEM "xml/types.xml">
5 <!ENTITY glib-Limits-of-Basic-Types SYSTEM "xml/limits.xml">
6 <!ENTITY glib-Standard-Macros SYSTEM "xml/macros.xml">
7 <!ENTITY glib-Type-Conversion-Macros SYSTEM "xml/type_conversion.xml">
8 <!ENTITY glib-Byte-Order-Macros SYSTEM "xml/byte_order.xml">
9 <!ENTITY glib-Numerical-Definitions SYSTEM "xml/numerical.xml">
10 <!ENTITY glib-Miscellaneous-Macros SYSTEM "xml/macros_misc.xml">
11 <!ENTITY glib-Atomic-Operations SYSTEM "xml/atomic_operations.xml">
12 <!ENTITY glib-Memory-Allocation SYSTEM "xml/memory.xml">
13 <!ENTITY glib-Error-Reporting SYSTEM "xml/error_reporting.xml">
14 <!ENTITY glib-Warnings-and-Assertions SYSTEM "xml/warnings.xml">
15 <!ENTITY glib-Message-Logging SYSTEM "xml/messages.xml">
16 <!ENTITY glib-Pattern-Matching SYSTEM "xml/patterns.xml">
17 <!ENTITY glib-Timers SYSTEM "xml/timers.xml">
18 <!ENTITY glib-String-Utility-Functions SYSTEM "xml/string_utils.xml">
19 <!ENTITY glib-Character-Set-Conversion SYSTEM "xml/conversions.xml">
20 <!ENTITY glib-Unicode-Manipulation SYSTEM "xml/unicode.xml">
21 <!ENTITY glib-Random-Numbers SYSTEM "xml/random_numbers.xml">
22 <!ENTITY glib-Miscellaneous-Utility-Functions SYSTEM "xml/misc_utils.xml">
23 <!ENTITY glib-Date-and-Time-Functions SYSTEM "xml/date.xml">
24 <!ENTITY glib-The-Main-Event-Loop SYSTEM "xml/main.xml">
25 <!ENTITY glib-Threads SYSTEM "xml/threads.xml">
26 <!ENTITY glib-Thread-Pools SYSTEM "xml/thread_pools.xml">
27 <!ENTITY glib-Async-Queues SYSTEM "xml/async_queues.xml">
28 <!ENTITY glib-IO-Channels SYSTEM "xml/iochannels.xml">
29 <!ENTITY glib-Hook-Functions SYSTEM "xml/hooks.xml">
30 <!ENTITY glib-Lexical-Scanner SYSTEM "xml/scanner.xml">
31 <!ENTITY glib-Dynamic-Loading-of-Modules SYSTEM "xml/modules.xml">
32 <!ENTITY glib-Automatic-String-Completion SYSTEM "xml/completion.xml">
33 <!ENTITY glib-Windows-Compatability-Functions SYSTEM "xml/windows.xml">
34 <!ENTITY glib-Memory-Chunks SYSTEM "xml/memory_chunks.xml">
35 <!ENTITY glib-Doubly-Linked-Lists SYSTEM "xml/linked_lists_double.xml">
36 <!ENTITY glib-Singly-Linked-Lists SYSTEM "xml/linked_lists_single.xml">
37 <!ENTITY glib-Double-ended-Queues SYSTEM "xml/queue.xml">
38 <!ENTITY glib-Trash-Stacks SYSTEM "xml/trash_stack.xml">
39 <!ENTITY glib-Hash-Tables SYSTEM "xml/hash_tables.xml">
40 <!ENTITY glib-Strings SYSTEM "xml/strings.xml">
41 <!ENTITY glib-String-Chunks SYSTEM "xml/string_chunks.xml">
42 <!ENTITY glib-Arrays SYSTEM "xml/arrays.xml">
43 <!ENTITY glib-Pointer-Arrays SYSTEM "xml/arrays_pointer.xml">
44 <!ENTITY glib-Byte-Arrays SYSTEM "xml/arrays_byte.xml">
45 <!ENTITY glib-Balanced-Binary-Trees SYSTEM "xml/trees-binary.xml">
46 <!ENTITY glib-N-ary-Trees SYSTEM "xml/trees-nary.xml">
47 <!ENTITY glib-Quarks SYSTEM "xml/quarks.xml">
48 <!ENTITY glib-Keyed-Data-Lists SYSTEM "xml/datalist.xml">
49 <!ENTITY glib-Datasets SYSTEM "xml/datasets.xml">
50 <!ENTITY glib-Relations-and-Tuples SYSTEM "xml/relations.xml">
51 <!ENTITY glib-Caches SYSTEM "xml/caches.xml">
52 <!ENTITY glib-Memory-Allocators SYSTEM "xml/allocators.xml">
53 <!ENTITY glib-Spawn SYSTEM "xml/spawn.xml">
54 <!ENTITY glib-Fileutils SYSTEM "xml/fileutils.xml">
55 <!ENTITY glib-Shell SYSTEM "xml/shell.xml">
56 <!ENTITY glib-Markup SYSTEM "xml/markup.xml">
57 <!ENTITY glib-i18n SYSTEM "xml/i18n.xml">
59 <!ENTITY glib-Compiling SYSTEM "compiling.sgml">
60 <!ENTITY glib-Building SYSTEM "building.sgml">
61 <!ENTITY glib-Cross SYSTEM "cross.sgml">
62 <!ENTITY glib-Running SYSTEM "running.sgml">
63 <!ENTITY glib-Resources SYSTEM "resources.sgml">
64 <!ENTITY glib-Changes SYSTEM "changes.sgml">
66 <!ENTITY glib-gettextize SYSTEM "glib-gettextize.xml">
68 <!ENTITY version SYSTEM "version.xml">
72 <title>GLib Reference Manual</title>
73 <releaseinfo>for GLib &version;</releaseinfo>
77 <title>GLib Overview</title>
79 GLib is a general-purpose utility library, which provides many useful data
80 types, macros, type conversions, string utilities, file utilities, a main
81 loop abstraction, and so on. It works on many UNIX-like platforms, Windows,
82 OS/2 and BeOS. GLib is released under the GNU Library General Public License
86 The general policy of GLib is that all functions are invisibly threadsafe with the
87 exception of data structure manipulation functions, where, if you have two threads
88 manipulating the <emphasis>same</emphasis> data structure, they must use a lock to
89 synchronize their operation.
101 <chapter id="glib-fundamentals">
102 <title>GLib Fundamentals</title>
104 &glib-Limits-of-Basic-Types;
105 &glib-Standard-Macros;
106 &glib-Type-Conversion-Macros;
107 &glib-Byte-Order-Macros;
108 &glib-Numerical-Definitions;
109 &glib-Miscellaneous-Macros;
110 &glib-Atomic-Operations;
113 <chapter id="glib-core">
114 <title>GLib Core Application Support</title>
115 &glib-The-Main-Event-Loop;
119 &glib-Dynamic-Loading-of-Modules;
120 &glib-Memory-Allocation;
122 &glib-Error-Reporting;
123 &glib-Warnings-and-Assertions;
124 &glib-Message-Logging;
127 <chapter id="glib-utilities">
128 <title>GLib Utilities</title>
129 &glib-String-Utility-Functions;
130 &glib-Character-Set-Conversion;
131 &glib-Unicode-Manipulation;
133 &glib-Date-and-Time-Functions;
134 &glib-Random-Numbers;
135 &glib-Hook-Functions;
136 &glib-Miscellaneous-Utility-Functions;
137 &glib-Lexical-Scanner;
138 &glib-Automatic-String-Completion;
143 &glib-Pattern-Matching;
145 &glib-Windows-Compatability-Functions;
148 <chapter id="glib-data-types">
149 <title>GLib Data Types</title>
151 &glib-Doubly-Linked-Lists;
152 &glib-Singly-Linked-Lists;
153 &glib-Double-ended-Queues;
159 &glib-Pointer-Arrays;
161 &glib-Balanced-Binary-Trees;
164 &glib-Keyed-Data-Lists;
166 &glib-Relations-and-Tuples;
168 &glib-Memory-Allocators;
172 <title>GLib Tools</title>