diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk.h | 1 | ||||
-rw-r--r-- | src/conversation/gnunet-conversation-gtk_log.h | 1 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_common.c | 8 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_common.h | 4 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_event-handler.c | 36 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_event-handler.h | 6 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_open-directory.c | 10 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_publish-dialog.c | 30 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_publish-edit-dialog.c | 26 | ||||
-rw-r--r-- | src/include/gnunet_gtk.h | 1 | ||||
-rw-r--r-- | src/include/gnunet_gtk_namestore_plugin.h | 2 | ||||
-rw-r--r-- | src/namestore/gnunet-namestore-gtk.c | 11 | ||||
-rw-r--r-- | src/setup/gnunet-setup-options.c | 1 |
13 files changed, 67 insertions, 70 deletions
diff --git a/src/conversation/gnunet-conversation-gtk.h b/src/conversation/gnunet-conversation-gtk.h index b45d938c..01b53b40 100644 --- a/src/conversation/gnunet-conversation-gtk.h +++ b/src/conversation/gnunet-conversation-gtk.h | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <stdbool.h> | 28 | #include <stdbool.h> |
29 | #include <stdint.h> | 29 | #include <stdint.h> |
30 | #include "gnunet_gtk.h" | 30 | #include "gnunet_gtk.h" |
31 | #include <gnunet/gnunet_dnsparser_lib.h> | ||
32 | #include <gnunet/gnunet_identity_service.h> | 31 | #include <gnunet/gnunet_identity_service.h> |
33 | #include <gnunet/gnunet_namestore_service.h> | 32 | #include <gnunet/gnunet_namestore_service.h> |
34 | #include <gnunet/gnunet_conversation_service.h> | 33 | #include <gnunet/gnunet_conversation_service.h> |
diff --git a/src/conversation/gnunet-conversation-gtk_log.h b/src/conversation/gnunet-conversation-gtk_log.h index 74e72af9..c94b5817 100644 --- a/src/conversation/gnunet-conversation-gtk_log.h +++ b/src/conversation/gnunet-conversation-gtk_log.h | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <stdbool.h> | 28 | #include <stdbool.h> |
29 | #include <stdint.h> | 29 | #include <stdint.h> |
30 | #include "gnunet_gtk.h" | 30 | #include "gnunet_gtk.h" |
31 | #include <gnunet/gnunet_dnsparser_lib.h> | ||
32 | #include <gnunet/gnunet_identity_service.h> | 31 | #include <gnunet/gnunet_identity_service.h> |
33 | #include <gnunet/gnunet_namestore_service.h> | 32 | #include <gnunet/gnunet_namestore_service.h> |
34 | #include <gnunet/gnunet_conversation_service.h> | 33 | #include <gnunet/gnunet_conversation_service.h> |
diff --git a/src/fs/gnunet-fs-gtk_common.c b/src/fs/gnunet-fs-gtk_common.c index 6dd28887..9dccd9e7 100644 --- a/src/fs/gnunet-fs-gtk_common.c +++ b/src/fs/gnunet-fs-gtk_common.c | |||
@@ -140,7 +140,7 @@ GNUNET_FS_GTK_add_meta_data_to_list_store (void *cls, | |||
140 | */ | 140 | */ |
141 | GdkPixbuf * | 141 | GdkPixbuf * |
142 | GNUNET_FS_GTK_get_thumbnail_from_meta_data ( | 142 | GNUNET_FS_GTK_get_thumbnail_from_meta_data ( |
143 | const struct GNUNET_CONTAINER_MetaData *meta) | 143 | const struct GNUNET_FS_MetaData *meta) |
144 | { | 144 | { |
145 | GdkPixbuf *pixbuf; | 145 | GdkPixbuf *pixbuf; |
146 | GdkPixbufLoader *loader; | 146 | GdkPixbufLoader *loader; |
@@ -148,7 +148,7 @@ GNUNET_FS_GTK_get_thumbnail_from_meta_data ( | |||
148 | unsigned char *thumb; | 148 | unsigned char *thumb; |
149 | 149 | ||
150 | thumb = NULL; | 150 | thumb = NULL; |
151 | ts = GNUNET_CONTAINER_meta_data_get_thumbnail (meta, &thumb); | 151 | ts = GNUNET_FS_meta_data_get_thumbnail (meta, &thumb); |
152 | if (0 == ts) | 152 | if (0 == ts) |
153 | return NULL; | 153 | return NULL; |
154 | loader = gdk_pixbuf_loader_new (); | 154 | loader = gdk_pixbuf_loader_new (); |
@@ -242,13 +242,13 @@ GNUNET_FS_GTK_mmap_and_scan (const char *filename, | |||
242 | */ | 242 | */ |
243 | char * | 243 | char * |
244 | GNUNET_FS_GTK_get_description_from_metadata ( | 244 | GNUNET_FS_GTK_get_description_from_metadata ( |
245 | const struct GNUNET_CONTAINER_MetaData *meta, | 245 | const struct GNUNET_FS_MetaData *meta, |
246 | int *is_a_dup) | 246 | int *is_a_dup) |
247 | { | 247 | { |
248 | char *desc; | 248 | char *desc; |
249 | char *utf8_desc; | 249 | char *utf8_desc; |
250 | 250 | ||
251 | desc = GNUNET_CONTAINER_meta_data_get_first_by_types ( | 251 | desc = GNUNET_FS_meta_data_get_first_by_types ( |
252 | meta, | 252 | meta, |
253 | EXTRACTOR_METATYPE_PACKAGE_NAME, | 253 | EXTRACTOR_METATYPE_PACKAGE_NAME, |
254 | EXTRACTOR_METATYPE_TITLE, | 254 | EXTRACTOR_METATYPE_TITLE, |
diff --git a/src/fs/gnunet-fs-gtk_common.h b/src/fs/gnunet-fs-gtk_common.h index 0665e8dc..615c03a4 100644 --- a/src/fs/gnunet-fs-gtk_common.h +++ b/src/fs/gnunet-fs-gtk_common.h | |||
@@ -41,7 +41,7 @@ | |||
41 | */ | 41 | */ |
42 | GdkPixbuf * | 42 | GdkPixbuf * |
43 | GNUNET_FS_GTK_get_thumbnail_from_meta_data ( | 43 | GNUNET_FS_GTK_get_thumbnail_from_meta_data ( |
44 | const struct GNUNET_CONTAINER_MetaData *meta); | 44 | const struct GNUNET_FS_MetaData *meta); |
45 | 45 | ||
46 | 46 | ||
47 | /** | 47 | /** |
@@ -115,7 +115,7 @@ GNUNET_FS_GTK_dubious_meta_to_utf8 (enum EXTRACTOR_MetaFormat format, | |||
115 | */ | 115 | */ |
116 | char * | 116 | char * |
117 | GNUNET_FS_GTK_get_description_from_metadata ( | 117 | GNUNET_FS_GTK_get_description_from_metadata ( |
118 | const struct GNUNET_CONTAINER_MetaData *meta, | 118 | const struct GNUNET_FS_MetaData *meta, |
119 | int *is_a_dup); | 119 | int *is_a_dup); |
120 | 120 | ||
121 | 121 | ||
diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c index d066ea57..a2e77e46 100644 --- a/src/fs/gnunet-fs-gtk_event-handler.c +++ b/src/fs/gnunet-fs-gtk_event-handler.c | |||
@@ -594,7 +594,7 @@ get_suggested_filename_anonymity2 (GtkTreeModel *tm, | |||
594 | char *filename; | 594 | char *filename; |
595 | char *tmp; | 595 | char *tmp; |
596 | int downloaded_anonymity = -1; | 596 | int downloaded_anonymity = -1; |
597 | struct GNUNET_CONTAINER_MetaData *meta; | 597 | struct GNUNET_FS_MetaData *meta; |
598 | size_t tmplen; | 598 | size_t tmplen; |
599 | int finished_chain; | 599 | int finished_chain; |
600 | 600 | ||
@@ -1212,7 +1212,7 @@ check_for_embedded_uri (void *cls, | |||
1212 | * @param cls closure for @a cb | 1212 | * @param cls closure for @a cb |
1213 | */ | 1213 | */ |
1214 | static void | 1214 | static void |
1215 | find_embedded_uris (const struct GNUNET_CONTAINER_MetaData *meta, | 1215 | find_embedded_uris (const struct GNUNET_FS_MetaData *meta, |
1216 | EmbeddedUriCallback cb, | 1216 | EmbeddedUriCallback cb, |
1217 | void *cls) | 1217 | void *cls) |
1218 | { | 1218 | { |
@@ -1220,7 +1220,7 @@ find_embedded_uris (const struct GNUNET_CONTAINER_MetaData *meta, | |||
1220 | 1220 | ||
1221 | ctx.cb = cb; | 1221 | ctx.cb = cb; |
1222 | ctx.cls = cls; | 1222 | ctx.cls = cls; |
1223 | GNUNET_CONTAINER_meta_data_iterate (meta, &check_for_embedded_uri, &ctx); | 1223 | GNUNET_FS_meta_data_iterate (meta, &check_for_embedded_uri, &ctx); |
1224 | } | 1224 | } |
1225 | 1225 | ||
1226 | 1226 | ||
@@ -1753,7 +1753,7 @@ remove_results_in_subtree (GtkTreeModel *tm, GtkTreeIter *iter) | |||
1753 | } | 1753 | } |
1754 | if (NULL != sr->meta) | 1754 | if (NULL != sr->meta) |
1755 | { | 1755 | { |
1756 | GNUNET_CONTAINER_meta_data_destroy (sr->meta); | 1756 | GNUNET_FS_meta_data_destroy (sr->meta); |
1757 | sr->meta = NULL; | 1757 | sr->meta = NULL; |
1758 | } | 1758 | } |
1759 | GNUNET_free (sr); | 1759 | GNUNET_free (sr); |
@@ -1828,7 +1828,7 @@ free_search_result (struct SearchResult *sr) | |||
1828 | } | 1828 | } |
1829 | if (NULL != sr->meta) | 1829 | if (NULL != sr->meta) |
1830 | { | 1830 | { |
1831 | GNUNET_CONTAINER_meta_data_destroy (sr->meta); | 1831 | GNUNET_FS_meta_data_destroy (sr->meta); |
1832 | sr->meta = NULL; | 1832 | sr->meta = NULL; |
1833 | } | 1833 | } |
1834 | GNUNET_free (sr); | 1834 | GNUNET_free (sr); |
@@ -1939,7 +1939,7 @@ GNUNET_FS_GTK_search_treeview_cursor_changed (GtkTreeView *tv, | |||
1939 | gtk_image_clear (mctx->preview_image); | 1939 | gtk_image_clear (mctx->preview_image); |
1940 | 1940 | ||
1941 | if (NULL != sr->meta) | 1941 | if (NULL != sr->meta) |
1942 | GNUNET_CONTAINER_meta_data_iterate (sr->meta, | 1942 | GNUNET_FS_meta_data_iterate (sr->meta, |
1943 | &GNUNET_FS_GTK_add_meta_data_to_list_store, | 1943 | &GNUNET_FS_GTK_add_meta_data_to_list_store, |
1944 | mctx->md_liststore); | 1944 | mctx->md_liststore); |
1945 | } | 1945 | } |
@@ -2168,9 +2168,9 @@ handle_search_error (struct SearchTab *tab, const char *emsg) | |||
2168 | * @return mime type to use, possibly NULL | 2168 | * @return mime type to use, possibly NULL |
2169 | */ | 2169 | */ |
2170 | static char * | 2170 | static char * |
2171 | get_mimetype_from_metadata (const struct GNUNET_CONTAINER_MetaData *meta) | 2171 | get_mimetype_from_metadata (const struct GNUNET_FS_MetaData *meta) |
2172 | { | 2172 | { |
2173 | return GNUNET_CONTAINER_meta_data_get_first_by_types (meta, | 2173 | return GNUNET_FS_meta_data_get_first_by_types (meta, |
2174 | EXTRACTOR_METATYPE_MIMETYPE, | 2174 | EXTRACTOR_METATYPE_MIMETYPE, |
2175 | #if HAVE_EXTRACTOR_H | 2175 | #if HAVE_EXTRACTOR_H |
2176 | EXTRACTOR_METATYPE_FORMAT, | 2176 | EXTRACTOR_METATYPE_FORMAT, |
@@ -2192,7 +2192,7 @@ get_mimetype_from_metadata (const struct GNUNET_CONTAINER_MetaData *meta) | |||
2192 | */ | 2192 | */ |
2193 | static void | 2193 | static void |
2194 | update_search_result (struct SearchResult *sr, | 2194 | update_search_result (struct SearchResult *sr, |
2195 | const struct GNUNET_CONTAINER_MetaData *meta, | 2195 | const struct GNUNET_FS_MetaData *meta, |
2196 | uint32_t applicability_rank, | 2196 | uint32_t applicability_rank, |
2197 | int32_t availability_rank, | 2197 | int32_t availability_rank, |
2198 | uint32_t availability_certainty, | 2198 | uint32_t availability_certainty, |
@@ -2229,10 +2229,10 @@ update_search_result (struct SearchResult *sr, | |||
2229 | pixbuf = GNUNET_FS_GTK_get_thumbnail_from_meta_data (meta); | 2229 | pixbuf = GNUNET_FS_GTK_get_thumbnail_from_meta_data (meta); |
2230 | if (NULL != sr->meta) | 2230 | if (NULL != sr->meta) |
2231 | { | 2231 | { |
2232 | GNUNET_CONTAINER_meta_data_destroy (sr->meta); | 2232 | GNUNET_FS_meta_data_destroy (sr->meta); |
2233 | sr->meta = NULL; | 2233 | sr->meta = NULL; |
2234 | } | 2234 | } |
2235 | sr->meta = GNUNET_CONTAINER_meta_data_duplicate (meta); | 2235 | sr->meta = GNUNET_FS_meta_data_duplicate (meta); |
2236 | if (availability_certainty > 0) | 2236 | if (availability_certainty > 0) |
2237 | percent_avail = | 2237 | percent_avail = |
2238 | 50 + (gint) (availability_rank * 50.0 / availability_certainty); | 2238 | 50 + (gint) (availability_rank * 50.0 / availability_certainty); |
@@ -2359,7 +2359,7 @@ GNUNET_GTK_add_search_result (struct SearchTab *tab, | |||
2359 | uint32_t anonymity, | 2359 | uint32_t anonymity, |
2360 | GtkTreeRowReference *parent_rr, | 2360 | GtkTreeRowReference *parent_rr, |
2361 | const struct GNUNET_FS_Uri *uri, | 2361 | const struct GNUNET_FS_Uri *uri, |
2362 | const struct GNUNET_CONTAINER_MetaData *meta, | 2362 | const struct GNUNET_FS_MetaData *meta, |
2363 | struct GNUNET_FS_SearchResult *result, | 2363 | struct GNUNET_FS_SearchResult *result, |
2364 | uint32_t applicability_rank) | 2364 | uint32_t applicability_rank) |
2365 | { | 2365 | { |
@@ -2451,7 +2451,7 @@ GNUNET_GTK_add_search_result (struct SearchTab *tab, | |||
2451 | ts = downloads_treestore; | 2451 | ts = downloads_treestore; |
2452 | } | 2452 | } |
2453 | sr->uri = (uri == NULL) ? NULL : GNUNET_FS_uri_dup (uri); | 2453 | sr->uri = (uri == NULL) ? NULL : GNUNET_FS_uri_dup (uri); |
2454 | sr->meta = GNUNET_CONTAINER_meta_data_duplicate (meta); | 2454 | sr->meta = GNUNET_FS_meta_data_duplicate (meta); |
2455 | gtk_tree_store_insert_with_values (ts, | 2455 | gtk_tree_store_insert_with_values (ts, |
2456 | &iter, | 2456 | &iter, |
2457 | pitr, | 2457 | pitr, |
@@ -2626,7 +2626,7 @@ process_search_result (struct SearchTab *tab, | |||
2626 | uint32_t anonymity, | 2626 | uint32_t anonymity, |
2627 | struct SearchResult *parent, | 2627 | struct SearchResult *parent, |
2628 | const struct GNUNET_FS_Uri *uri, | 2628 | const struct GNUNET_FS_Uri *uri, |
2629 | const struct GNUNET_CONTAINER_MetaData *meta, | 2629 | const struct GNUNET_FS_MetaData *meta, |
2630 | struct GNUNET_FS_SearchResult *result, | 2630 | struct GNUNET_FS_SearchResult *result, |
2631 | uint32_t applicability_rank) | 2631 | uint32_t applicability_rank) |
2632 | { | 2632 | { |
@@ -2794,7 +2794,7 @@ setup_inner_search (struct GNUNET_FS_SearchContext *sc, | |||
2794 | */ | 2794 | */ |
2795 | struct SearchResult * | 2795 | struct SearchResult * |
2796 | GNUNET_GTK_add_to_uri_tab (uint32_t anonymity, | 2796 | GNUNET_GTK_add_to_uri_tab (uint32_t anonymity, |
2797 | const struct GNUNET_CONTAINER_MetaData *meta, | 2797 | const struct GNUNET_FS_MetaData *meta, |
2798 | const struct GNUNET_FS_Uri *uri) | 2798 | const struct GNUNET_FS_Uri *uri) |
2799 | { | 2799 | { |
2800 | struct GNUNET_GTK_MainWindowContext *mctx = GNUNET_FS_GTK_get_main_context (); | 2800 | struct GNUNET_GTK_MainWindowContext *mctx = GNUNET_FS_GTK_get_main_context (); |
@@ -2977,7 +2977,7 @@ static void | |||
2977 | add_directory_entry (void *cls, | 2977 | add_directory_entry (void *cls, |
2978 | const char *filename, | 2978 | const char *filename, |
2979 | const struct GNUNET_FS_Uri *uri, | 2979 | const struct GNUNET_FS_Uri *uri, |
2980 | const struct GNUNET_CONTAINER_MetaData *meta, | 2980 | const struct GNUNET_FS_MetaData *meta, |
2981 | size_t length, | 2981 | size_t length, |
2982 | const void *data) | 2982 | const void *data) |
2983 | { | 2983 | { |
@@ -3285,7 +3285,7 @@ setup_download (struct DownloadEntry *de, | |||
3285 | struct GNUNET_FS_DownloadContext *dc, | 3285 | struct GNUNET_FS_DownloadContext *dc, |
3286 | const struct GNUNET_FS_Uri *uri, | 3286 | const struct GNUNET_FS_Uri *uri, |
3287 | const char *filename, | 3287 | const char *filename, |
3288 | const struct GNUNET_CONTAINER_MetaData *meta, | 3288 | const struct GNUNET_FS_MetaData *meta, |
3289 | uint64_t size, | 3289 | uint64_t size, |
3290 | uint64_t completed) | 3290 | uint64_t completed) |
3291 | { | 3291 | { |
@@ -3399,7 +3399,7 @@ setup_download (struct DownloadEntry *de, | |||
3399 | } | 3399 | } |
3400 | else | 3400 | else |
3401 | { | 3401 | { |
3402 | struct GNUNET_CONTAINER_MetaData *meta; | 3402 | struct GNUNET_FS_MetaData *meta; |
3403 | 3403 | ||
3404 | /* get metadata from existing tab, might have a mime type */ | 3404 | /* get metadata from existing tab, might have a mime type */ |
3405 | path = gtk_tree_row_reference_get_path (de->sr->rr); | 3405 | path = gtk_tree_row_reference_get_path (de->sr->rr); |
diff --git a/src/fs/gnunet-fs-gtk_event-handler.h b/src/fs/gnunet-fs-gtk_event-handler.h index 66f34b2c..c903020b 100644 --- a/src/fs/gnunet-fs-gtk_event-handler.h +++ b/src/fs/gnunet-fs-gtk_event-handler.h | |||
@@ -213,7 +213,7 @@ struct SearchResult | |||
213 | /** | 213 | /** |
214 | * Meta data associated with the result. | 214 | * Meta data associated with the result. |
215 | */ | 215 | */ |
216 | struct GNUNET_CONTAINER_MetaData *meta; | 216 | struct GNUNET_FS_MetaData *meta; |
217 | 217 | ||
218 | /** | 218 | /** |
219 | * Where in the tab is this result? | 219 | * Where in the tab is this result? |
@@ -273,7 +273,7 @@ extern GtkTreeStore *downloads_treestore; | |||
273 | */ | 273 | */ |
274 | struct SearchResult * | 274 | struct SearchResult * |
275 | GNUNET_GTK_add_to_uri_tab (uint32_t anonymity, | 275 | GNUNET_GTK_add_to_uri_tab (uint32_t anonymity, |
276 | const struct GNUNET_CONTAINER_MetaData *meta, | 276 | const struct GNUNET_FS_MetaData *meta, |
277 | const struct GNUNET_FS_Uri *uri); | 277 | const struct GNUNET_FS_Uri *uri); |
278 | 278 | ||
279 | 279 | ||
@@ -299,7 +299,7 @@ GNUNET_GTK_add_search_result (struct SearchTab *tab, | |||
299 | uint32_t anonymity, | 299 | uint32_t anonymity, |
300 | GtkTreeRowReference *parent_rr, | 300 | GtkTreeRowReference *parent_rr, |
301 | const struct GNUNET_FS_Uri *uri, | 301 | const struct GNUNET_FS_Uri *uri, |
302 | const struct GNUNET_CONTAINER_MetaData *meta, | 302 | const struct GNUNET_FS_MetaData *meta, |
303 | struct GNUNET_FS_SearchResult *result, | 303 | struct GNUNET_FS_SearchResult *result, |
304 | uint32_t applicability_rank); | 304 | uint32_t applicability_rank); |
305 | 305 | ||
diff --git a/src/fs/gnunet-fs-gtk_open-directory.c b/src/fs/gnunet-fs-gtk_open-directory.c index a83477ec..78c56816 100644 --- a/src/fs/gnunet-fs-gtk_open-directory.c +++ b/src/fs/gnunet-fs-gtk_open-directory.c | |||
@@ -68,7 +68,7 @@ static void | |||
68 | add_child (void *cls, | 68 | add_child (void *cls, |
69 | const char *filename, | 69 | const char *filename, |
70 | const struct GNUNET_FS_Uri *uri, | 70 | const struct GNUNET_FS_Uri *uri, |
71 | const struct GNUNET_CONTAINER_MetaData *meta, | 71 | const struct GNUNET_FS_MetaData *meta, |
72 | size_t length, | 72 | size_t length, |
73 | const void *data) | 73 | const void *data) |
74 | { | 74 | { |
@@ -77,10 +77,10 @@ add_child (void *cls, | |||
77 | if (NULL == uri) | 77 | if (NULL == uri) |
78 | { | 78 | { |
79 | /* directory meta data itself, create parent entry */ | 79 | /* directory meta data itself, create parent entry */ |
80 | struct GNUNET_CONTAINER_MetaData *dmeta; | 80 | struct GNUNET_FS_MetaData *dmeta; |
81 | 81 | ||
82 | dmeta = GNUNET_CONTAINER_meta_data_duplicate (meta); | 82 | dmeta = GNUNET_FS_meta_data_duplicate (meta); |
83 | GNUNET_CONTAINER_meta_data_insert (dmeta, | 83 | GNUNET_FS_meta_data_insert (dmeta, |
84 | "<user>", | 84 | "<user>", |
85 | EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME, | 85 | EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME, |
86 | EXTRACTOR_METAFORMAT_UTF8, | 86 | EXTRACTOR_METAFORMAT_UTF8, |
@@ -88,7 +88,7 @@ add_child (void *cls, | |||
88 | acc->filename, | 88 | acc->filename, |
89 | strlen (acc->filename) + 1); | 89 | strlen (acc->filename) + 1); |
90 | acc->sr = GNUNET_GTK_add_to_uri_tab (acc->anonymity, dmeta, NULL); | 90 | acc->sr = GNUNET_GTK_add_to_uri_tab (acc->anonymity, dmeta, NULL); |
91 | GNUNET_CONTAINER_meta_data_destroy (dmeta); | 91 | GNUNET_FS_meta_data_destroy (dmeta); |
92 | return; | 92 | return; |
93 | } | 93 | } |
94 | if (NULL == acc->sr) | 94 | if (NULL == acc->sr) |
diff --git a/src/fs/gnunet-fs-gtk_publish-dialog.c b/src/fs/gnunet-fs-gtk_publish-dialog.c index db86cd26..e42cbb7d 100644 --- a/src/fs/gnunet-fs-gtk_publish-dialog.c +++ b/src/fs/gnunet-fs-gtk_publish-dialog.c | |||
@@ -586,11 +586,11 @@ create_dir_at_iter (struct MainPublishingDialogContext *ctx, | |||
586 | struct GNUNET_FS_FileInformation *fi; | 586 | struct GNUNET_FS_FileInformation *fi; |
587 | GtkTreeRowReference *row_reference; | 587 | GtkTreeRowReference *row_reference; |
588 | GtkTreePath *path; | 588 | GtkTreePath *path; |
589 | struct GNUNET_CONTAINER_MetaData *meta; | 589 | struct GNUNET_FS_MetaData *meta; |
590 | 590 | ||
591 | meta = GNUNET_CONTAINER_meta_data_create (); | 591 | meta = GNUNET_FS_meta_data_create (); |
592 | GNUNET_FS_meta_data_make_directory (meta); | 592 | GNUNET_FS_meta_data_make_directory (meta); |
593 | GNUNET_CONTAINER_meta_data_insert (meta, | 593 | GNUNET_FS_meta_data_insert (meta, |
594 | "<gnunet-gtk>", | 594 | "<gnunet-gtk>", |
595 | EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME, | 595 | EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME, |
596 | EXTRACTOR_METAFORMAT_UTF8, | 596 | EXTRACTOR_METAFORMAT_UTF8, |
@@ -611,7 +611,7 @@ create_dir_at_iter (struct MainPublishingDialogContext *ctx, | |||
611 | meta, | 611 | meta, |
612 | bo, | 612 | bo, |
613 | name); | 613 | name); |
614 | GNUNET_CONTAINER_meta_data_destroy (meta); | 614 | GNUNET_FS_meta_data_destroy (meta); |
615 | gtk_tree_store_set (GTK_TREE_STORE (ctx->file_info_treemodel), | 615 | gtk_tree_store_set (GTK_TREE_STORE (ctx->file_info_treemodel), |
616 | pos, | 616 | pos, |
617 | PUBLISH_MC_FILESIZE, | 617 | PUBLISH_MC_FILESIZE, |
@@ -1226,7 +1226,7 @@ static int | |||
1226 | free_fi_row_reference (void *cls, | 1226 | free_fi_row_reference (void *cls, |
1227 | struct GNUNET_FS_FileInformation *fi, | 1227 | struct GNUNET_FS_FileInformation *fi, |
1228 | uint64_t length, | 1228 | uint64_t length, |
1229 | struct GNUNET_CONTAINER_MetaData *meta, | 1229 | struct GNUNET_FS_MetaData *meta, |
1230 | struct GNUNET_FS_Uri **uri, | 1230 | struct GNUNET_FS_Uri **uri, |
1231 | struct GNUNET_FS_BlockOptions *bo, | 1231 | struct GNUNET_FS_BlockOptions *bo, |
1232 | int *do_index, | 1232 | int *do_index, |
@@ -1453,12 +1453,12 @@ add_item (struct AddDirClientContext *adcc, | |||
1453 | { | 1453 | { |
1454 | /* update meta data mime type (force to be GNUnet-directory) */ | 1454 | /* update meta data mime type (force to be GNUnet-directory) */ |
1455 | if (NULL != item->meta) | 1455 | if (NULL != item->meta) |
1456 | GNUNET_CONTAINER_meta_data_delete (item->meta, | 1456 | GNUNET_FS_meta_data_delete (item->meta, |
1457 | EXTRACTOR_METATYPE_MIMETYPE, | 1457 | EXTRACTOR_METATYPE_MIMETYPE, |
1458 | NULL, | 1458 | NULL, |
1459 | 0); | 1459 | 0); |
1460 | else | 1460 | else |
1461 | item->meta = GNUNET_CONTAINER_meta_data_create (); | 1461 | item->meta = GNUNET_FS_meta_data_create (); |
1462 | GNUNET_FS_meta_data_make_directory (item->meta); | 1462 | GNUNET_FS_meta_data_make_directory (item->meta); |
1463 | 1463 | ||
1464 | fi = GNUNET_FS_file_information_create_empty_directory ( | 1464 | fi = GNUNET_FS_file_information_create_empty_directory ( |
@@ -2019,7 +2019,7 @@ static int | |||
2019 | update_treeview_after_edit (void *cls, | 2019 | update_treeview_after_edit (void *cls, |
2020 | struct GNUNET_FS_FileInformation *fi, | 2020 | struct GNUNET_FS_FileInformation *fi, |
2021 | uint64_t length, | 2021 | uint64_t length, |
2022 | struct GNUNET_CONTAINER_MetaData *meta, | 2022 | struct GNUNET_FS_MetaData *meta, |
2023 | struct GNUNET_FS_Uri **uri, | 2023 | struct GNUNET_FS_Uri **uri, |
2024 | struct GNUNET_FS_BlockOptions *bo, | 2024 | struct GNUNET_FS_BlockOptions *bo, |
2025 | int *do_index, | 2025 | int *do_index, |
@@ -2028,7 +2028,7 @@ update_treeview_after_edit (void *cls, | |||
2028 | struct EditPublishContext *epc = cls; | 2028 | struct EditPublishContext *epc = cls; |
2029 | char *name; | 2029 | char *name; |
2030 | 2030 | ||
2031 | name = GNUNET_CONTAINER_meta_data_get_by_type ( | 2031 | name = GNUNET_FS_meta_data_get_by_type ( |
2032 | meta, | 2032 | meta, |
2033 | EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME); | 2033 | EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME); |
2034 | gtk_tree_store_set (GTK_TREE_STORE (epc->tm), | 2034 | gtk_tree_store_set (GTK_TREE_STORE (epc->tm), |
@@ -2232,7 +2232,7 @@ static int | |||
2232 | insert_advertisement (void *cls, | 2232 | insert_advertisement (void *cls, |
2233 | struct GNUNET_FS_FileInformation *fi, | 2233 | struct GNUNET_FS_FileInformation *fi, |
2234 | uint64_t length, | 2234 | uint64_t length, |
2235 | struct GNUNET_CONTAINER_MetaData *meta, | 2235 | struct GNUNET_FS_MetaData *meta, |
2236 | struct GNUNET_FS_Uri **uri, | 2236 | struct GNUNET_FS_Uri **uri, |
2237 | struct GNUNET_FS_BlockOptions *bo, | 2237 | struct GNUNET_FS_BlockOptions *bo, |
2238 | int *do_index, | 2238 | int *do_index, |
@@ -2258,7 +2258,7 @@ insert_advertisement (void *cls, | |||
2258 | if (NULL == sks_uri_string) | 2258 | if (NULL == sks_uri_string) |
2259 | return GNUNET_SYSERR; | 2259 | return GNUNET_SYSERR; |
2260 | 2260 | ||
2261 | GNUNET_CONTAINER_meta_data_insert (meta, | 2261 | GNUNET_FS_meta_data_insert (meta, |
2262 | "<gnunet>", | 2262 | "<gnunet>", |
2263 | EXTRACTOR_METATYPE_URI, | 2263 | EXTRACTOR_METATYPE_URI, |
2264 | EXTRACTOR_METAFORMAT_UTF8, | 2264 | EXTRACTOR_METAFORMAT_UTF8, |
@@ -2416,7 +2416,7 @@ static int | |||
2416 | clear_keywords_in_file_information (void *cls, | 2416 | clear_keywords_in_file_information (void *cls, |
2417 | struct GNUNET_FS_FileInformation *fi, | 2417 | struct GNUNET_FS_FileInformation *fi, |
2418 | uint64_t length, | 2418 | uint64_t length, |
2419 | struct GNUNET_CONTAINER_MetaData *meta, | 2419 | struct GNUNET_FS_MetaData *meta, |
2420 | struct GNUNET_FS_Uri **uri, | 2420 | struct GNUNET_FS_Uri **uri, |
2421 | struct GNUNET_FS_BlockOptions *bo, | 2421 | struct GNUNET_FS_BlockOptions *bo, |
2422 | int *do_index, | 2422 | int *do_index, |
@@ -2620,7 +2620,7 @@ static void | |||
2620 | add_updateable_to_ts (void *cls, | 2620 | add_updateable_to_ts (void *cls, |
2621 | const char *last_id, | 2621 | const char *last_id, |
2622 | const struct GNUNET_FS_Uri *last_uri, | 2622 | const struct GNUNET_FS_Uri *last_uri, |
2623 | const struct GNUNET_CONTAINER_MetaData *last_meta, | 2623 | const struct GNUNET_FS_MetaData *last_meta, |
2624 | const char *next_id) | 2624 | const char *next_id) |
2625 | { | 2625 | { |
2626 | struct UpdateableContext *uc = cls; | 2626 | struct UpdateableContext *uc = cls; |
@@ -2660,11 +2660,11 @@ add_updateable_to_ts (void *cls, | |||
2660 | urilen = 0; | 2660 | urilen = 0; |
2661 | 2661 | ||
2662 | mdbuf = NULL; | 2662 | mdbuf = NULL; |
2663 | mdsize = GNUNET_CONTAINER_meta_data_serialize ( | 2663 | mdsize = GNUNET_FS_meta_data_serialize ( |
2664 | last_meta, | 2664 | last_meta, |
2665 | &mdbuf, | 2665 | &mdbuf, |
2666 | 64 * 1024, | 2666 | 64 * 1024, |
2667 | GNUNET_CONTAINER_META_DATA_SERIALIZE_FULL); | 2667 | GNUNET_FS_META_DATA_SERIALIZE_FULL); |
2668 | if (0 > mdsize) | 2668 | if (0 > mdsize) |
2669 | mdsize = 0; | 2669 | mdsize = 0; |
2670 | 2670 | ||
diff --git a/src/fs/gnunet-fs-gtk_publish-edit-dialog.c b/src/fs/gnunet-fs-gtk_publish-edit-dialog.c index aff28a5c..f54cecdc 100644 --- a/src/fs/gnunet-fs-gtk_publish-edit-dialog.c +++ b/src/fs/gnunet-fs-gtk_publish-edit-dialog.c | |||
@@ -236,7 +236,7 @@ struct EditPublicationDialogContext | |||
236 | /** | 236 | /** |
237 | * Briefly used temporary meta data set. | 237 | * Briefly used temporary meta data set. |
238 | */ | 238 | */ |
239 | struct GNUNET_CONTAINER_MetaData *md; | 239 | struct GNUNET_FS_MetaData *md; |
240 | 240 | ||
241 | /** | 241 | /** |
242 | * Information about the file being published as seen by the FS-API. | 242 | * Information about the file being published as seen by the FS-API. |
@@ -906,7 +906,7 @@ preserve_meta_items (void *cls, | |||
906 | } | 906 | } |
907 | if (GNUNET_YES == keep) | 907 | if (GNUNET_YES == keep) |
908 | GNUNET_break (GNUNET_OK == | 908 | GNUNET_break (GNUNET_OK == |
909 | GNUNET_CONTAINER_meta_data_insert (ctx->md, | 909 | GNUNET_FS_meta_data_insert (ctx->md, |
910 | plugin_name, | 910 | plugin_name, |
911 | type, | 911 | type, |
912 | format, | 912 | format, |
@@ -1002,7 +1002,7 @@ static int | |||
1002 | file_information_update (void *cls, | 1002 | file_information_update (void *cls, |
1003 | struct GNUNET_FS_FileInformation *fi, | 1003 | struct GNUNET_FS_FileInformation *fi, |
1004 | uint64_t length, | 1004 | uint64_t length, |
1005 | struct GNUNET_CONTAINER_MetaData *meta, | 1005 | struct GNUNET_FS_MetaData *meta, |
1006 | struct GNUNET_FS_Uri **uri, | 1006 | struct GNUNET_FS_Uri **uri, |
1007 | struct GNUNET_FS_BlockOptions *bo, | 1007 | struct GNUNET_FS_BlockOptions *bo, |
1008 | int *do_index, | 1008 | int *do_index, |
@@ -1048,13 +1048,13 @@ file_information_update (void *cls, | |||
1048 | } | 1048 | } |
1049 | 1049 | ||
1050 | /* update meta data; first, we copy the unchanged values from the original meta data */ | 1050 | /* update meta data; first, we copy the unchanged values from the original meta data */ |
1051 | ctx->md = GNUNET_CONTAINER_meta_data_create (); | 1051 | ctx->md = GNUNET_FS_meta_data_create (); |
1052 | GNUNET_CONTAINER_meta_data_iterate (meta, &preserve_meta_items, ctx); | 1052 | GNUNET_FS_meta_data_iterate (meta, &preserve_meta_items, ctx); |
1053 | /* clear original meta data */ | 1053 | /* clear original meta data */ |
1054 | GNUNET_CONTAINER_meta_data_clear (meta); | 1054 | GNUNET_FS_meta_data_clear (meta); |
1055 | /* add all of the 'preserved' values */ | 1055 | /* add all of the 'preserved' values */ |
1056 | GNUNET_CONTAINER_meta_data_merge (meta, ctx->md); | 1056 | GNUNET_FS_meta_data_merge (meta, ctx->md); |
1057 | GNUNET_CONTAINER_meta_data_destroy (ctx->md); | 1057 | GNUNET_FS_meta_data_destroy (ctx->md); |
1058 | ctx->md = NULL; | 1058 | ctx->md = NULL; |
1059 | /* now add all of the values from the model; adding will simply do | 1059 | /* now add all of the values from the model; adding will simply do |
1060 | nothing for values that are already in the set because they were preserved */ | 1060 | nothing for values that are already in the set because they were preserved */ |
@@ -1078,7 +1078,7 @@ file_information_update (void *cls, | |||
1078 | -1); | 1078 | -1); |
1079 | if (ntype > 0) | 1079 | if (ntype > 0) |
1080 | { | 1080 | { |
1081 | GNUNET_CONTAINER_meta_data_insert (meta, | 1081 | GNUNET_FS_meta_data_insert (meta, |
1082 | "<user>", | 1082 | "<user>", |
1083 | ntype, | 1083 | ntype, |
1084 | nformat, | 1084 | nformat, |
@@ -1134,7 +1134,7 @@ file_information_update (void *cls, | |||
1134 | g_object_unref (finfo); | 1134 | g_object_unref (finfo); |
1135 | } | 1135 | } |
1136 | #endif | 1136 | #endif |
1137 | GNUNET_CONTAINER_meta_data_insert (meta, | 1137 | GNUNET_FS_meta_data_insert (meta, |
1138 | "<user>", | 1138 | "<user>", |
1139 | EXTRACTOR_METATYPE_THUMBNAIL, | 1139 | EXTRACTOR_METATYPE_THUMBNAIL, |
1140 | EXTRACTOR_METAFORMAT_BINARY, | 1140 | EXTRACTOR_METAFORMAT_BINARY, |
@@ -1258,7 +1258,7 @@ static int | |||
1258 | file_information_import (void *cls, | 1258 | file_information_import (void *cls, |
1259 | struct GNUNET_FS_FileInformation *fi, | 1259 | struct GNUNET_FS_FileInformation *fi, |
1260 | uint64_t length, | 1260 | uint64_t length, |
1261 | struct GNUNET_CONTAINER_MetaData *meta, | 1261 | struct GNUNET_FS_MetaData *meta, |
1262 | struct GNUNET_FS_Uri **uri, | 1262 | struct GNUNET_FS_Uri **uri, |
1263 | struct GNUNET_FS_BlockOptions *bo, | 1263 | struct GNUNET_FS_BlockOptions *bo, |
1264 | int *do_index, | 1264 | int *do_index, |
@@ -1287,7 +1287,7 @@ file_information_import (void *cls, | |||
1287 | /* import meta data */ | 1287 | /* import meta data */ |
1288 | if (NULL != meta) | 1288 | if (NULL != meta) |
1289 | { | 1289 | { |
1290 | GNUNET_CONTAINER_meta_data_iterate (meta, | 1290 | GNUNET_FS_meta_data_iterate (meta, |
1291 | &GNUNET_FS_GTK_add_meta_data_to_list_store, | 1291 | &GNUNET_FS_GTK_add_meta_data_to_list_store, |
1292 | ctx->meta_liststore); | 1292 | ctx->meta_liststore); |
1293 | pixbuf = GNUNET_FS_GTK_get_thumbnail_from_meta_data (meta); | 1293 | pixbuf = GNUNET_FS_GTK_get_thumbnail_from_meta_data (meta); |
@@ -1299,7 +1299,7 @@ file_information_import (void *cls, | |||
1299 | 1299 | ||
1300 | /* Also update window title based on filename */ | 1300 | /* Also update window title based on filename */ |
1301 | gtk_window_set_title (ctx->edit_publication_window, _ ("<unnamed>")); | 1301 | gtk_window_set_title (ctx->edit_publication_window, _ ("<unnamed>")); |
1302 | GNUNET_CONTAINER_meta_data_iterate (meta, | 1302 | GNUNET_FS_meta_data_iterate (meta, |
1303 | &set_window_title_to_filename, | 1303 | &set_window_title_to_filename, |
1304 | ctx->edit_publication_window); | 1304 | ctx->edit_publication_window); |
1305 | return GNUNET_SYSERR; /* only visit top-level item */ | 1305 | return GNUNET_SYSERR; /* only visit top-level item */ |
diff --git a/src/include/gnunet_gtk.h b/src/include/gnunet_gtk.h index 4be3138f..a2fdb67e 100644 --- a/src/include/gnunet_gtk.h +++ b/src/include/gnunet_gtk.h | |||
@@ -35,6 +35,7 @@ | |||
35 | 35 | ||
36 | #include <gnunet/platform.h> | 36 | #include <gnunet/platform.h> |
37 | #include <gnunet/gnunet_util_lib.h> | 37 | #include <gnunet/gnunet_util_lib.h> |
38 | #include <gnunet/gnunet_extractor_compat.h> | ||
38 | #include <gnunet/gnunet_fs_service.h> | 39 | #include <gnunet/gnunet_fs_service.h> |
39 | #include <gtk/gtk.h> | 40 | #include <gtk/gtk.h> |
40 | #include <gladeui/glade.h> | 41 | #include <gladeui/glade.h> |
diff --git a/src/include/gnunet_gtk_namestore_plugin.h b/src/include/gnunet_gtk_namestore_plugin.h index ebf4ea87..059cc68c 100644 --- a/src/include/gnunet_gtk_namestore_plugin.h +++ b/src/include/gnunet_gtk_namestore_plugin.h | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | #include "gnunet_gtk.h" | 29 | #include "gnunet_gtk.h" |
30 | #include <gnunet/gnunet_namestore_service.h> | 30 | #include <gnunet/gnunet_namestore_service.h> |
31 | #include <gnunet/gnunet_dnsparser_lib.h> | 31 | #include <gnunet/gnunet_util_lib.h> |
32 | 32 | ||
33 | 33 | ||
34 | /** | 34 | /** |
diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c index a9d42f91..2981e16f 100644 --- a/src/namestore/gnunet-namestore-gtk.c +++ b/src/namestore/gnunet-namestore-gtk.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <gnunet/gnunet_gns_service.h> | 30 | #include <gnunet/gnunet_gns_service.h> |
31 | #include <gnunet/gnunet_identity_service.h> | 31 | #include <gnunet/gnunet_identity_service.h> |
32 | #include <gnunet/gnunet_namestore_service.h> | 32 | #include <gnunet/gnunet_namestore_service.h> |
33 | #include <gnunet/gnunet_dnsparser_lib.h> | ||
34 | 33 | ||
35 | /** | 34 | /** |
36 | * Text we use for the 'name' entry for the user to select | 35 | * Text we use for the 'name' entry for the user to select |
@@ -1049,7 +1048,7 @@ edit_dialog_continuation (struct GNUNET_GTK_NAMESTORE_PluginEnvironment *edc, | |||
1049 | else | 1048 | else |
1050 | rd.flags = GNUNET_GNSRECORD_RF_PRIVATE; | 1049 | rd.flags = GNUNET_GNSRECORD_RF_PRIVATE; |
1051 | if (edc->n_is_shadow) | 1050 | if (edc->n_is_shadow) |
1052 | rd.flags |= GNUNET_GNSRECORD_RF_SHADOW_RECORD; | 1051 | rd.flags |= GNUNET_GNSRECORD_RF_SHADOW; |
1053 | rd.record_type = edc->record_type; | 1052 | rd.record_type = edc->record_type; |
1054 | rd.expiration_time = edc->n_exp_time; | 1053 | rd.expiration_time = edc->n_exp_time; |
1055 | if (edc->n_is_relative) | 1054 | if (edc->n_is_relative) |
@@ -1691,7 +1690,7 @@ launch_edit_dialog (gint n_type, | |||
1691 | edc->n_is_relative = | 1690 | edc->n_is_relative = |
1692 | (0 != (rd_old[off].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION)); | 1691 | (0 != (rd_old[off].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION)); |
1693 | edc->n_is_shadow = | 1692 | edc->n_is_shadow = |
1694 | (0 != (rd_old[off].flags & GNUNET_GNSRECORD_RF_SHADOW_RECORD)); | 1693 | (0 != (rd_old[off].flags & GNUNET_GNSRECORD_RF_SHADOW)); |
1695 | edc->n_exp_time = rd_old[off].expiration_time; | 1694 | edc->n_exp_time = rd_old[off].expiration_time; |
1696 | edc->old_record_in_namestore = GNUNET_YES; | 1695 | edc->old_record_in_namestore = GNUNET_YES; |
1697 | } | 1696 | } |
@@ -2202,7 +2201,7 @@ gnunet_namestore_gtk_treeview_key_press_event_cb (GtkWidget *widget, | |||
2202 | if (n_is_relative) | 2201 | if (n_is_relative) |
2203 | rd.flags |= GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION; | 2202 | rd.flags |= GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION; |
2204 | if (n_is_shadow) | 2203 | if (n_is_shadow) |
2205 | rd.flags |= GNUNET_GNSRECORD_RF_SHADOW_RECORD; | 2204 | rd.flags |= GNUNET_GNSRECORD_RF_SHADOW; |
2206 | rd.record_type = n_type; | 2205 | rd.record_type = n_type; |
2207 | rd.expiration_time = n_exp_time; | 2206 | rd.expiration_time = n_exp_time; |
2208 | if (GNUNET_OK != GNUNET_GNSRECORD_string_to_value (n_type, | 2207 | if (GNUNET_OK != GNUNET_GNSRECORD_string_to_value (n_type, |
@@ -2497,8 +2496,8 @@ zone_iteration_proc (void *cls, | |||
2497 | is_public = ((rd[c].flags & GNUNET_GNSRECORD_RF_PRIVATE) != | 2496 | is_public = ((rd[c].flags & GNUNET_GNSRECORD_RF_PRIVATE) != |
2498 | GNUNET_GNSRECORD_RF_PRIVATE); | 2497 | GNUNET_GNSRECORD_RF_PRIVATE); |
2499 | /* Set shadow toggle */ | 2498 | /* Set shadow toggle */ |
2500 | is_shadow = ((rd[c].flags & GNUNET_GNSRECORD_RF_SHADOW_RECORD) == | 2499 | is_shadow = ((rd[c].flags & GNUNET_GNSRECORD_RF_SHADOW) == |
2501 | GNUNET_GNSRECORD_RF_SHADOW_RECORD); | 2500 | GNUNET_GNSRECORD_RF_SHADOW); |
2502 | /* Expiration time */ | 2501 | /* Expiration time */ |
2503 | time_is_relative = | 2502 | time_is_relative = |
2504 | (0 != (rd[c].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION)); | 2503 | (0 != (rd[c].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION)); |
diff --git a/src/setup/gnunet-setup-options.c b/src/setup/gnunet-setup-options.c index d1505e80..a6967029 100644 --- a/src/setup/gnunet-setup-options.c +++ b/src/setup/gnunet-setup-options.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include "gnunet-setup-options.h" | 27 | #include "gnunet-setup-options.h" |
28 | #include "gnunet-setup-exit-services.h" | 28 | #include "gnunet-setup-exit-services.h" |
29 | #include <gnunet/gnunet_util_lib.h> | 29 | #include <gnunet/gnunet_util_lib.h> |
30 | #include <gnunet/gnunet_tun_lib.h> | ||
31 | #include <gdk/gdkkeysyms.h> | 30 | #include <gdk/gdkkeysyms.h> |
32 | 31 | ||
33 | 32 | ||