From ecc1730d3bfdc11fa07f15893267a7ea054328f1 Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Thu, 25 Aug 2011 18:03:23 +0200 Subject: afp: reuse g_vfs_afp_connection_send_command in the sync version --- daemon/gvfsafpconnection.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'daemon/gvfsafpconnection.h') diff --git a/daemon/gvfsafpconnection.h b/daemon/gvfsafpconnection.h index f5cde133..57badd2b 100644 --- a/daemon/gvfsafpconnection.h +++ b/daemon/gvfsafpconnection.h @@ -400,15 +400,6 @@ gboolean g_vfs_afp_connection_close (GVfsAfpConnection *af GCancellable *cancellable, GError **error); -gboolean g_vfs_afp_connection_send_command_sync (GVfsAfpConnection *afp_connection, - GVfsAfpCommand *afp_command, - GCancellable *cancellable, - GError **error); - -GVfsAfpReply* g_vfs_afp_connection_read_reply_sync (GVfsAfpConnection *afp_connection, - GCancellable *cancellable, - GError **error); - GVfsAfpReply* g_vfs_afp_connection_send_command_finish (GVfsAfpConnection *afp_connnection, GAsyncResult *res, GError **error); @@ -419,6 +410,11 @@ void g_vfs_afp_connection_send_command (GVfsAfpConnection *a GAsyncReadyCallback callback, GCancellable *cancellable, gpointer user_data); + +GVfsAfpReply * g_vfs_afp_connection_send_command_sync (GVfsAfpConnection *afp_connection, + GVfsAfpCommand *command, + GCancellable *cancellable, + GError **error); G_END_DECLS #endif /* _GVFSAFPCONNECTION_H_ */ -- cgit v1.2.1