diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fs/gnunet-fs-gtk.c b/src/fs/gnunet-fs-gtk.c index 1617b5d2..ef5e03a7 100644 --- a/src/fs/gnunet-fs-gtk.c +++ b/src/fs/gnunet-fs-gtk.c | |||
@@ -101,6 +101,19 @@ GNUNET_FS_GTK_get_fs_handle () | |||
101 | 101 | ||
102 | 102 | ||
103 | /** | 103 | /** |
104 | * Remember FS handle if we don't have one yet. | ||
105 | * | ||
106 | * @param fsh file sharing handle to use | ||
107 | */ | ||
108 | void | ||
109 | GNUNET_FS_GTK_set_fs_handle (struct GNUNET_FS_Handle *fsh) | ||
110 | { | ||
111 | if (NULL == fs) | ||
112 | fs = fsh; | ||
113 | } | ||
114 | |||
115 | |||
116 | /** | ||
104 | * Get our configuration. | 117 | * Get our configuration. |
105 | * | 118 | * |
106 | * @return configuration handle | 119 | * @return configuration handle |