aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk.h')
-rw-r--r--src/fs/gnunet-fs-gtk.h51
1 files changed, 49 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk.h b/src/fs/gnunet-fs-gtk.h
index 178d25b7..71cc8e55 100644
--- a/src/fs/gnunet-fs-gtk.h
+++ b/src/fs/gnunet-fs-gtk.h
@@ -74,6 +74,34 @@ struct SearchLookup
74 74
75 75
76/** 76/**
77 * Context we keep for a pseudonym lookup on 'save'.
78 */
79struct PseuLookupContext
80{
81
82 /**
83 * Kept in a DLL.
84 */
85 struct PseuLookupContext *next;
86
87 /**
88 * Kept in a DLL.
89 */
90 struct PseuLookupContext *prev;
91
92 /**
93 * Main window context.
94 */
95 struct GNUNET_GTK_MainWindowContext *main_ctx;
96
97 /**
98 * Lookup request with GNS.
99 */
100 struct GNUNET_GNS_LookupRequest *lr;
101};
102
103
104/**
77 * Abort the given search lookup. 105 * Abort the given search lookup.
78 * 106 *
79 * @param sl lookup to abort. 107 * @param sl lookup to abort.
@@ -83,6 +111,15 @@ abort_search_lookup (struct SearchLookup *sl);
83 111
84 112
85/** 113/**
114 * Abort the given PSEU lookup.
115 *
116 * @param lctx lookup to abort.
117 */
118void
119abort_pseu_lookup (struct PseuLookupContext *lctx);
120
121
122/**
86 * Context for the main window. 123 * Context for the main window.
87 */ 124 */
88struct GNUNET_GTK_MainWindowContext 125struct GNUNET_GTK_MainWindowContext
@@ -143,16 +180,26 @@ struct GNUNET_GTK_MainWindowContext
143 struct GNUNET_NAMESTORE_ZoneMonitor *zm; 180 struct GNUNET_NAMESTORE_ZoneMonitor *zm;
144 181
145 /** 182 /**
146 * This is a DLL. 183 * Head of sl DLL.
147 */ 184 */
148 struct SearchLookup *sl_head; 185 struct SearchLookup *sl_head;
149 186
150 /** 187 /**
151 * This is a DLL. 188 * Tail of sl DLL.
152 */ 189 */
153 struct SearchLookup *sl_tail; 190 struct SearchLookup *sl_tail;
154 191
155 /** 192 /**
193 * Head of lctx DLL.
194 */
195 struct PseuLookupContext *lctx_head;
196
197 /**
198 * Tail of lctx DLL.
199 */
200 struct PseuLookupContext *lctx_tail;
201
202 /**
156 * Handle to identity service. 203 * Handle to identity service.
157 */ 204 */
158 struct GNUNET_IDENTITY_Handle *identity; 205 struct GNUNET_IDENTITY_Handle *identity;