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 version SYSTEM "version.xml"> |
---|
5 | <!ENTITY gnome-vfs-writing-modules SYSTEM "writing-modules.sgml"> |
---|
6 | <!ENTITY gnome-vfs-about SYSTEM "about.sgml"> |
---|
7 | <!ENTITY gnome-vfs-mime-monitor SYSTEM "xml/gnome-vfs-mime-monitor.xml"> |
---|
8 | <!ENTITY gnome-vfs-file-size SYSTEM "xml/gnome-vfs-file-size.xml"> |
---|
9 | <!ENTITY gnome-vfs-utils SYSTEM "xml/gnome-vfs-utils.xml"> |
---|
10 | <!ENTITY gnome-vfs-application-registry SYSTEM "xml/gnome-vfs-application-registry.xml"> |
---|
11 | <!ENTITY gnome-vfs-transform SYSTEM "xml/gnome-vfs-transform.xml"> |
---|
12 | <!ENTITY gnome-vfs-ops SYSTEM "xml/gnome-vfs-ops.xml"> |
---|
13 | <!ENTITY gnome-vfs-ssl SYSTEM "xml/gnome-vfs-ssl.xml"> |
---|
14 | <!ENTITY gnome-vfs-uri SYSTEM "xml/gnome-vfs-uri.xml"> |
---|
15 | <!ENTITY gnome-vfs-standard-callbacks SYSTEM "xml/gnome-vfs-standard-callbacks.xml"> |
---|
16 | <!ENTITY gnome-vfs-inet-connection SYSTEM "xml/gnome-vfs-inet-connection.xml"> |
---|
17 | <!ENTITY gnome-vfs-socket SYSTEM "xml/gnome-vfs-socket.xml"> |
---|
18 | <!ENTITY gnome-vfs-parse-ls SYSTEM "xml/gnome-vfs-parse-ls.xml"> |
---|
19 | <!ENTITY gnome-vfs-module-callback SYSTEM "xml/gnome-vfs-module-callback.xml"> |
---|
20 | <!ENTITY gnome-vfs-context SYSTEM "xml/gnome-vfs-context.xml"> |
---|
21 | <!ENTITY gnome-vfs-file-info SYSTEM "xml/gnome-vfs-file-info.xml"> |
---|
22 | <!ENTITY gnome-vfs-method SYSTEM "xml/gnome-vfs-method.xml"> |
---|
23 | <!ENTITY gnome-vfs-directory SYSTEM "xml/gnome-vfs-directory.xml"> |
---|
24 | <!ENTITY gnome-vfs-directory-basic-ops SYSTEM "xml/gnome-vfs-directory-basic-ops.xml"> |
---|
25 | <!ENTITY gnome-vfs-directory-list-ops SYSTEM "xml/gnome-vfs-directory-list-ops.xml"> |
---|
26 | <!ENTITY gnome-vfs-directory-find-ops SYSTEM "xml/gnome-vfs-directory-find-ops.xml"> |
---|
27 | <!ENTITY gnome-vfs-file-basic-ops SYSTEM "xml/gnome-vfs-file-basic-ops.xml"> |
---|
28 | <!ENTITY gnome-vfs-file-rw-ops SYSTEM "xml/gnome-vfs-file-rw-ops.xml"> |
---|
29 | <!ENTITY gnome-vfs-file-trunc-ops SYSTEM "xml/gnome-vfs-file-trunc-ops.xml"> |
---|
30 | <!ENTITY gnome-vfs-file-info-ops SYSTEM "xml/gnome-vfs-file-info-ops.xml"> |
---|
31 | <!ENTITY gnome-vfs-file-advanced-ops SYSTEM "xml/gnome-vfs-file-advanced-ops.xml"> |
---|
32 | <!ENTITY gnome-vfs-file-async-ops SYSTEM "xml/gnome-vfs-async-ops.xml"> |
---|
33 | <!ENTITY gnome-vfs-result SYSTEM "xml/gnome-vfs-result.xml"> |
---|
34 | <!ENTITY gnome-vfs-mime-database SYSTEM "xml/gnome-vfs-mime-database.xml"> |
---|
35 | <!ENTITY gnome-vfs-module SYSTEM "xml/gnome-vfs-module.xml"> |
---|
36 | <!ENTITY gnome-vfs-module-shared SYSTEM "xml/gnome-vfs-module-shared.xml"> |
---|
37 | <!ENTITY gnome-vfs-module-callback-module-api SYSTEM "xml/gnome-vfs-module-callback-module-api.xml"> |
---|
38 | <!ENTITY gnome-vfs-init SYSTEM "xml/gnome-vfs-init.xml"> |
---|
39 | <!ENTITY gnome-vfs-mime SYSTEM "xml/gnome-vfs-mime.xml"> |
---|
40 | <!ENTITY gnome-vfs-cancellation SYSTEM "xml/gnome-vfs-cancellation.xml"> |
---|
41 | <!ENTITY gnome-vfs-xfer SYSTEM "xml/gnome-vfs-xfer.xml"> |
---|
42 | <!ENTITY gnome-vfs-socket-buffer SYSTEM "xml/gnome-vfs-socket-buffer.xml"> |
---|
43 | <!ENTITY gnome-vfs-monitor SYSTEM "xml/gnome-vfs-monitor.xml"> |
---|
44 | <!ENTITY gnome-vfs-volume SYSTEM "xml/gnome-vfs-volume.xml"> |
---|
45 | <!ENTITY gnome-vfs-drive SYSTEM "xml/gnome-vfs-drive.xml"> |
---|
46 | <!ENTITY gnome-vfs-volume-monitor SYSTEM "xml/gnome-vfs-volume-monitor.xml"> |
---|
47 | <!ENTITY gnome-vfs-dns-sd SYSTEM "xml/gnome-vfs-dns-sd.xml"> |
---|
48 | <!ENTITY gnome-vfs-resolve SYSTEM "xml/gnome-vfs-resolve.xml"> |
---|
49 | ]> |
---|
50 | |
---|
51 | <book id="index"> |
---|
52 | <bookinfo> |
---|
53 | <title>GnomeVFS - Filesystem Abstraction library</title> |
---|
54 | <releaseinfo>for GnomeVFS &version;</releaseinfo> |
---|
55 | <authorgroup> |
---|
56 | <author> |
---|
57 | <firstname>Seth</firstname> |
---|
58 | <surname>Nickell</surname> |
---|
59 | <affiliation> |
---|
60 | <address> |
---|
61 | <email>snickell@Stanford.edu</email> |
---|
62 | </address> |
---|
63 | </affiliation> |
---|
64 | </author> |
---|
65 | <author> |
---|
66 | <firstname>Christophe</firstname> |
---|
67 | <surname>Fergeau</surname> |
---|
68 | <affiliation> |
---|
69 | <address> |
---|
70 | <email>teuf@gnome.org</email> |
---|
71 | </address> |
---|
72 | </affiliation> |
---|
73 | </author> |
---|
74 | </authorgroup> |
---|
75 | |
---|
76 | <legalnotice> |
---|
77 | <para> |
---|
78 | Permission is granted to copy, distribute and/or modify this document |
---|
79 | under the terms of the GNU Free Documentation License, Version 1.1 |
---|
80 | or any later version published by the Free Software Foundation; |
---|
81 | A copy of the license is included in the section entitled "GNU |
---|
82 | Free Documentation License". |
---|
83 | </para> |
---|
84 | </legalnotice> |
---|
85 | |
---|
86 | <copyright> |
---|
87 | <year>2001</year> |
---|
88 | <holder>The Free Software Foundation</holder> |
---|
89 | </copyright> |
---|
90 | <copyright> |
---|
91 | <year>2004</year> |
---|
92 | <holder>Christophe Fergeau</holder> |
---|
93 | </copyright> |
---|
94 | |
---|
95 | </bookinfo> |
---|
96 | |
---|
97 | &gnome-vfs-about; |
---|
98 | &gnome-vfs-init; |
---|
99 | |
---|
100 | <chapter id="data-types"> |
---|
101 | <title>Basic Data Types</title> |
---|
102 | &gnome-vfs-result; |
---|
103 | &gnome-vfs-uri; |
---|
104 | &gnome-vfs-utils; |
---|
105 | &gnome-vfs-file-info; |
---|
106 | &gnome-vfs-file-size; |
---|
107 | </chapter> |
---|
108 | |
---|
109 | <chapter id="gnome-vfs-file-and-dirs-ops"> |
---|
110 | <title>Files and Directories Manipulation</title> |
---|
111 | |
---|
112 | <sect1 id="gnome-vfs-file-operations"> |
---|
113 | <title>File Handling</title> |
---|
114 | <para> |
---|
115 | GnomeVFS file operations are, for the most part, patterned after |
---|
116 | their POSIX equivalents, with the systematic difference that they |
---|
117 | accept URIs rather than paths on the local filesystem. This makes |
---|
118 | them easy to learn as if you are already familiar with basic commands |
---|
119 | such as open(), seek(), write(), etc you will feel right at home |
---|
120 | with GnomeVFS after learning a little about URIs. |
---|
121 | </para> |
---|
122 | |
---|
123 | <para> |
---|
124 | GnomeVFS also provides asynchronous versions of these basic operations |
---|
125 | for allowing application developers to provide non-blocking file I/O |
---|
126 | without the use of threads. |
---|
127 | </para> |
---|
128 | |
---|
129 | &gnome-vfs-file-basic-ops; |
---|
130 | &gnome-vfs-file-rw-ops; |
---|
131 | &gnome-vfs-file-info-ops; |
---|
132 | &gnome-vfs-xfer; |
---|
133 | &gnome-vfs-file-trunc-ops; |
---|
134 | &gnome-vfs-file-advanced-ops; |
---|
135 | &gnome-vfs-file-async-ops; |
---|
136 | </sect1> |
---|
137 | |
---|
138 | <sect1 id="gnome-vfs-directory-operations"> |
---|
139 | <title>Directory Handling</title> |
---|
140 | <para> |
---|
141 | Functions for creating, removing, and listing directories. |
---|
142 | </para> |
---|
143 | |
---|
144 | &gnome-vfs-directory-basic-ops; |
---|
145 | &gnome-vfs-directory-list-ops; |
---|
146 | &gnome-vfs-directory-find-ops; |
---|
147 | </sect1> |
---|
148 | |
---|
149 | |
---|
150 | <sect1 id="advanced-operations"> |
---|
151 | <title>Advanced Operations</title> |
---|
152 | &gnome-vfs-monitor; |
---|
153 | &gnome-vfs-cancellation; |
---|
154 | </sect1> |
---|
155 | </chapter> |
---|
156 | |
---|
157 | <chapter id="volumes"> |
---|
158 | <title>Volumes and Drives Handling</title> |
---|
159 | &gnome-vfs-volume; |
---|
160 | &gnome-vfs-drive; |
---|
161 | &gnome-vfs-volume-monitor; |
---|
162 | </chapter> |
---|
163 | |
---|
164 | <chapter id="networking"> |
---|
165 | <title>Networking</title> |
---|
166 | &gnome-vfs-dns-sd; |
---|
167 | &gnome-vfs-resolve; |
---|
168 | &gnome-vfs-ssl; |
---|
169 | &gnome-vfs-socket; |
---|
170 | &gnome-vfs-socket-buffer; |
---|
171 | &gnome-vfs-inet-connection; |
---|
172 | </chapter> |
---|
173 | |
---|
174 | |
---|
175 | <chapter id="mime-registry"> |
---|
176 | <title>MIME Registry</title> |
---|
177 | <para> |
---|
178 | MIME types provide a standardized for denoting the content of files or |
---|
179 | file streams. GnomeVFS exposes simple methods for both identifying the |
---|
180 | MIME type of a particular file, and deciding how to act on it. The MIME |
---|
181 | and application registries provide a mapping between files of a particular |
---|
182 | mime type and applications / bonobo components which can view or edit |
---|
183 | those files. Applications such as Nautilus use this database to generate |
---|
184 | appropriate actions when files are activated. |
---|
185 | </para> |
---|
186 | |
---|
187 | &gnome-vfs-application-registry; |
---|
188 | &gnome-vfs-mime-database; |
---|
189 | &gnome-vfs-mime-monitor; |
---|
190 | </chapter> |
---|
191 | |
---|
192 | <chapter id="modules"> |
---|
193 | <title>Filesystem Modules</title> |
---|
194 | <para> |
---|
195 | Modules are the mechanism by which GnomeVFS accesses different filesystems, |
---|
196 | from http, to the local disk, to smb. Module authors must implement a simple |
---|
197 | set of filesystem operations and can provide varying degrees of service (read-only, |
---|
198 | read-write, seeking, etc). Modules are dynamically loaded based upon the URI |
---|
199 | scheme passed into the high-level GnomeVFS APIs. |
---|
200 | </para> |
---|
201 | |
---|
202 | &gnome-vfs-writing-modules; |
---|
203 | &gnome-vfs-mime; |
---|
204 | &gnome-vfs-method; |
---|
205 | &gnome-vfs-module; |
---|
206 | &gnome-vfs-module-shared; |
---|
207 | &gnome-vfs-module-callback-module-api; |
---|
208 | &gnome-vfs-context; |
---|
209 | &gnome-vfs-transform; |
---|
210 | &gnome-vfs-parse-ls; |
---|
211 | &gnome-vfs-standard-callbacks; |
---|
212 | &gnome-vfs-module-callback; |
---|
213 | </chapter> |
---|
214 | |
---|
215 | </book> |
---|