diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2011-09-01 00:29:31 +0200 |
---|---|---|
committer | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2012-01-22 09:47:27 +0100 |
commit | f0a4fe7e7cde9da102caa3a36eb417165499f768 (patch) | |
tree | 1908c4623b318d96527b8b91c047d7231f8d65d6 /daemon/gvfsafpserver.h | |
parent | 4e7e87dec90fdfa936d21e7ef208213f53a78c35 (diff) | |
download | gvfs-f0a4fe7e7cde9da102caa3a36eb417165499f768.tar.gz |
afp: move retrieval of server parameters into GVfsAfpServer
add function g_vfs_afp_server_time_to_local_time to do the
server time -> local time conversion
Diffstat (limited to 'daemon/gvfsafpserver.h')
-rw-r--r-- | daemon/gvfsafpserver.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/daemon/gvfsafpserver.h b/daemon/gvfsafpserver.h index 5c624a65..5d1626fc 100644 --- a/daemon/gvfsafpserver.h +++ b/daemon/gvfsafpserver.h @@ -67,8 +67,14 @@ struct _GVfsAfpServer char *utf8_server_name; GSList *uams; AfpVersion version; + + gint32 time_diff; }; +GType g_vfs_afp_server_get_type (void) G_GNUC_CONST; + +GVfsAfpServer* g_vfs_afp_server_new (GNetworkAddress *addr); + gboolean g_vfs_afp_server_login (GVfsAfpServer *afp_serv, const char *initial_user, GMountSource *mount_source, @@ -76,9 +82,8 @@ gboolean g_vfs_afp_server_login (GVfsAfpServer *afp_serv, GCancellable *cancellable, GError **error); -GVfsAfpServer* g_vfs_afp_server_new (GNetworkAddress *addr); - -GType g_vfs_afp_server_get_type (void) G_GNUC_CONST; +gint64 g_vfs_afp_server_time_to_local_time (GVfsAfpServer *afp_serv, + gint32 server_time); G_END_DECLS |