aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/upload.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/upload.h')
-rw-r--r--src/plugins/fs/upload.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/plugins/fs/upload.h b/src/plugins/fs/upload.h
deleted file mode 100644
index 888dd807..00000000
--- a/src/plugins/fs/upload.h
+++ /dev/null
@@ -1,54 +0,0 @@
1/*
2 This file is part of GNUnet.
3 (C) 2005 Christian Grothoff (and other contributing authors)
4
5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published
7 by the Free Software Foundation; either version 2, or (at your
8 option) any later version.
9
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with GNUnet; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19*/
20
21/**
22 * @file src/plugins/fs/upload.h
23 * @brief code for uploading with gnunet-gtk
24 * @author Christian Grothoff
25 */
26
27#ifndef GTK_UPLOAD_H
28#define GTK_UPLOAD_H
29
30#include "fs.h"
31
32void fs_upload_update (UploadList * list, unsigned long long completed,
33 unsigned long long total);
34
35void fs_upload_complete (UploadList * list, struct GNUNET_ECRS_URI *uri);
36
37void fs_upload_error (UploadList * list, const char *emsg);
38
39void fs_upload_aborted (UploadList * list);
40
41void fs_upload_stopped (UploadList * list);
42
43/**
44 * @param uri NULL if upload is not yet finished
45 */
46UploadList *fs_upload_started (struct GNUNET_FSUI_UploadList *fsui,
47 UploadList * parent,
48 const char *filename,
49 const struct GNUNET_ECRS_URI *uri,
50 unsigned long long total,
51 unsigned long long completed,
52 GNUNET_FSUI_State state);
53
54#endif