diff options
author | Benjamin Otte <otte@gnome.org> | 2009-06-04 21:38:19 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-06-11 10:05:40 +0200 |
commit | 099ec12159453b224957f36bef4271bfd9c326b3 (patch) | |
tree | e22a92bd8f8e7aea339b84f489f614213f06861e /daemon/gvfsftpconnection.h | |
parent | 5bca61ba06c374b5d4ef197e4805074880ddee20 (diff) | |
download | gvfs-099ec12159453b224957f36bef4271bfd9c326b3.tar.gz |
[FTP] improve debugging
- print LIST replies again
- make connections have a debug id and use it for debugging prints
Diffstat (limited to 'daemon/gvfsftpconnection.h')
-rw-r--r-- | daemon/gvfsftpconnection.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/daemon/gvfsftpconnection.h b/daemon/gvfsftpconnection.h index 4fbc91be..7fd33870 100644 --- a/daemon/gvfsftpconnection.h +++ b/daemon/gvfsftpconnection.h @@ -27,14 +27,6 @@ G_BEGIN_DECLS -#define PRINT_DEBUG - -#ifdef PRINT_DEBUG -#define DEBUG g_print -#else -#define DEBUG(...) -#endif - typedef struct _GVfsFtpConnection GVfsFtpConnection; @@ -64,7 +56,8 @@ gboolean g_vfs_ftp_connection_open_data_connection GError ** error); void g_vfs_ftp_connection_close_data_connection (GVfsFtpConnection * conn); -GIOStream * g_vfs_ftp_connection_get_data_stream (GVfsFtpConnection * conn); +GIOStream * g_vfs_ftp_connection_get_data_stream (GVfsFtpConnection * conn, + int * debug_id); gssize g_vfs_ftp_connection_write_data (GVfsFtpConnection * conn, const char * data, gsize len, |