summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendftp.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-06-08 18:09:15 +0200
committerBenjamin Otte <otte@gnome.org>2009-06-11 10:05:40 +0200
commit47e7ba99968d2ee481782e6fe61fb3ccb0eb8606 (patch)
tree9169f849a5aee6fbdfda1c3a362e0516d724fa63 /daemon/gvfsbackendftp.h
parentdd02f8de178ce85d09b3fc1ed31626fb19dfcb44 (diff)
downloadgvfs-47e7ba99968d2ee481782e6fe61fb3ccb0eb8606.tar.gz
[FTP] almost implement pull vfunc
Progress updates are not sent yet.
Diffstat (limited to 'daemon/gvfsbackendftp.h')
-rw-r--r--daemon/gvfsbackendftp.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/daemon/gvfsbackendftp.h b/daemon/gvfsbackendftp.h
index 54ebb696..99134e27 100644
--- a/daemon/gvfsbackendftp.h
+++ b/daemon/gvfsbackendftp.h
@@ -74,16 +74,16 @@ typedef struct _GVfsBackendFtpClass GVfsBackendFtpClass;
struct _GVfsBackendFtp
{
- GVfsBackend backend;
+ GVfsBackend backend;
GSocketConnectable * addr;
GSocketClient * connection_factory;
- char * user;
+ char * user;
gboolean has_initial_user;
- char * password; /* password or NULL for anonymous */
+ char * password; /* password or NULL for anonymous */
char * host_display_name;
- GVfsFtpSystem system; /* the system from the SYST response */
+ GVfsFtpSystem system; /* the system from the SYST response */
int features; /* GVfsFtpFeatures that are supported */
int workarounds; /* GVfsFtpWorkarounds in use - int because it's atomic */
@@ -92,12 +92,12 @@ struct _GVfsBackendFtp
GVfsFtpDirCache * dir_cache; /* directory cache */
/* connection collection - accessed from gvfsftptask.c */
- GMutex * mutex; /* mutex protecting the following variables */
- GCond * cond; /* cond used to signal tasks waiting on the mutex */
- GQueue * queue; /* queue containing the connections */
- guint connections; /* current number of connections */
+ GMutex * mutex; /* mutex protecting the following variables */
+ GCond * cond; /* cond used to signal tasks waiting on the mutex */
+ GQueue * queue; /* queue containing the connections */
+ guint connections; /* current number of connections */
guint busy_connections; /* current number of connections being used for reads/writes */
- guint max_connections; /* upper server limit for number of connections - dynamically generated */
+ guint max_connections; /* upper server limit for number of connections - dynamically generated */
};
struct _GVfsBackendFtpClass