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_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-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 #include <pthread.h>
39 #include "remmina_sftp_client.h"
40 #include "remmina_ftp_client.h"
41 #include "remmina_ssh_plugin.h"
42 
55 
56  union {
57  struct {
58  GtkLabel * label;
59  const gchar * str;
61  struct {
64  struct {
66  const gchar * text;
68  struct {
70  const gchar * setting;
71  const gchar * retval;
73  struct {
75  const gchar * setting;
76  const gchar * value;
78  struct {
82  struct {
86  struct {
88  const gchar * signal_name;
90  struct {
92  const gchar * message;
95  RemminaMessagePanel * ret_mp;
97  struct {
99  RemminaMessagePanel * mp;
101  struct {
104  struct {
106  int port;
108 #ifdef HAVE_LIBSSH
109  struct {
111  const gchar * path;
112  gint retval;
114 #endif
115 #ifdef HAVE_LIBVTE
116  struct {
117  VteTerminal * terminal;
118  const char * codeset;
119  int master;
120  int slave;
122 #endif
123  } p;
124 
125  /* Mutex for thread synchronization */
126  pthread_mutex_t pt_mutex;
127  pthread_cond_t pt_cond;
128  /* Flag to catch cancellations */
129  gboolean cancelled;
130  gboolean complete;
132 
134 
struct remmina_masterthread_exec_data RemminaMTExecData
void remmina_masterthread_exec_and_wait(RemminaMTExecData *d)
void remmina_masterthread_exec_save_main_thread_id(void)
gboolean remmina_masterthread_exec_is_main_thread(void)
void(* RemminaMessagePanelCallback)(void *user_data, int button)
struct remmina_masterthread_exec_data::@12::@14 init_save_creds
struct remmina_masterthread_exec_data::@12::@21 protocolwidget_mpprogress
struct remmina_masterthread_exec_data::@12::@22 protocolwidget_mpdestroy
struct remmina_masterthread_exec_data::@12::@16 file_get_string
struct remmina_masterthread_exec_data::@12::@24 protocolwidget_panelshowlisten
struct remmina_masterthread_exec_data::@12::@13 gtk_label_set_text
struct remmina_masterthread_exec_data::@12::@20 protocolwidget_emit_signal
struct remmina_masterthread_exec_data::@12::@23 protocolwidget_mpshowretry
struct remmina_masterthread_exec_data::@12::@18 ftp_client_update_task
struct remmina_masterthread_exec_data::@12::@19 ftp_client_get_waiting_task
RemminaMessagePanelCallback response_callback
struct remmina_masterthread_exec_data::@12::@26 vte_terminal_set_encoding_and_pty
struct remmina_masterthread_exec_data::@12::@15 chat_receive
union remmina_masterthread_exec_data::@12 p
enum remmina_masterthread_exec_data::@11 func
struct remmina_masterthread_exec_data::@12::@25 sftp_client_confirm_resume
struct remmina_masterthread_exec_data::@12::@17 file_set_string
typedefG_BEGIN_DECLS struct _RemminaFile RemminaFile
Definition: types.h:44