X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fimap_private.h;h=b2494cce2d09f66339e28edbd0a76482b3269186;hp=ed6832fbe6bd764924b2a2eef514c6973304afb1;hb=e76bc1577e47e0c9df150bc174d6fd8c76744308;hpb=df70e07e24add1869bcc9b7af2277d9d0c09a281 diff --git a/imap/imap_private.h b/imap/imap_private.h index ed6832f..b2494cc 100644 --- a/imap/imap_private.h +++ b/imap/imap_private.h @@ -1,20 +1,11 @@ /* + * Copyright notice from original mutt: * Copyright (C) 1996-9 Brandon Long * Copyright (C) 1999-2001 Brendan Cully - * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * + * This file is part of mutt-ng, see http://www.muttng.org/. + * It's licensed under the GNU General Public License, + * please see the file GPL in the top level source directory. */ #ifndef _IMAP_PRIVATE_H @@ -173,7 +164,7 @@ typedef struct { IMAP_CACHE cache[IMAP_CACHE_LEN]; int noclose:1; #ifdef USE_HCACHE - uint64_t uid_validity; + unsigned long uid_validity; #endif /* all folder flags - system flags AND keywords */ @@ -200,6 +191,7 @@ int imap_read_literal (FILE * fp, IMAP_DATA * idata, long bytes); void imap_expunge_mailbox (IMAP_DATA * idata); int imap_reconnect (CONTEXT * ctx); void imap_logout (IMAP_DATA * idata); +int imap_sync_message (IMAP_DATA*, HEADER*, BUFFER*, int*); /* auth.c */ int imap_authenticate (IMAP_DATA * idata);