2
* $Id: uploads.h,v 1.7 2005/06/29 14:24:28 daichik Exp $
4
* Copyright (c) 2001-2003, Richard Eckart
6
*----------------------------------------------------------------------
7
* This file is part of gtk-gnutella.
9
* gtk-gnutella is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2 of the License, or
12
* (at your option) any later version.
14
* gtk-gnutella is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
19
* You should have received a copy of the GNU General Public License
20
* along with gtk-gnutella; if not, write to the Free Software
22
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
*----------------------------------------------------------------------
26
#ifndef _gtk_uploads_h_
27
#define _gtk_uploads_h_
30
#include "if/core/uploads.h"
32
typedef struct upload_row_data {
33
gnet_upload_t handle; /**< upload handle in backend */
34
gboolean valid; /**< handle still valid in backend */
36
time_t last_update; /**< last time the gui updated */
37
filesize_t range_start;
39
upload_stage_t status; /**< last known status */
45
gchar *user_agent; /**< atom */
46
gchar *name; /**< atom */
51
void uploads_gui_early_init(void);
52
void uploads_gui_init(void);
53
void uploads_gui_shutdown(void);
55
void uploads_gui_update_display(time_t now);
56
void uploads_gui_clear_completed(void);
58
#endif /* _gtk_uploads_h_ */
60
/* vi: set ts=4 sw=4 cindent: */