diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk.h')
-rw-r--r-- | src/fs/gnunet-fs-gtk.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/fs/gnunet-fs-gtk.h b/src/fs/gnunet-fs-gtk.h new file mode 100644 index 00000000..3b3228f2 --- /dev/null +++ b/src/fs/gnunet-fs-gtk.h | |||
@@ -0,0 +1,68 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | (C) 2010 Christian Grothoff (and other contributing authors) | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 2, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | /** | ||
22 | * @file src/fs/gnunet-fs-gtk.h | ||
23 | * @brief Globals for gnunet-fs-gtk | ||
24 | * @author Christian Grothoff | ||
25 | */ | ||
26 | #ifndef GNUNET_FS_GTK_H | ||
27 | #define GNUNET_FS_GTK_H | ||
28 | |||
29 | #include "gnunet_gtk.h" | ||
30 | #include <gnunet/gnunet_fs_service.h> | ||
31 | #include <extractor.h> | ||
32 | |||
33 | |||
34 | /** | ||
35 | * Get GNU libextractor plugin list. | ||
36 | */ | ||
37 | struct EXTRACTOR_PluginList * | ||
38 | GNUNET_FS_GTK_get_le_plugins (void); | ||
39 | |||
40 | |||
41 | /** | ||
42 | * Get our configuration. | ||
43 | */ | ||
44 | const struct GNUNET_CONFIGURATION_Handle * | ||
45 | GNUNET_FS_GTK_get_configuration (void); | ||
46 | |||
47 | |||
48 | /** | ||
49 | * Return our handle for file-sharing operations. | ||
50 | * | ||
51 | * @return NULL on error | ||
52 | */ | ||
53 | struct GNUNET_FS_Handle * | ||
54 | GNUNET_FS_GTK_get_fs_handle (void); | ||
55 | |||
56 | /** | ||
57 | * Get an object from the main window. | ||
58 | * | ||
59 | * @param name name of the object | ||
60 | * @return NULL on error | ||
61 | */ | ||
62 | GObject * | ||
63 | GNUNET_FS_GTK_get_main_window_object (const char *name); | ||
64 | |||
65 | |||
66 | |||
67 | #endif | ||
68 | /* end of gnunet-fs-gtk.h */ | ||