GnomeVFS - Filesystem Abstraction library

Seth Nickell

    snickell@Stanford.edu
  

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; A copy of the license is included in the section entitled "GNU Free Documentation License".

Table of Contents
Introduction to GnomeVFS
Uses and Purpose
User's Perspective
Developer's Perspective
A Gentle Programming Primer
Conversion of a Sample Code Block
Basic File Operations
Asynchronous File I/O — allows for non-blocking file operations
Basic File I/O — synchronous file operations similar to posix calls, but using uris
Directory Operations — loading and parsing directory contents
xfer
Common Data Types
types
File Info
Result Codes — utilities for interpreting GnomeVFS Result codes
uri
MIME types & the Application Registry
Algorithmic Sniff Buffer — algorithmic detection of mime type for select file types
Application Registry — a database of the available applications and their capabilities
Magic MIME Detection — functions for parsing the magic mime database
MIME Type Detection — detecting the mime type of a URI
MIME Handlers — functions for getting and manipulating the actions to be performed on mime types
mime-info
mime-monitor
Filesystem Modules
Writing modules for the GNOME Virtual File System
Introduction
GNOME Virtual File System access method implementation
Implementing an access method in practice
Handling cancellation
Basic guidelines for writing a module
method
module-shared
module
Module Callbacks (Module API) — interface to module callbacks for use by gnome-vfs modules
Other APIs
Backend
Cancellation
Configuration
Context
Directory Filter
File Size
Find Directory — used to locate special directories such as the trash and desktop
inet-connection
init
iobuf
list-sort
Module Callbacks — registering for special callbacks from gnome-vfs module operations
Standard Callbacks — Module callbacks pre-defined by gnome-vfs
parse-ls
process
regexp-filter
seekable
shellpattern-filter
ssl
utils