Remmina - The GTK+ Remote Desktop Client  v1.4.33
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.
types.h
Go to the documentation of this file.
1 /*
2  * Remmina - The GTK+ Remote Desktop Client
3  * Copyright (C) 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 <glib.h>
40 #include <glib-object.h>
41 
42 G_BEGIN_DECLS
43 
44 typedef struct _RemminaFile RemminaFile;
45 
46 typedef enum {
56 
57 #define REMMINA_PROTOCOL_FEATURE_PREF_RADIO 1
58 #define REMMINA_PROTOCOL_FEATURE_PREF_CHECK 2
59 
60 typedef enum
61 {
71 
72 typedef struct _RemminaProtocolFeature {
74  gint id;
75  gpointer opt1;
76  gpointer opt2;
77  gpointer opt3;
82 
84  unsigned char * buffer;
87  int width;
88  int height;
90 
91 
94 typedef gpointer RemminaTunnelInitFunc;
95 typedef gboolean (*RemminaXPortTunnelInitFunc) (RemminaProtocolWidget *gp, gint remotedisplay, const gchar *server, gint port);
96 
97 typedef enum {
99 
105 
116 
117 typedef struct _RemminaProtocolSetting {
119  const gchar * name;
120  const gchar * label;
121  gboolean compact;
122  gpointer opt1;
123  gpointer opt2;
124  gpointer validator_data;
125  GCallback validator;
127 
128 typedef enum {
135 
136 typedef enum {
141 
142 typedef enum {
147 
148 typedef enum {
154 
155 /* pflags field for remmina_protocol_widget_panel_auth() */
156 typedef enum {
157  REMMINA_MESSAGE_PANEL_FLAG_USERNAME = 1, /* require username in auth panel */
158  REMMINA_MESSAGE_PANEL_FLAG_USERNAME_READONLY = 2, /* Username, if required, is readonly */
159  REMMINA_MESSAGE_PANEL_FLAG_DOMAIN = 4, /* require domain in auth panel */
160  REMMINA_MESSAGE_PANEL_FLAG_SAVEPASSWORD = 8 /* require savepassword switch in auth panel */
161 
163 
164 G_END_DECLS
RemminaTypeHint
Definition: types.h:60
RemminaAuthpwdType
Definition: types.h:136
typedefG_BEGIN_DECLS struct _RemminaFile RemminaFile
Definition: types.h:44
struct _RemminaProtocolFeature RemminaProtocolFeature
RemminaProtocolSettingType
Definition: types.h:97
RemminaProtocolWidgetResolutionMode
Definition: types.h:148
RemminaMessagePanelFlags
Definition: types.h:156
struct _RemminaPluginScreenshotData RemminaPluginScreenshotData
RemminaProtocolFeatureType type
Definition: types.h:73
RemminaProtocolSSHSetting
Definition: types.h:128
RemminaTypeHint opt1_type_hint
Definition: types.h:78
gpointer validator_data
Definition: types.h:124
RemminaProtocolFeatureType
Definition: types.h:46
RemminaProtocolSettingType type
Definition: types.h:118
GCallback validator
Definition: types.h:125
RemminaTypeHint opt2_type_hint
Definition: types.h:79
RemminaScaleMode
Definition: types.h:142
gpointer RemminaTunnelInitFunc
Definition: types.h:94
struct _RemminaProtocolSetting RemminaProtocolSetting
unsigned char * buffer
Definition: types.h:84
gboolean(* RemminaXPortTunnelInitFunc)(RemminaProtocolWidget *gp, gint remotedisplay, const gchar *server, gint port)
Definition: types.h:95
const gchar * label
Definition: types.h:120
RemminaTypeHint opt3_type_hint
Definition: types.h:80
const gchar * name
Definition: types.h:119