Re: gio GUnix* API
- From: Alexander Larsson <alexl redhat com>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gnome-vfs-list <gnome-vfs-list gnome org>
- Subject: Re: gio GUnix* API
- Date: Wed, 06 Feb 2008 14:40:46 +0100
On Tue, 2008-02-05 at 12:35 +0100, Murray Cumming wrote:
> Are these public API that is meant to be used by applications (and
> language bindings) directly, or are they just default implementations of
> other things?:
>
> GUnixMount
> http://library.gnome.org/devel/gio/unstable/gio-Unix-Mounts.html
>
> GUnixInputStream
> http://library.gnome.org/devel/gio/unstable/GUnixInputStream.html
>
> GUnixOutputStream:
> http://library.gnome.org/devel/gio/unstable/GUnixOutputStream.html
They are public, unix-specific APIs, in a separate pkg-config file.
GUnixMount is basically a fstab/mtab parser. The main reason its exposed
is that we need to use it in the Hal volume monitor implementation in
gvfs.
GUnixInput/OutputStream is a way to create streams from a unix file
descriptor (typically a pipe or a socket). It was moved to the unix
specific api because using a "int fd" argument is not portable. It is
however used by e.g. gvfs and is quite useful for some things.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]