Remmina - The GTK+ Remote Desktop Client  v1.4.34
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.h
Go to the documentation of this file.
1 /*
2  * Remmina - The GTK+ Remote Desktop Client
3  * Copyright (C) 2009-2010 Vic Lee
4  * Copyright (C) 2014-2015 Antenore Gatta, Fabio Castelli, Giovanni Panozzo
5  * Copyright (C) 2016-2023 Antenore Gatta, Giovanni Panozzo
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  *
22  * In addition, as a special exception, the copyright holders give
23  * permission to link the code of portions of this program with the
24  * OpenSSL library under certain conditions as described in each
25  * individual source file, and distribute linked combinations
26  * including the two.
27  * You must obey the GNU General Public License in all respects
28  * for all of the code used other than OpenSSL. * If you modify
29  * file(s) with this exception, you may extend this exception to your
30  * version of the file(s), but you are not obligated to do so. * If you
31  * do not wish to do so, delete this exception statement from your
32  * version. * If you delete this exception statement from all source
33  * files in the program, then also delete it here.
34  *
35  */
36 
37 #pragma once
38 
39 #include "config.h"
40 
41 #ifdef HAVE_LIBSSH
42 
43 #include "remmina_file.h"
44 #include "remmina_ftp_client.h"
45 #include "remmina_ssh.h"
46 
47 G_BEGIN_DECLS
48 
49 #define REMMINA_TYPE_SFTP_CLIENT (remmina_sftp_client_get_type())
50 #define REMMINA_SFTP_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), REMMINA_TYPE_SFTP_CLIENT, RemminaSFTPClient))
51 #define REMMINA_SFTP_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), REMMINA_TYPE_SFTP_CLIENT, RemminaSFTPClientClass))
52 #define REMMINA_IS_SFTP_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), REMMINA_TYPE_SFTP_CLIENT))
53 #define REMMINA_IS_SFTP_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), REMMINA_TYPE_SFTP_CLIENT))
54 #define REMMINA_SFTP_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), REMMINA_TYPE_SFTP_CLIENT, RemminaSFTPClientClass))
55 
56 typedef struct _RemminaSFTPClient {
58 
60 
61  pthread_t thread;
62  gint taskid;
63  gboolean thread_abort;
66 
67 typedef struct _RemminaSFTPClientClass {
70 
71 GType remmina_sftp_client_get_type(void) G_GNUC_CONST;
72 
74 
76 gint remmina_sftp_client_confirm_resume(RemminaSFTPClient *client, const gchar *path);
77 
78 G_END_DECLS
79 
80 #endif /* HAVE_LIBSSH */
RemminaSFTPClient * remmina_sftp_client_new()
gint remmina_sftp_client_confirm_resume(RemminaSFTPClient *client, const gchar *path)
struct _RemminaSFTPClientClass RemminaSFTPClientClass
void remmina_sftp_client_open(RemminaSFTPClient *client, RemminaSFTP *sftp)
struct _RemminaSFTPClient RemminaSFTPClient
GType remmina_sftp_client_get_type(void) G_GNUC_CONST
RemminaFTPClientClass parent_class
RemminaProtocolWidget * gp
RemminaFTPClient client