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 | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/src/fs/gnunet-fs-gtk-edit_publish_dialog.h b/src/fs/gnunet-fs-gtk-edit_publish_dialog.h index 4d24cd64..d1ef015e 100644 --- a/src/fs/gnunet-fs-gtk-edit_publish_dialog.h +++ b/src/fs/gnunet-fs-gtk-edit_publish_dialog.h | |||
@@ -41,28 +41,26 @@ | |||
41 | * @param root namespace root, NULL for file publishing | 41 | * @param root namespace root, NULL for file publishing |
42 | * @param ret GTK_RESPONSE_OK if the dialog was closed with "OK" | 42 | * @param ret GTK_RESPONSE_OK if the dialog was closed with "OK" |
43 | */ | 43 | */ |
44 | typedef void | 44 | typedef void (*GNUNET_FS_GTK_EditPublishDialogCallback) (gpointer cls, |
45 | (*GNUNET_FS_GTK_EditPublishDialogCallback) (gpointer cls, int do_index, | 45 | int do_index, |
46 | const char *short_fn, | 46 | const char *short_fn, |
47 | guint anonymity_level, | 47 | guint anonymity_level, |
48 | guint priority, | 48 | guint priority, |
49 | const char *root, | 49 | const char *root, |
50 | int ret); | 50 | int ret); |
51 | 51 | ||
52 | 52 | ||
53 | /** | 53 | /** |
54 | * Open the dialog to edit file information data. | 54 | * Open the dialog to edit file information data. |
55 | */ | 55 | */ |
56 | void | 56 | void |
57 | GNUNET_FS_GTK_edit_publish_dialog (GtkBuilder *builder, | 57 | GNUNET_FS_GTK_edit_publish_dialog (GtkBuilder * builder, GtkWindow * parent, |
58 | GtkWindow *parent, | 58 | int do_index, const char *short_fn, |
59 | int do_index, | 59 | uint32_t anonymity_level, uint32_t priority, |
60 | const char *short_fn, | 60 | struct GNUNET_FS_FileInformation *fip, |
61 | uint32_t anonymity_level, | 61 | gboolean allow_no_keywords, |
62 | uint32_t priority, | 62 | GNUNET_FS_GTK_EditPublishDialogCallback cb, |
63 | struct GNUNET_FS_FileInformation *fip, | 63 | gpointer cls); |
64 | gboolean allow_no_keywords, | ||
65 | GNUNET_FS_GTK_EditPublishDialogCallback cb, gpointer cls); | ||
66 | 64 | ||
67 | #endif | 65 | #endif |
68 | /* end of gnunet-fs-gtk-edit_publish_dialog.h */ | 66 | /* end of gnunet-fs-gtk-edit_publish_dialog.h */ |