Remmina - The GTK+ Remote Desktop Client  v1.4.2
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_masterthread_exec.h
Go to the documentation of this file.
1 /*
2  * Remmina - The GTK+ Remote Desktop Client
3  * Copyright (C) 2009-2011 Vic Lee
4  * Copyright (C) 2014-2015 Antenore Gatta, Fabio Castelli, Giovanni Panozzo
5  * Copyright (C) 2016-2020 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 #include <pthread.h>
39 #include "remmina_sftp_client.h"
40 #include "remmina_ftp_client.h"
41 #include "remmina_ssh_plugin.h"
42 
54 
55  union {
56  struct {
57  GtkLabel * label;
58  const gchar * str;
60  struct {
63  struct {
65  const gchar * text;
66  } chat_receive;
67  struct {
69  const gchar * setting;
70  const gchar * retval;
72  struct {
76  struct {
80  struct {
82  const gchar * signal_name;
84  struct {
86  const gchar * message;
89  RemminaMessagePanel * ret_mp;
91  struct {
93  RemminaMessagePanel * mp;
95  struct {
98  struct {
100  int port;
102 #ifdef HAVE_LIBSSH
103  struct {
105  const gchar * path;
106  gint retval;
108 #endif
109 #ifdef HAVE_LIBVTE
110  struct {
111  VteTerminal * terminal;
112  const char * codeset;
113  int master;
114  int slave;
116 #endif
117  } p;
118 
119  /* Mutex for thread synchronization */
120  pthread_mutex_t pt_mutex;
121  pthread_cond_t pt_cond;
122  /* Flag to catch cancellations */
123  gboolean cancelled;
124  gboolean complete;
126 
128 
void remmina_masterthread_exec_and_wait(RemminaMTExecData *d)
struct remmina_masterthread_exec_data::@11::@15 file_get_string
struct remmina_masterthread_exec_data::@11::@12 gtk_label_set_text
typedefG_BEGIN_DECLS struct _RemminaFile RemminaFile
Definition: types.h:41
struct remmina_masterthread_exec_data::@11::@18 protocolwidget_emit_signal
struct remmina_masterthread_exec_data::@11::@16 ftp_client_update_task
enum remmina_masterthread_exec_data::@10 func
struct remmina_masterthread_exec_data::@11::@20 protocolwidget_mpdestroy
struct remmina_masterthread_exec_data RemminaMTExecData
struct remmina_masterthread_exec_data::@11::@14 chat_receive
struct remmina_masterthread_exec_data::@11::@24 vte_terminal_set_encoding_and_pty
struct remmina_masterthread_exec_data::@11::@17 ftp_client_get_waiting_task
void remmina_masterthread_exec_save_main_thread_id(void)
union remmina_masterthread_exec_data::@11 p
struct remmina_masterthread_exec_data::@11::@13 init_save_creds
struct remmina_masterthread_exec_data::@11::@21 protocolwidget_mpshowretry
void(* RemminaMessagePanelCallback)(void *user_data, int button)
struct remmina_masterthread_exec_data::@11::@19 protocolwidget_mpprogress
struct remmina_masterthread_exec_data::@11::@23 sftp_client_confirm_resume
gboolean remmina_masterthread_exec_is_main_thread(void)
RemminaMessagePanelCallback response_callback
struct remmina_masterthread_exec_data::@11::@22 protocolwidget_panelshowlisten