Remmina - The GTK+ Remote Desktop Client  v1.3.1
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
remmina_sftp_client.c File Reference

Go to the source code of this file.

Functions

 G_DEFINE_TYPE (RemminaSFTPClient, remmina_sftp_client, REMMINA_TYPE_FTP_CLIENT)
 
static gboolean remmina_sftp_client_refresh (RemminaSFTPClient *client)
 
static gboolean remmina_sftp_client_thread_update_task (RemminaSFTPClient *client, RemminaFTPTask *task)
 
static void remmina_sftp_client_thread_set_error (RemminaSFTPClient *client, RemminaFTPTask *task, const gchar *error_format,...)
 
static void remmina_sftp_client_thread_set_finish (RemminaSFTPClient *client, RemminaFTPTask *task)
 
static RemminaFTPTaskremmina_sftp_client_thread_get_task (RemminaSFTPClient *client)
 
static gboolean remmina_sftp_client_thread_download_file (RemminaSFTPClient *client, RemminaSFTP *sftp, RemminaFTPTask *task, const gchar *remote_path, const gchar *local_path, guint64 *donesize)
 
static gboolean remmina_sftp_client_thread_recursive_dir (RemminaSFTPClient *client, RemminaSFTP *sftp, RemminaFTPTask *task, const gchar *rootdir_path, const gchar *subdir_path, GPtrArray *array)
 
static gboolean remmina_sftp_client_thread_recursive_localdir (RemminaSFTPClient *client, RemminaFTPTask *task, const gchar *rootdir_path, const gchar *subdir_path, GPtrArray *array)
 
static gboolean remmina_sftp_client_thread_mkdir (RemminaSFTPClient *client, RemminaSFTP *sftp, RemminaFTPTask *task, const gchar *path)
 
static gboolean remmina_sftp_client_thread_upload_file (RemminaSFTPClient *client, RemminaSFTP *sftp, RemminaFTPTask *task, const gchar *remote_path, const gchar *local_path, guint64 *donesize)
 
static gpointer remmina_sftp_client_thread_main (gpointer data)
 
static void remmina_sftp_client_destroy (RemminaSFTPClient *client, gpointer data)
 
static sftp_dir remmina_sftp_client_sftp_session_opendir (RemminaSFTPClient *client, const gchar *dir)
 
static gboolean remmina_sftp_client_sftp_session_closedir (RemminaSFTPClient *client, sftp_dir sftpdir)
 
static void remmina_sftp_client_on_opendir (RemminaSFTPClient *client, gchar *dir, gpointer data)
 
static void remmina_sftp_client_on_newtask (RemminaSFTPClient *client, gpointer data)
 
static gboolean remmina_sftp_client_on_canceltask (RemminaSFTPClient *client, gint taskid, gpointer data)
 
static gboolean remmina_sftp_client_on_deletefile (RemminaSFTPClient *client, gint type, gchar *name, gpointer data)
 
static void remmina_sftp_client_init (RemminaSFTPClient *client)
 
gint remmina_sftp_client_confirm_resume (RemminaSFTPClient *client, const gchar *path)
 
GtkWidget * remmina_sftp_client_new (void)
 
void remmina_sftp_client_open (RemminaSFTPClient *client, RemminaSFTP *sftp)
 
GtkWidget * remmina_sftp_client_new_init (RemminaSFTP *sftp)
 

Function Documentation

◆ G_DEFINE_TYPE()

G_DEFINE_TYPE ( RemminaSFTPClient  ,
remmina_sftp_client  ,
REMMINA_TYPE_FTP_CLIENT   
)

Definition at line 56 of file remmina_sftp_client.c.

◆ remmina_sftp_client_confirm_resume()

gint remmina_sftp_client_confirm_resume ( RemminaSFTPClient client,
const gchar *  path 
)

Definition at line 874 of file remmina_sftp_client.c.

◆ remmina_sftp_client_destroy()

static void remmina_sftp_client_destroy ( RemminaSFTPClient client,
gpointer  data 
)
static

Definition at line 639 of file remmina_sftp_client.c.

◆ remmina_sftp_client_init()

static void remmina_sftp_client_init ( RemminaSFTPClient client)
static

Definition at line 835 of file remmina_sftp_client.c.

◆ remmina_sftp_client_new()

GtkWidget* remmina_sftp_client_new ( void  )

Definition at line 946 of file remmina_sftp_client.c.

◆ remmina_sftp_client_new_init()

GtkWidget* remmina_sftp_client_new_init ( RemminaSFTP sftp)

Definition at line 962 of file remmina_sftp_client.c.

◆ remmina_sftp_client_on_canceltask()

static gboolean remmina_sftp_client_on_canceltask ( RemminaSFTPClient client,
gint  taskid,
gpointer  data 
)
static

Definition at line 781 of file remmina_sftp_client.c.

◆ remmina_sftp_client_on_deletefile()

static gboolean remmina_sftp_client_on_deletefile ( RemminaSFTPClient client,
gint  type,
gchar *  name,
gpointer  data 
)
static

Definition at line 803 of file remmina_sftp_client.c.

◆ remmina_sftp_client_on_newtask()

static void remmina_sftp_client_on_newtask ( RemminaSFTPClient client,
gpointer  data 
)
static

Definition at line 771 of file remmina_sftp_client.c.

◆ remmina_sftp_client_on_opendir()

static void remmina_sftp_client_on_opendir ( RemminaSFTPClient client,
gchar *  dir,
gpointer  data 
)
static

Definition at line 694 of file remmina_sftp_client.c.

◆ remmina_sftp_client_open()

void remmina_sftp_client_open ( RemminaSFTPClient client,
RemminaSFTP sftp 
)

Definition at line 953 of file remmina_sftp_client.c.

◆ remmina_sftp_client_refresh()

static gboolean remmina_sftp_client_refresh ( RemminaSFTPClient client)
static

Definition at line 857 of file remmina_sftp_client.c.

◆ remmina_sftp_client_sftp_session_closedir()

static gboolean remmina_sftp_client_sftp_session_closedir ( RemminaSFTPClient client,
sftp_dir  sftpdir 
)
static

Definition at line 676 of file remmina_sftp_client.c.

◆ remmina_sftp_client_sftp_session_opendir()

static sftp_dir remmina_sftp_client_sftp_session_opendir ( RemminaSFTPClient client,
const gchar *  dir 
)
static

Definition at line 656 of file remmina_sftp_client.c.

◆ remmina_sftp_client_thread_download_file()

static gboolean remmina_sftp_client_thread_download_file ( RemminaSFTPClient client,
RemminaSFTP sftp,
RemminaFTPTask task,
const gchar *  remote_path,
const gchar *  local_path,
guint64 *  donesize 
)
static

Definition at line 150 of file remmina_sftp_client.c.

◆ remmina_sftp_client_thread_get_task()

static RemminaFTPTask* remmina_sftp_client_thread_get_task ( RemminaSFTPClient client)
static

Definition at line 131 of file remmina_sftp_client.c.

◆ remmina_sftp_client_thread_main()

static gpointer remmina_sftp_client_thread_main ( gpointer  data)
static

Definition at line 487 of file remmina_sftp_client.c.

◆ remmina_sftp_client_thread_mkdir()

static gboolean remmina_sftp_client_thread_mkdir ( RemminaSFTPClient client,
RemminaSFTP sftp,
RemminaFTPTask task,
const gchar *  path 
)
static

Definition at line 368 of file remmina_sftp_client.c.

◆ remmina_sftp_client_thread_recursive_dir()

static gboolean remmina_sftp_client_thread_recursive_dir ( RemminaSFTPClient client,
RemminaSFTP sftp,
RemminaFTPTask task,
const gchar *  rootdir_path,
const gchar *  subdir_path,
GPtrArray *  array 
)
static

Definition at line 252 of file remmina_sftp_client.c.

◆ remmina_sftp_client_thread_recursive_localdir()

static gboolean remmina_sftp_client_thread_recursive_localdir ( RemminaSFTPClient client,
RemminaFTPTask task,
const gchar *  rootdir_path,
const gchar *  subdir_path,
GPtrArray *  array 
)
static

Definition at line 323 of file remmina_sftp_client.c.

◆ remmina_sftp_client_thread_set_error()

static void remmina_sftp_client_thread_set_error ( RemminaSFTPClient client,
RemminaFTPTask task,
const gchar *  error_format,
  ... 
)
static

Definition at line 101 of file remmina_sftp_client.c.

◆ remmina_sftp_client_thread_set_finish()

static void remmina_sftp_client_thread_set_finish ( RemminaSFTPClient client,
RemminaFTPTask task 
)
static

Definition at line 120 of file remmina_sftp_client.c.

◆ remmina_sftp_client_thread_update_task()

static gboolean remmina_sftp_client_thread_update_task ( RemminaSFTPClient client,
RemminaFTPTask task 
)
static

Definition at line 90 of file remmina_sftp_client.c.

◆ remmina_sftp_client_thread_upload_file()

static gboolean remmina_sftp_client_thread_upload_file ( RemminaSFTPClient client,
RemminaSFTP sftp,
RemminaFTPTask task,
const gchar *  remote_path,
const gchar *  local_path,
guint64 *  donesize 
)
static

Definition at line 387 of file remmina_sftp_client.c.