aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_common.h')
-rw-r--r--src/fs/gnunet-fs-gtk_common.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/src/fs/gnunet-fs-gtk_common.h b/src/fs/gnunet-fs-gtk_common.h
index 0a13e59d..9d8ba188 100644
--- a/src/fs/gnunet-fs-gtk_common.h
+++ b/src/fs/gnunet-fs-gtk_common.h
@@ -4,7 +4,7 @@
4 4
5 GNUnet is free software; you can redistribute it and/or modify 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 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 7 by the Free Software Foundation; either version 3, or (at your
8 option) any later version. 8 option) any later version.
9 9
10 GNUnet is distributed in the hope that it will be useful, but 10 GNUnet is distributed in the hope that it will be useful, but
@@ -106,13 +106,13 @@ GNUNET_FS_GTK_add_meta_data_to_list_store (void *cls, const char *plugin_name,
106 106
107 107
108/** 108/**
109 * Converts metadata specified by @data of size @data_len 109 * Converts metadata specified by #data of size #data_len
110 * and saved in format @format to UTF-8 encoded string. 110 * and saved in format #format to UTF-8 encoded string.
111 * Works only for C-string and UTF8 metadata formats 111 * Works only for C-string and UTF8 metadata formats
112 * (returns NULL for everything else). 112 * (returns NULL for everything else).
113 * Verifies UTF-8 strings. 113 * Verifies UTF-8 strings.
114 * 114 *
115 * @param format format of the @data 115 * @param format format of the #data
116 * @param data data to convert 116 * @param data data to convert
117 * @param data_len length of the data buffer (in bytes) 117 * @param data_len length of the data buffer (in bytes)
118 * @return NULL if can't be converted, allocated string otherwise, 118 * @return NULL if can't be converted, allocated string otherwise,
@@ -174,6 +174,7 @@ GNUNET_GTK_find_largest_namespace_rating (void);
174void 174void
175GNUNET_GTK_set_largest_namespace_rating (int new_value); 175GNUNET_GTK_set_largest_namespace_rating (int new_value);
176 176
177
177/** 178/**
178 * Converts a GtkTreeRowReference to a GtkTreeIter. 179 * Converts a GtkTreeRowReference to a GtkTreeIter.
179 * 180 *
@@ -182,7 +183,9 @@ GNUNET_GTK_set_largest_namespace_rating (int new_value);
182 * @return GNUNET_OK if iter was filled, GNUNET_SYSERR otherwise 183 * @return GNUNET_OK if iter was filled, GNUNET_SYSERR otherwise
183 */ 184 */
184int 185int
185GNUNET_GTK_get_iter_from_reference (GtkTreeRowReference *rr, GtkTreeIter *iter); 186GNUNET_GTK_get_iter_from_reference (GtkTreeRowReference *rr,
187 GtkTreeIter *iter);
188
186 189
187/** 190/**
188 * Creates a GtkTreeRowReference from a GtkTreeIter. 191 * Creates a GtkTreeRowReference from a GtkTreeIter.
@@ -192,7 +195,9 @@ GNUNET_GTK_get_iter_from_reference (GtkTreeRowReference *rr, GtkTreeIter *iter);
192 * @return newly created reference or NULL in case of error 195 * @return newly created reference or NULL in case of error
193 */ 196 */
194GtkTreeRowReference * 197GtkTreeRowReference *
195GNUNET_GTK_get_reference_from_iter (GtkTreeModel *model, GtkTreeIter *iter); 198GNUNET_GTK_get_reference_from_iter (GtkTreeModel *model,
199 GtkTreeIter *iter);
200
196 201
197/** 202/**
198 * Fills "next_iter" with iterator for an item that comes next in the tree 203 * Fills "next_iter" with iterator for an item that comes next in the tree
@@ -213,7 +218,10 @@ GNUNET_GTK_get_reference_from_iter (GtkTreeModel *model, GtkTreeIter *iter);
213 */ 218 */
214gboolean 219gboolean
215GNUNET_GTK_tree_model_get_next_flat_iter (GtkTreeModel *model, 220GNUNET_GTK_tree_model_get_next_flat_iter (GtkTreeModel *model,
216 GtkTreeIter *iter, gboolean allow_children, GtkTreeIter *next_iter); 221 GtkTreeIter *iter,
222 gboolean allow_children,
223 GtkTreeIter *next_iter);
224
217 225
218#endif 226#endif
219/* end of gnunet-fs-gtk-common.h */ 227/* end of gnunet-fs-gtk-common.h */