aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.h
blob: 875579ad67865ca515e9530363b787872b656a72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* mail-folder-cache.h: Stores information about open folders */

/* 
 * Authors: Peter Williams <peterw@ximian.com>
 *      Michael Zucchi <notzed@ximian.com>
 *
 * Copyright 2000,2001 Ximian, Inc. (www.ximian.com)
 *
 * This program is free software; you can redistribute it and/or 
 * modify it under the terms of version 2 of the GNU General Public 
 * License as published by the Free Software Foundation.
 *
 * 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-1307
 * USA
 */

#ifndef _MAIL_FOLDER_CACHE_H
#define _MAIL_FOLDER_CACHE_H

#include <camel/camel-store.h>

/* Add a store whose folders should appear in the shell
   The folders are scanned from the store, and/or added at
   runtime via the folder_created event */
void
mail_note_store (CamelStore *store, CamelOperation *op,
         void (*done) (CamelStore *store, CamelFolderInfo *info, void *data),
         void *data);

/* de-note a store */
void mail_note_store_remove (CamelStore *store);

/* When a folder has been opened, notify it for watching.
   The folder must have already been created on the store (which has already been noted)
   before the folder can be opened
 */
void mail_note_folder (CamelFolder *folder);

/* Returns true if a folder is available (yet), and also sets *folderp (if supplied)
   to a (referenced) copy of the folder if it has already been opened */
int mail_note_get_folder_from_uri (const char *uri, CamelFolder **folderp);

#endif
an class='insertions'>+2 * CATEGORIES is defined in bsd.squirrelmail.mk which is always loaded after .mk...bapt2013-06-271-7/+3 * - remove MD5ohauer2011-07-031-1/+0 * - Update to 2.0.16tabthorpe2010-03-093-4/+8 * - Update to 2.0.15tabthorpe2009-11-243-8/+17 * - Use USE_PERL5_RUN instead of USE_PERL5_BUILDtabthorpe2009-11-111-0/+2 * - Update to 2.0.14tabthorpe2009-01-073-4/+8 * - Update to 2.0.13tabthorpe2008-08-122-4/+4 * - Update to 2.0.12tabthorpe2008-07-163-131/+80 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Tarball re-roll, author made documentation changestabthorpe2008-04-222-3/+4 * - Update to 2.0.11tabthorpe2008-03-152-4/+4 * - Update to 2.0.10tabthorpe2008-02-193-52/+57 * - Apply current version patchtabthorpe2007-12-191-2/+3 * - Update to 2.0.9tabthorpe2007-10-233-5/+6 * - change maintainer address on ports I maintaintabthorpe2007-08-231-1/+1 * - Update to 2.0.8sat2007-07-204-30/+36 * - Mark conflict with 1.x versionrafan2007-02-131-1/+6 * - Update to 2.0.6miwi2007-01-253-34/+50 * - Don't activate plugin on unconfigured squirrelmail; prevent config.php.pav2006-03-212-2/+4 * Fix typo in pkg-descrgarga2006-03-191-1/+1 * - Update to 2.0.4pav2005-11-213-7/+15 * Fix permissions [1]mnag2005-11-093-38/+42 * This plugin for the SquirrelMail WebMailer is the first of several ports I havepav2005-07-23