2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Claws Mail team
4 * This file (C) 2004 Colin Leroy
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef __PARTIAL_DOWNLOAD_H__
21 #define __PARTIAL_DOWNLOAD_H__
33 POP3_PARTIAL_DLOAD_UNKN
= 0,
34 POP3_PARTIAL_DLOAD_DLOAD
= 1,
35 POP3_PARTIAL_DLOAD_DELE
= 2
36 } PartialDownloadAction
;
39 POP3_TOTALLY_RECEIVED
= 0,
40 POP3_PARTIALLY_RECEIVED
= 1,
41 POP3_MUST_COMPLETE_RECV
= 2
42 } PartialDownloadStatus
;
44 gint
partial_msg_in_uidl_list (MsgInfo
*msginfo
);
45 int partial_mark_for_download(MsgInfo
*msginfo
);
46 int partial_mark_for_delete (MsgInfo
*msginfo
);
47 int partial_unmark (MsgInfo
*msginfo
);
48 gchar
*partial_get_filename (const gchar
*server
,
51 void partial_delete_old (const gchar
*file
);
53 #endif /* __PARTIAL_DOWNLOAD_H__ */