aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_event-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_event-handler.c')
-rw-r--r--src/fs/gnunet-fs-gtk_event-handler.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c
index de01865e..06a9a42d 100644
--- a/src/fs/gnunet-fs-gtk_event-handler.c
+++ b/src/fs/gnunet-fs-gtk_event-handler.c
@@ -1106,7 +1106,9 @@ populate_popup_with_sks_items (void *cls,
1106 * 1106 *
1107 * @param tm tree model underlying the tree view where the event happened 1107 * @param tm tree model underlying the tree view where the event happened
1108 * @param tab tab where the event happened 1108 * @param tab tab where the event happened
1109 * @param event_button the event 1109 * @param init_button which button triggered the popup, or 0 for none
1110 * @param event_time at what time was the popup triggered
1111 * @param iter location in the tree model selected at the time
1110 * @return FALSE if no menu could be popped up, 1112 * @return FALSE if no menu could be popped up,
1111 * TRUE if there is now a pop-up menu 1113 * TRUE if there is now a pop-up menu
1112 */ 1114 */
@@ -2750,7 +2752,7 @@ struct AddDirectoryEntryContext
2750 2752
2751 /** 2753 /**
2752 * Do we need to check if the given entry already exists to 2754 * Do we need to check if the given entry already exists to
2753 * avoid adding it twice? Set to YES if 'add_directory_entry' 2755 * avoid adding it twice? Set to #GNUNET_YES if #add_directory_entry
2754 * is called upon directory completion (so we might see all 2756 * is called upon directory completion (so we might see all
2755 * entries again) and to NO if this is the initial download 2757 * entries again) and to NO if this is the initial download
2756 * and we're calling during a 'PROGRESS' event. 2758 * and we're calling during a 'PROGRESS' event.
@@ -2774,14 +2776,14 @@ struct AddDirectoryEntryContext
2774 * @param cls closure, our 'struct AddDirectoryEntryContext*' 2776 * @param cls closure, our 'struct AddDirectoryEntryContext*'
2775 * @param filename name of the file in the directory 2777 * @param filename name of the file in the directory
2776 * @param uri URI of the file, NULL for the directory itself 2778 * @param uri URI of the file, NULL for the directory itself
2777 * @param metadata metadata for the file; metadata for 2779 * @param meta metadata for the file; metadata for
2778 * the directory if everything else is NULL/zero 2780 * the directory if everything else is NULL/zero
2779 * @param length length of the available data for the file 2781 * @param length length of the available data for the file
2780 * (of type size_t since data must certainly fit 2782 * (of type size_t since data must certainly fit
2781 * into memory; if files are larger than size_t 2783 * into memory; if files are larger than size_t
2782 * permits, then they will certainly not be 2784 * permits, then they will certainly not be
2783 * embedded with the directory itself). 2785 * embedded with the directory itself).
2784 * @param data data available for the file (length bytes) 2786 * @param data data available for the file (@a length bytes)
2785 */ 2787 */
2786static void 2788static void
2787add_directory_entry (void *cls, const char *filename, 2789add_directory_entry (void *cls, const char *filename,
@@ -2847,7 +2849,7 @@ add_directory_entry (void *cls, const char *filename,
2847 * @param completed number of bytes we have completed 2849 * @param completed number of bytes we have completed
2848 * @param block_data current block we've downloaded 2850 * @param block_data current block we've downloaded
2849 * @param offset offset of block_data in the overall file 2851 * @param offset offset of block_data in the overall file
2850 * @param block_size number of bytes in block_data 2852 * @param block_size number of bytes in @a block_data
2851 * @param depth depth of the block in the ECRS tree 2853 * @param depth depth of the block in the ECRS tree
2852 */ 2854 */
2853static void 2855static void
@@ -3583,7 +3585,9 @@ copy_publish_uri_to_clipboard_ctx_menu (GtkMenuItem *item, gpointer user_data)
3583 * 3585 *
3584 * @param tm tree model underlying the tree view where the event happened 3586 * @param tm tree model underlying the tree view where the event happened
3585 * @param tab tab where the event happened 3587 * @param tab tab where the event happened
3586 * @param event_button the event 3588 * @param init_button number of the button that triggered the popup
3589 * @param event_time GTK time when the event was generated
3590 * @param iter selected element in @a tm for the popup
3587 * @return FALSE if no menu could be popped up, 3591 * @return FALSE if no menu could be popped up,
3588 * TRUE if there is now a pop-up menu 3592 * TRUE if there is now a pop-up menu
3589 */ 3593 */