aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_main-window-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_main-window-search.c')
-rw-r--r--src/fs/gnunet-fs-gtk_main-window-search.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/gnunet-fs-gtk_main-window-search.c b/src/fs/gnunet-fs-gtk_main-window-search.c
index 6253fa1f..976964ef 100644
--- a/src/fs/gnunet-fs-gtk_main-window-search.c
+++ b/src/fs/gnunet-fs-gtk_main-window-search.c
@@ -110,7 +110,7 @@ timeout_search_lookup (void *cls,
110static void 110static void
111handle_gns_result (void *cls, 111handle_gns_result (void *cls,
112 uint32_t rd_count, 112 uint32_t rd_count,
113 const struct GNUNET_NAMESTORE_RecordData *rd) 113 const struct GNUNET_GNSRECORD_Data *rd)
114{ 114{
115 struct SearchLookup *sl = cls; 115 struct SearchLookup *sl = cls;
116 unsigned int i; 116 unsigned int i;
@@ -400,7 +400,7 @@ static void
400save_pseudonym_with_nick (struct PseuLookupContext *lctx, 400save_pseudonym_with_nick (struct PseuLookupContext *lctx,
401 const char *nick) 401 const char *nick)
402{ 402{
403 struct GNUNET_NAMESTORE_RecordData rd; 403 struct GNUNET_GNSRECORD_Data rd;
404 struct GNUNET_GTK_MainWindowContext *main_ctx; 404 struct GNUNET_GTK_MainWindowContext *main_ctx;
405 405
406 GNUNET_break (NULL == lctx->nick); 406 GNUNET_break (NULL == lctx->nick);
@@ -419,7 +419,7 @@ save_pseudonym_with_nick (struct PseuLookupContext *lctx,
419 memset (&rd, 0, sizeof (rd)); 419 memset (&rd, 0, sizeof (rd));
420 rd.data_size = sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey); 420 rd.data_size = sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey);
421 rd.data = &lctx->pkey; 421 rd.data = &lctx->pkey;
422 rd.flags = GNUNET_NAMESTORE_RF_PRIVATE; 422 rd.flags = GNUNET_GNSRECORD_RF_PRIVATE;
423 rd.expiration_time = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us; 423 rd.expiration_time = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us;
424 rd.record_type = GNUNET_GNSRECORD_TYPE_PKEY; 424 rd.record_type = GNUNET_GNSRECORD_TYPE_PKEY;
425 main_ctx = GNUNET_FS_GTK_get_main_context (); 425 main_ctx = GNUNET_FS_GTK_get_main_context ();
@@ -539,7 +539,7 @@ ask_for_nickname (struct PseuLookupContext *lctx)
539static void 539static void
540lookup_finished (void *cls, 540lookup_finished (void *cls,
541 uint32_t rd_count, 541 uint32_t rd_count,
542 const struct GNUNET_NAMESTORE_RecordData *rd) 542 const struct GNUNET_GNSRECORD_Data *rd)
543{ 543{
544 struct PseuLookupContext *lctx = cls; 544 struct PseuLookupContext *lctx = cls;
545 unsigned int i; 545 unsigned int i;
@@ -672,7 +672,7 @@ GNUNET_FS_GTK_save_button_clicked_cb (GtkButton * button,
672 widget = GTK_COMBO_BOX (GNUNET_FS_GTK_get_main_window_object 672 widget = GTK_COMBO_BOX (GNUNET_FS_GTK_get_main_window_object
673 ("main_window_search_namespace_combobox")); 673 ("main_window_search_namespace_combobox"));
674 text = gtk_entry_get_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (widget)))); 674 text = gtk_entry_get_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (widget))));
675 ret = GNUNET_NAMESTORE_zkey_to_pkey (text, &pkey); 675 ret = GNUNET_GNSRECORD_zkey_to_pkey (text, &pkey);
676 if (GNUNET_OK != ret) 676 if (GNUNET_OK != ret)
677 { 677 {
678 GNUNET_break (0); 678 GNUNET_break (0);
@@ -732,7 +732,7 @@ main_window_search_namespace_combobox_changed_cb (GtkComboBox *widget,
732 int ret; 732 int ret;
733 733
734 text = gtk_entry_get_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (widget)))); 734 text = gtk_entry_get_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (widget))));
735 ret = GNUNET_NAMESTORE_zkey_to_pkey (text, &pkey); 735 ret = GNUNET_GNSRECORD_zkey_to_pkey (text, &pkey);
736 button = GTK_BUTTON (GNUNET_FS_GTK_get_main_window_object 736 button = GTK_BUTTON (GNUNET_FS_GTK_get_main_window_object
737 ("GNUNET_FS_GTK_save_button")); 737 ("GNUNET_FS_GTK_save_button"));
738 gtk_widget_set_visible (GTK_WIDGET (button), 738 gtk_widget_set_visible (GTK_WIDGET (button),