diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk-edit_publish_dialog.h')
-rw-r--r-- | src/fs/gnunet-fs-gtk-edit_publish_dialog.h | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/src/fs/gnunet-fs-gtk-edit_publish_dialog.h b/src/fs/gnunet-fs-gtk-edit_publish_dialog.h index 5473cb42..4d24cd64 100644 --- a/src/fs/gnunet-fs-gtk-edit_publish_dialog.h +++ b/src/fs/gnunet-fs-gtk-edit_publish_dialog.h | |||
@@ -30,20 +30,39 @@ | |||
30 | #include <gnunet/gnunet_fs_service.h> | 30 | #include <gnunet/gnunet_fs_service.h> |
31 | 31 | ||
32 | 32 | ||
33 | /** | ||
34 | * Function called when the edit publish dialog has been closed. | ||
35 | * | ||
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" | ||
43 | */ | ||
33 | typedef void | 44 | typedef void |
34 | (*GNUNET_FS_GTK_edit_publish_dialog_cb) (gpointer cls, int *do_index, char **short_fn, | 45 | (*GNUNET_FS_GTK_EditPublishDialogCallback) (gpointer cls, int do_index, |
35 | guint * anonymity_level, guint * priority, gchar *root, | 46 | const char *short_fn, |
36 | struct GNUNET_FS_FileInformation *fip, gint ret); | 47 | guint anonymity_level, |
48 | guint priority, | ||
49 | const char *root, | ||
50 | int ret); | ||
37 | 51 | ||
38 | 52 | ||
39 | /** | 53 | /** |
40 | * Open the dialog to edit file information data. | 54 | * Open the dialog to edit file information data. |
41 | */ | 55 | */ |
42 | void | 56 | void |
43 | GNUNET_FS_GTK_edit_publish_dialog (GtkBuilder *builder, GtkWindow *parent, int *do_index, | 57 | GNUNET_FS_GTK_edit_publish_dialog (GtkBuilder *builder, |
44 | char **short_fn, guint * anonymity_level, guint * priority, | 58 | GtkWindow *parent, |
45 | struct GNUNET_FS_FileInformation *fip, gboolean allow_no_keywords, | 59 | int do_index, |
46 | GNUNET_FS_GTK_edit_publish_dialog_cb cb, gpointer cls); | 60 | const char *short_fn, |
61 | uint32_t anonymity_level, | ||
62 | uint32_t priority, | ||
63 | struct GNUNET_FS_FileInformation *fip, | ||
64 | gboolean allow_no_keywords, | ||
65 | GNUNET_FS_GTK_EditPublishDialogCallback cb, gpointer cls); | ||
47 | 66 | ||
48 | #endif | 67 | #endif |
49 | /* end of gnunet-fs-gtk-edit_publish_dialog.h */ | 68 | /* end of gnunet-fs-gtk-edit_publish_dialog.h */ |