123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- /*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Claws Mail team
- * This file (C) 2004 Colin Leroy
- *
- * 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.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
- #ifndef __PARTIAL_DOWNLOAD_H__
- #define __PARTIAL_DOWNLOAD_H__
- #ifdef HAVE_CONFIG_H
- # include "config.h"
- #endif
- #include <glib.h>
- #include <time.h>
- #include "procmsg.h"
- typedef enum {
- POP3_PARTIAL_DLOAD_UNKN = 0,
- POP3_PARTIAL_DLOAD_DLOAD= 1,
- POP3_PARTIAL_DLOAD_DELE = 2
- } PartialDownloadAction;
- typedef enum {
- POP3_TOTALLY_RECEIVED = 0,
- POP3_PARTIALLY_RECEIVED = 1,
- POP3_MUST_COMPLETE_RECV = 2
- } PartialDownloadStatus;
- gint partial_msg_in_uidl_list (MsgInfo *msginfo);
- int partial_mark_for_download(MsgInfo *msginfo);
- int partial_mark_for_delete (MsgInfo *msginfo);
- int partial_unmark (MsgInfo *msginfo);
- gchar *partial_get_filename (const gchar *server,
- const gchar *login,
- const gchar *muidl);
- void partial_delete_old (const gchar *file);
- #endif /* __PARTIAL_DOWNLOAD_H__ */
|