6f75a14a76
* claws-features.h.in * src/codeconv.h * src/imap_gtk.h * src/inc.h * src/jpilot.h * src/messageview.h * src/msgcache.h * src/news_gtk.h * src/partial_download.h * src/pop.h * src/prefs_account.h * src/prefs_common.h * src/printing.h * src/procmime.h * src/procmsg.h * src/stock_pixmap.c * src/textview.h * src/common/defs.h * src/common/log.h * src/common/session.h * src/common/smtp.h * src/common/socket.h * src/common/ssl.h * src/common/ssl_certificate.h * src/common/timing.h * src/common/utils.h * src/gtk/gtkaspell.h * src/gtk/gtkutils.h * src/gtk/pluginwindow.h * src/gtk/spell_entry.h * src/gtk/sslcertwindow.h Don't export config.h in public headers
53 lines
1.6 KiB
C
53 lines
1.6 KiB
C
/*
|
|
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
|
|
* Copyright (C) 1999-2012 Colin Leroy <colin@colino.net>
|
|
* and the Claws Mail team
|
|
*
|
|
* 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 3 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, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
#ifndef __PARTIAL_DOWNLOAD_H__
|
|
#define __PARTIAL_DOWNLOAD_H__
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "claws-features.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__ */
|