/***************************************************************************
                          downloads_attrib.h  -  description
                             -------------------
    begin                : Wed Jul 10 2002
    copyright            : (C) 2002 by Tim-Philipp Müller
    email                : t.i.m@orange.net
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef _ed2k_gui_downloads_attrib_included_
#define _ed2k_gui_downloads_attrib_included_

#include <glib.h>
#include <time.h>

struct _GuiDownloadAttributes
{
	guint8    hash[16];
	time_t    last_downloading;
	time_t    last_complete;
	time_t    last_used;	/* this is only for the attributes list, so we know when we can remove a record for good */
	time_t    time_added;
} ;

typedef struct _GuiDownloadAttributes GuiDownloadAttributes;


GuiDownloadAttributes  *downloadsattriblist_get_record (const guint8 *hash);


#endif

