[dovecot-cvs] 
	dovecot/src/imap imap-expunge.c,NONE,1.1 imap-expunge.h,NONE,1.1
    cras at procontrol.fi 
    cras at procontrol.fi
       
    Sat Jul 26 22:24:02 EEST 2003
    
        - Previous message: [dovecot-cvs] dovecot/src/lib-storage proxy-mail-storage.c,NONE,1.1
	proxy-mail-storage.h,NONE,1.1 proxy-mail.c,NONE,1.1
	proxy-mail.h,NONE,1.1 proxy-mailbox.c,NONE,1.1
	proxy-mailbox.h,NONE,1.1 Makefile.am,1.7,1.8
- Next message: [dovecot-cvs] 
	dovecot/src/lib-storage/index index-expunge.h,NONE,1.1
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
  
Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv31178/imap
Added Files:
	imap-expunge.c imap-expunge.h 
Log Message:
forgot to add
--- NEW FILE: imap-expunge.c ---
/* Copyright (C) 2003 Timo Sirainen */
#include "common.h"
#include "mail-storage.h"
#include "imap-expunge.h"
int imap_expunge(struct mailbox *box, int notify)
{
	struct mail_expunge_context *ctx;
	struct mail *mail;
	int failed = FALSE;
	ctx = box->expunge_init(box, 0, FALSE);
	if (ctx == NULL)
		return FALSE;
	while ((mail = box->expunge_fetch_next(ctx)) != NULL) {
		if (!mail->expunge(mail, ctx, NULL, notify)) {
			failed = TRUE;
			break;
		}
	}
	if (!box->expunge_deinit(ctx))
		return FALSE;
	return !failed;
}
--- NEW FILE: imap-expunge.h ---
#ifndef __IMAP_EXPUNGE_H
#define __IMAP_EXPUNGE_H
int imap_expunge(struct mailbox *box, int notify);
#endif
    
    
        
	- Previous message: [dovecot-cvs] dovecot/src/lib-storage proxy-mail-storage.c,NONE,1.1
	proxy-mail-storage.h,NONE,1.1 proxy-mail.c,NONE,1.1
	proxy-mail.h,NONE,1.1 proxy-mailbox.c,NONE,1.1
	proxy-mailbox.h,NONE,1.1 Makefile.am,1.7,1.8
- Next message: [dovecot-cvs] 
	dovecot/src/lib-storage/index index-expunge.h,NONE,1.1
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
More information about the dovecot-cvs
mailing list