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.
remmina_file_manager.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) 2017-2023 Antenore Gatta, Giovanni Panozzo
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  *
21  * In addition, as a special exception, the copyright holders give
22  * permission to link the code of portions of this program with the
23  * OpenSSL library under certain conditions as described in each
24  * individual source file, and distribute linked combinations
25  * including the two.
26  * You must obey the GNU General Public License in all respects
27  * for all of the code used other than OpenSSL. * If you modify
28  * file(s) with this exception, you may extend this exception to your
29  * version of the file(s), but you are not obligated to do so. * If you
30  * do not wish to do so, delete this exception statement from your
31  * version. * If you delete this exception statement from all source
32  * files in the program, then also delete it here.
33  *
34  */
35 
36 #pragma once
37 
38 #include "remmina_file.h"
39 
40 G_BEGIN_DECLS
41 
42 typedef struct _RemminaGroupData {
43  gchar * name;
44  gchar * group;
45  gchar * datetime;
46  gchar * labels;
48 
49 /* Initialize */
50 gchar *remmina_file_get_datadir(void);
51 void remmina_file_manager_init(void);
52 /* Iterate all .remmina connections in the home directory */
53 gint remmina_file_manager_iterate(GFunc func, gpointer user_data);
54 /* Get a list of groups */
58 /* Load or import a file */
59 RemminaFile *remmina_file_manager_load_file(const gchar *filename);
60 
61 G_END_DECLS
G_BEGIN_DECLS struct _RemminaGroupData RemminaGroupData
typedefG_BEGIN_DECLS struct _RemminaFile RemminaFile
Definition: types.h:44
node_t * node
Definition: remmina_ssh.c:142
void remmina_file_manager_init(void)
It creates the Remmina data and cache folders.
void remmina_file_manager_free_group_tree(GNode *node)
RemminaFile * remmina_file_manager_load_file(const gchar *filename)
gchar * remmina_file_get_datadir(void)
Return datadir_path from pref or first found data dir as per XDG specs.
gint remmina_file_manager_iterate(GFunc func, gpointer user_data)
gchar * remmina_file_manager_get_groups(void)
GNode * remmina_file_manager_get_group_tree(void)