aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-edit_publish_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk-edit_publish_dialog.h')
-rw-r--r--src/fs/gnunet-fs-gtk-edit_publish_dialog.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/fs/gnunet-fs-gtk-edit_publish_dialog.h b/src/fs/gnunet-fs-gtk-edit_publish_dialog.h
index 68514031..63111bbf 100644
--- a/src/fs/gnunet-fs-gtk-edit_publish_dialog.h
+++ b/src/fs/gnunet-fs-gtk-edit_publish_dialog.h
@@ -34,29 +34,31 @@
34 * Function called when the edit publish dialog has been closed. 34 * Function called when the edit publish dialog has been closed.
35 * 35 *
36 * @param cls closure 36 * @param cls closure
37 * @param do_index index flag set?
38 * @param short_fn short filename
39 * @param anonymity_level anonymity degree chosen for publishing
40 * @param priority replication setting (rename!)
41 * @param root namespace root, NULL for file publishing
42 * @param ret GTK_RESPONSE_OK if the dialog was closed with "OK" 37 * @param ret GTK_RESPONSE_OK if the dialog was closed with "OK"
38 * @param root namespace root, NULL for file publishing
43 */ 39 */
44typedef void (*GNUNET_FS_GTK_EditPublishDialogCallback) (gpointer cls, 40typedef void (*GNUNET_FS_GTK_EditPublishDialogCallback) (gpointer cls,
45 int do_index, 41 int ret,
46 const char *short_fn, 42 const char *root);
47 const struct GNUNET_FS_BlockOptions *bo,
48 const char *root,
49 int ret);
50 43
51 44
52/** 45/**
53 * Open the dialog to edit file information data. 46 * Open the dialog to edit file information data.
47 *
48 * @param parent parent window of the dialog
49 * @param fip information about the file information that is to be edited
50 * @param allow_no_keywords is it OK to close the dialog without any keywords?
51 * also used to indicate that this is a namespace operation
52 * (FIXME: overloaded/badly-named argument)
53 * @param anon_liststore liststore with anonymity options (FIXME: bad sharing)
54 * @param cb function to call when the dialog is closed
55 * @param cb_cls closure for 'cb'
54 */ 56 */
55void 57void
56GNUNET_FS_GTK_edit_publish_dialog (GtkWindow * parent, 58GNUNET_FS_GTK_edit_publish_dialog (GtkWindow * parent,
57 const char *short_fn,
58 struct GNUNET_FS_FileInformation *fip, 59 struct GNUNET_FS_FileInformation *fip,
59 gboolean allow_no_keywords, GtkListStore *anon_liststore, 60 int allow_no_keywords,
61 GtkListStore *anon_liststore,
60 GNUNET_FS_GTK_EditPublishDialogCallback cb, 62 GNUNET_FS_GTK_EditPublishDialogCallback cb,
61 gpointer cls); 63 gpointer cls);
62 64