diff options
author | Benjamin Otte <otte@gnome.org> | 2009-06-02 13:19:51 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-06-11 10:05:40 +0200 |
commit | e62142b001e218d268a85f2f90993cdf42148fae (patch) | |
tree | 4948320f6778cb04118a1c6541291eac338fed73 /daemon/gvfsftpconnection.h | |
parent | 2f5c4dcfd579f9b9cceb8eb08b71d4318e9c03b6 (diff) | |
download | gvfs-e62142b001e218d268a85f2f90993cdf42148fae.tar.gz |
[FTP] introduce GVfsFtpTask
split out the old FtpConnection struct into a separate GVfsFtpTask
structure that acts as a one-stop solution to vfuncs. It keeps track of
all important structures:
- the backend
- the current job
- the potential connection to the server
- the error state
during the lifetime of a backend vfunc and supplies convenience
functions to ease implementing these vfuncs. The API of gvfsftptask.h is
documented.
Diffstat (limited to 'daemon/gvfsftpconnection.h')
-rw-r--r-- | daemon/gvfsftpconnection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gvfsftpconnection.h b/daemon/gvfsftpconnection.h index 4e9e7ecc..234f4e4d 100644 --- a/daemon/gvfsftpconnection.h +++ b/daemon/gvfsftpconnection.h @@ -53,6 +53,7 @@ guint g_vfs_ftp_connection_receive (GVfsFtpConnection GCancellable * cancellable, GError ** error); +gboolean g_vfs_ftp_connection_is_usable (GVfsFtpConnection * conn); GSocketAddress * g_vfs_ftp_connection_get_address (GVfsFtpConnection * conn, GError ** error); |