aboutsummaryrefslogtreecommitdiff
path: root/src/ui/delete_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/delete_messages.h')
-rw-r--r--src/ui/delete_messages.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/ui/delete_messages.h b/src/ui/delete_messages.h
index 4f5474c..23ce055 100644
--- a/src/ui/delete_messages.h
+++ b/src/ui/delete_messages.h
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2022 GNUnet e.V. 3 Copyright (C) 2022--2024 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
@@ -28,9 +28,11 @@
28#include "messenger.h" 28#include "messenger.h"
29 29
30typedef void 30typedef void
31(*UI_DELETE_MESSAGES_Callback) (MESSENGER_Application *app, 31(*UI_DELETE_MESSAGES_Callback) (
32 GList *selected, 32 MESSENGER_Application *app,
33 gulong delay); 33 GList *selected,
34 gulong delay
35);
34 36
35typedef struct UI_DELETE_MESSAGES_Handle 37typedef struct UI_DELETE_MESSAGES_Handle
36{ 38{
@@ -59,7 +61,7 @@ typedef struct UI_DELETE_MESSAGES_Handle
59 */ 61 */
60void 62void
61ui_delete_messages_dialog_init(MESSENGER_Application *app, 63ui_delete_messages_dialog_init(MESSENGER_Application *app,
62 UI_DELETE_MESSAGES_Handle *handle); 64 UI_DELETE_MESSAGES_Handle *handle);
63 65
64/** 66/**
65 * Links a custom list and a callback to a 67 * Links a custom list and a callback to a
@@ -72,8 +74,8 @@ ui_delete_messages_dialog_init(MESSENGER_Application *app,
72 */ 74 */
73void 75void
74ui_delete_messages_dialog_link(UI_DELETE_MESSAGES_Handle *handle, 76ui_delete_messages_dialog_link(UI_DELETE_MESSAGES_Handle *handle,
75 UI_DELETE_MESSAGES_Callback callback, 77 UI_DELETE_MESSAGES_Callback callback,
76 GList *selected); 78 GList *selected);
77 79
78/** 80/**
79 * Cleans up the allocated resources and resets the 81 * Cleans up the allocated resources and resets the