New files to implement atomic operations for different platforms. Fixes
[platform/upstream/glib.git] / docs / reference / glib / glib-docs.sgml
1 <?xml version="1.0"?>
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">
58
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">
65
66 <!ENTITY glib-gettextize SYSTEM "glib-gettextize.xml">
67
68 <!ENTITY version SYSTEM "version.xml">
69 ]>
70 <book id="index">
71   <bookinfo>
72     <title>GLib Reference Manual</title>
73     <releaseinfo>for GLib &version;</releaseinfo>
74   </bookinfo>
75
76   <chapter id="glib">
77     <title>GLib Overview</title>
78     <para>
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 
83 (GNU LGPL). 
84     </para>
85     <para>
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.
90     </para>
91
92     &glib-Building;
93     &glib-Cross;
94     &glib-Compiling;
95     &glib-Running;
96     &glib-Changes;
97     &glib-Resources;
98  
99   </chapter> 
100
101   <chapter id="glib-fundamentals">
102     <title>GLib Fundamentals</title>
103     &glib-Basic-Types;
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;
111   </chapter>
112
113   <chapter id="glib-core">
114     <title>GLib Core Application Support</title>
115     &glib-The-Main-Event-Loop;
116     &glib-Threads;
117     &glib-Thread-Pools;
118     &glib-Async-Queues;
119     &glib-Dynamic-Loading-of-Modules;
120     &glib-Memory-Allocation;
121     &glib-IO-Channels;
122     &glib-Error-Reporting;
123     &glib-Warnings-and-Assertions;
124     &glib-Message-Logging;
125   </chapter>
126
127   <chapter id="glib-utilities">
128     <title>GLib Utilities</title>
129     &glib-String-Utility-Functions;
130     &glib-Character-Set-Conversion;
131     &glib-Unicode-Manipulation;
132     &glib-i18n;
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;
139     &glib-Timers;
140     &glib-Spawn;
141     &glib-Fileutils;
142     &glib-Shell;
143     &glib-Pattern-Matching;
144     &glib-Markup;
145     &glib-Windows-Compatability-Functions;
146   </chapter>
147
148   <chapter id="glib-data-types">
149     <title>GLib Data Types</title>
150     &glib-Memory-Chunks;
151     &glib-Doubly-Linked-Lists;
152     &glib-Singly-Linked-Lists;
153     &glib-Double-ended-Queues;
154     &glib-Trash-Stacks;
155     &glib-Hash-Tables;
156     &glib-Strings;
157     &glib-String-Chunks;
158     &glib-Arrays;
159     &glib-Pointer-Arrays;
160     &glib-Byte-Arrays;
161     &glib-Balanced-Binary-Trees;
162     &glib-N-ary-Trees;
163     &glib-Quarks;
164     &glib-Keyed-Data-Lists;
165     &glib-Datasets;
166     &glib-Relations-and-Tuples;
167     &glib-Caches;
168     &glib-Memory-Allocators;
169   </chapter>
170
171   <chapter id="tools">
172     <title>GLib Tools</title>
173
174     &glib-gettextize;
175   </chapter>
176
177   <index/>
178
179 </book>