aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-uid-cache.h
blob: 92226a3afd5f1ae7f8ff2f0ec7bd72c247f85009 (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
52
53
54
55
56
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* camel-uid-cache.h: UID caching code. */

/* 
 * Authors:
 *  Bertrand Guiheneuf <bertrand@helixcode.com>
 *
 * Copyright 2000 Helix Code, Inc. (http://www.helixcode.com)
 *
 * 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-1307
 * USA
 */

#ifndef CAMEL_UID_CACHE_H
#define CAMEL_UID_CACHE_H 1

#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus */

#include <glib.h>
#include <stdio.h>

typedef struct {
    int fd, level;
    GHashTable *uids;
} CamelUIDCache;

CamelUIDCache *camel_uid_cache_new (const char *filename);
gboolean camel_uid_cache_save (CamelUIDCache *cache);
void camel_uid_cache_destroy (CamelUIDCache *cache);

GPtrArray *camel_uid_cache_get_new_uids (CamelUIDCache *cache,
                     GPtrArray *uids);
void camel_uid_cache_free_uids (GPtrArray *uids);


#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif /* CAMEL_UID_CACHE_H */
commit/x11-fonts?h=gnome-3.24&id=1659fc8fd5a5183bcd5b49347a8ee650382a3f4c'>Update to 2.16ahze2007-06-262-5/+4 * Update to release 3, to make fetchable again.thierry2007-06-022-5/+5 * Clenup share/X11 directory upon deinstall.lesi2007-05-311-0/+1 * move from X11BASE to LOCALBASEoliver2007-05-271-2/+2 * Fix the build of x11-fonts/xmbdfed with gcc42.keramida2007-05-271-0/+10 * LIBERATION font software consists of TrueType-OpenType formatted font softwarethierry2007-05-266-0/+94 * . change the prefix (/usr/X11 -> %{LOCALBASE}) at the configuration file; [1]bsam2007-05-236-18/+27 * Clean up pkg-message a bit:marck2007-05-232-11/+3 * Remove; moved to x11-fonts/encodingspav2007-05-205-113/+0 * - Welcome X.org 7.2 \o/.flz2007-05-20314-2445/+3860 * - Update to 2.5sat2007-04-152-4/+4 * Sync fontconfig with the fd.o git repository to fix a bug rendering DejaVumarcus2007-04-142-1/+81 * - update to 0.41leeym2007-04-062-4/+4 * - Update to 2.4sat2007-04-042-4/+10 * - Correct pkg-plist for newer fontconfigrafan2007-04-022-1/+1 * - Change my email.stas2007-03-281-1/+1 * Portlint:mezz2007-03-271-1/+1 * Include bsd.port.pre.mk before checking OPTIONS. Thanks my mentor fordryice2007-03-261-3/+5 * - fix plistdryice2007-03-262-2/+22 * Do not install config file as these fonts will automatically be loadedmarcus2007-03-252-8/+2 * - Fix plistpav2007-03-221-0/+1 * - Revert my previous commit; it was totally boguspav2007-03-221-1/+0 * - Fix plist for reference portpav2007-03-211-0/+1 * Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOMEmarcus2007-03-1916-62/+1610 * Adding port x11-fonts/p5-Font-TTFMetrics, a Perl module for parsing TTF files.aaron2007-03-195-0/+50 * - Take maintainershipmiwi2007-03-121-1/+1 * - fc-match: Add 's' to getopt pattern, so -s is recognizedpav2007-03-102-1/+12 * update to 0.8.0dryice2007-03-072-6/+6 * Update to 2.15ahze2007-02-262-4/+4 * - Update to 2.3sat2007-02-163-14/+4 * - Update to 2.2sat2007-02-092-4/+4 * - remove unavailable WWW from pkg-descdryice2007-02-042-2/+1 * - Remove support for xfree86-3pav2007-02-035-39/+9 * Use libtool port instead of included version to avoid objformat a.out botchkris2007-02-012-0/+2 * Use libtool port instead of included version to avoid a.out objformat botchkris2007-01-301-0/+1 * Update to 2.14ahze2007-01-282-5/+5 * This is a port of te_IN fonts. Fonts like Pothana2000 and Vemana fontsmiwi2007-01-256-0/+62 * Add port x11-fonts/fntsample:sat2007-01-225-0/+56 * Update to 2.13ahze2006-12-302-4/+4 * Update to 0.6.12ehaupt2006-12-202-5/+5 * - Respect X11BASErafan2006-12-071-4/+4 * - Update to 2.12ahze2006-11-203-11/+6 * Change my email address to farrokhi@ in all ports that I maintain.farrokhi2006-11-081-1/+1 * - Update to 2.11ahze2006-11-022-4/+4 * - Pass maintainership to submittermiwi2006-11-013-4/+4 * Disable the CJK patchset as it is no longer needed after the recentmarcus2006-11-012-9/+6 * Disable the cjk patch, same with freetype2, it doesn't build.mezz2006-10-171-5/+5 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-142-5/+5 * Presenting GNOME 2.16.1 for FreeBSD. This release represents a massivemarcus2006-10-142-6/+10 * Chase the new site.thierry2006-09-253-10/+9 * The author's page disapeared: host the distfile untill it will come back.thierry2006-09-031-2/+3 * NO_CDROM and NO_PACKAGE are not appropriate; use RESTRICTED insteadkris2006-09-031-2/+1 * NO_PACKAGE is not appropriate; use RESTRICTED instead. Mark BROKEN sincekris2006-09-031-1/+2 * - Use ../etc/fonts/conf.d mechanism for font configpav2006-08-296-36/+32 * Add junicode, a unicode font for medievalists (Latin, IPA and Runic).ehaupt2006-08-285-0/+63 * Commit my own version of DESTDIR-introduction recovery and modify themi2006-08-252-3/+6 * - Unbreakmiwi2006-08-211-5/+3 * - Update to 2.9ahze2006-08-212-4/+4 * - Update maintainer addressesmiwi2006-08-201-1/+1 * BROKEN: Does not buildkris2006-08-181-0/+2 * Fix after DESTDIR support was added.erwin2006-08-091-4/+3 * - Upgrade to 1.16;thierry2006-08-044-75/+16 * Update to 0.40erwin2006-08-013-60/+63 * - Update to 3.0.9itetcu2006-07-1910-33/+285 * - Unbreakmiwi2006-07-192-3/+5 * Note to self: first coffee, then commit.erwin2006-07-181-0/+0 * Readd the empty fonts.alias.cyberbit which is here in preparation forerwin2006-07-181-0/+0 * Remove fonts.alias stuffs.maho2006-07-184-9/+1 * - Update to 2.8ahze2006-07-172-4/+4 * Mark as broken: fails to deinstall cleanly.linimon2006-07-171-0/+2 * Remove zero-sized files.erwin2006-07-111-0/+0 * 1. Upgrade linux infrostructure ports from FC3 to FC4.bsam2006-07-109-45/+48 * - Update to 4.20garga2006-07-074-353/+359 * Add manu-gothic, an old german blackletter handwriting (suetterlin) font.miwi2006-06-295-0/+55 * - Update to 2.7ahze2006-06-202-4/+4 * - Update PORTVERSION to correct 0.38.1aaron2006-06-191-2/+2 * Use the correct mtree when you change the prefix, for example:mezz2006-06-122-0/+12 * Update MASTER_SITESmiwi2006-06-081-1/+2 * Remove MAN3PREFIX and assign over to perl.erwin2006-06-061-2/+1 * Remove expired leaf ports:vd2006-06-057-1301/+0 * Correct it, don't use USE_X_PREFIX that cause the circle dependency loop.mezz2006-06-011-1/+1 * - Add header in these *-reference ports.mezz2006-06-012-5/+11 * Add BUILD_DEPENDS to make pinityhat happy.delphij2006-05-311-0/+3 * Update to 0.7.0 (the version goes backward since the old versiondelphij2006-05-294-26/+40 * devel/pkgconfig -> devel/pkg-configmezz2006-05-281-1/+1 * Replace mastersite diedache2006-05-212-5/+5 * Chase DISTFILES and make fetchable again.thierry2006-05-212-6/+6 * - Update to 2.6ahze2006-05-192-4/+4 * - Add pkg-descrahze2006-05-181-0/+3 * portlint:mezz2006-05-161-4/+4 * Don't run fc-cache, we're using the fonts of the X server and the nativenetchild2006-05-136-36/+12 * Remove USE_REINPLACE from categories starting with Xedwin2006-05-135-5/+0 * Move the fontconfig programming reference to the fontconfig-reference port.jylefort2006-05-124-277/+162 * - Remove CVS tags and blank lines from distinfo file in unmaintained portssem2006-05-081-1/+0 * Mark as deprecated (+expiry), it is not needed.netchild2006-05-021-0/+3 * - Make sure that /usr/X11R6/lib/X11/fonts is only listed once in fonts.conf.jylefort2006-05-021-4/+5 * - convert to use bsd.linux-rpm.mk (get rid of include of linux-gtk/Makefile) [1]netchild2006-05-0217-124/+1324 * - update to 1.19leeym2006-04-282-5/+5 * Assume maintainership from ports@.olgeni2006-04-201-1/+1 * - Update to 2.5ahze2006-04-172-4/+4 * Reset petef due to no response to email. We hope to see him back sometime.linimon2006-04-151-1/+1 * - Update to 2.4.1ahze2006-04-102-4/+4 * - Upgrade to 20060126;thierry2006-03-285-17/+29 * Fix the build when docbook-utils is installed.marcus2006-03-271-0/+1 * Fix file permissions.olgeni2006-03-271-0/+3 * An x11 font designed to be small yet easily read.pav2006-03-276-0/+65 * Fix MASTER_SITES.olgeni2006-03-271-1/+1 * Assume maintainership from ports@.olgeni2006-03-271-1/+1 * Use NO_BUILD.olgeni2006-03-271-0/+1 * Add fc-cache handling.olgeni2006-03-272-0/+6 * - Update to 2.4ahze2006-03-203-5/+6 * - Fix MASTER_SITESgarga2006-03-161-1/+1 * Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.ade2006-03-071-1/+1 * Post libtool-conversion fixupsade2006-02-261-1/+1 * Conversion to a single libtool environment.ade2006-02-236-22/+12 * Update to 0.11, where buffer overrun is fixed.yoichi2006-02-234-9/+9 * - Add more MASTER_SITESgarga2006-02-232-14/+17 * - Update to 2.3-1ahze2006-02-212-5/+6 * Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.dougb2006-02-211-2/+1 * Update to 0.38.1erwin2006-02-192-4/+5 * Update firefly patch sites.marcus2006-02-151-1/+3 * Reset maintainership to ports@ after ~4 months without any response to anynetchild2006-02-121-1/+1 * FarsiWeb.ir has released the first standard set of Unicode Persian fonts everpav2006-02-085-0/+57 * Since fontconfig by default generates font cache files in directories wherelesi2006-02-072-0/+7 * Take care of font cache files on installation and uninstallation of port:lesi2006-02-0710-0/+53 * Don't install empty fonts.dir in fonts/local.lesi2006-02-072-2/+1 * Since fontconfig by default generates font cache files in directories wherelesi2006-02-062-0/+7 * Take care of font cache files on installation and uninstallation of port:lesi2006-02-0612-2/+46 * Remove USE_REINPLACE to pacify portlint.marcus2006-02-031-1/+0 * Since we look in X11BASE for fonts, make sure we explicitly clean upmarcus2006-02-032-2/+4 * Chase shlib bump of libexpat.kuriyama2006-01-311-1/+2 * SHA256ify (manually checked)edwin2006-01-242-4/+6 * SHA256ifyedwin2006-01-2431-0/+32 * - Update to 2.2ahze2006-01-232-4/+4 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-2218-27/+27 * Fixups after removal of separate mtree file for X_WINDOW_SYSTEM=XOrg case.lesi2006-01-222-7/+1 * Upgrade to X.Org 6.9.0 release.lesi2006-01-2217-65/+66 * [maintainer] change maintainer mail addressedwin2006-01-111-1/+1 * - Switch distfiles to zippav2006-01-082-28/+31 * Hash with SHA-256.trevor2006-01-081-0/+1 * Make rc script require ldconfig so font server starts properly on systemslesi2006-01-062-2/+3 * i[NEW PORT] x11-fonts/freefont-ttf: GPL'd UCS fonts in serif, sans, and monoedwin2005-12-218-0/+537 * - Update to 2.1ahze2005-12-194-41/+97 * - Add WITH_CJK patchespav2005-12-184-6/+18 * Drop maintainership for ports which I sadly no longer havebms2005-12-131-1/+1 * This is a collection of greek TTF fonts licensed under GPL.pav2005-12-116-0/+102 * [maintainer] x11-fonts/gentium -- upgrade to 1.0.2edwin2005-12-0512-174/+136 * Update to 0.37erwin2005-12-022-4/+4 * Remove dead mastersites per distfile survey.linimon2005-11-301-4/+0 * Add SHA256maho2005-11-281-0/+8 * Remove dead mastersites.linimon2005-11-271-1/+1 * e-mail from fenner@maho2005-11-271-3/+1 * - Add SHA256pav2005-11-271-0/+1 * - Add SHA256pav2005-11-261-1/+1 * - Add SHA256pav2005-11-2612-0/+13 * New port: x11-fonts/proggy_fonts a monospaced programming fontedwin2005-11-245-0/+87 * - Add SHA256 checksumspav2005-11-242-0/+2 * - Fix plist (a directory is now owned by a dependency). [1]netchild2005-11-201-4/+3 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-152-2/+2 * - fix the package (tried to use a nonexistent plist) [1]netchild2005-11-156-9/+18 * - Update to 2.0ahze2005-11-142-4/+4 * HAVE_MSWINDOWS_LICENSE -> WITH_MSWINDOWS_LICENSE for now.mezz2005-11-131-3/+3 * Add Tahoma TTF fonts, it's off by default with HAVE_MSWINDOWS_LICENSE knob tomezz2005-11-137-24/+132 * If port belongs to X11 distribution different than ${X_WINDOW_SYSTEM} one,lesi2005-11-1228-14/+59 * Fix package (missing empty directory) by introducing a static plist.netchild2005-11-126-24/+60 * - Remove CJK patch; it does not compile anymorepav2005-11-102-9/+1 * - Add SHA256ahze2005-11-091-0/+1 * Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-051-1/+1 * Presenting GNOME 2.12 for FreeBSD. The release is chock full of bug fixesmarcus2005-11-056-153/+180 * Don't depend on acroread-5, because it is forbidden.thierry2005-11-023-15/+3 * Fix a ftp link in the MASTER_SITES:mezz2005-10-211-1/+1 * Update and improvement on the fonts.dir, bump the PORTREVISION.mezz2005-10-182-626/+840 * - Update to 1.15ahze2005-10-172-3/+3 * Update to 2.2.3.netchild2005-10-096-18/+18 * Fix a dependency bug that crept in with rev. 1.7, even when using themarius2005-09-293-9/+6 * search.cpan.org redirect reduction canonicalization project, pass 1:fenner2005-09-221-1/+1 * - Update to 1.14ahze2005-09-212-3/+3 * - Fix build with GNOME 2.12 [1]jylefort2005-09-141-17/+16 * reset maintainer to ports@FreeBSD.org since original maintainer doesn'toliver2005-09-071-1/+1 * Really use libneXtawvs2005-08-301-1/+3 * Move setup instructions to PKGMESSAGE.olgeni2005-08-293-10/+11 * - Update to 1.13ahze2005-08-282-3/+4 * - Remove ttmkfdir dependency and do not use it, using static method bymezz2005-08-283-122/+667 * - Update CJK patch to fix bug which caused Firefox to crash on startuppav2005-07-162-5/+6 * - Readd WITH_CJK knob with an updated patchpav2005-07-152-0/+8 * - Remove WITH_CJK knob and patch, it was merged into 2.1.7pav2005-07-142-8/+0 * - Restore distinfo for WITH_CJK knobpav2005-07-141-0/+2 * Update to 2.1.7.marcus2005-07-144-71/+5 * Change the software's Makefile to run `mkfontdir' in the destinationmi2005-07-122-1/+18 * Update to 0.35erwin2005-07-063-65/+57 * - Update to 1.11ahze2005-06-222-3/+3 * Mega-patch to cleanup the ports infrastructure regarding our linux bits:netchild2005-06-185-8/+10 * Fix up plist after modifications to mtree (BSD.x11-4.dist rev. 1.27).lesi2005-06-158-24/+13 * Upgrade to XFree86 4.5.0.lesi2005-06-1518-33/+46 * - Update to 1.10ahze2005-05-232-3/+3 * Add mgopen.jylefort2005-05-206-0/+98 * - MASTER_SITE is dead, mirror distfilepav2005-05-201-1/+3 * Add wqy.jylefort2005-05-144-0/+64 * - Change maintainer's mail address.vanilla2005-05-033-5/+5 * Add tolkien-ttf, a collection of the best JRR Tolkien TrueType fontslawrance2005-04-226-0/+92 * - Update to 1.9ahze2005-04-192-3/+3 * Change my MAINTAINER email address to jylefort@FreeBSD.orgjylefort2005-04-132-2/+2 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1 * Update from 1.14 to 1.15 -- the older distfile is no longer available.mi2005-04-112-3/+3 * - Update to 3.0.1pav2005-04-103-7/+13 * Remove XAWVER from neXtaw LIB_DEPENDS re. neXtaw will be depended upon justlesi2005-04-101-1/+1 * fix packaging on 4oliver2005-04-081-1/+1 * Update x11-fonts/mkbold-mkitalic to 0.09.danfe2005-04-063-5/+4 * Fix a crash that can occur when using TrueType fonts. This should havemarcus2005-03-282-0/+13 * Generate proper package listing when using new mtree from xorg-server port.lesi2005-03-192-1/+10 * Upgrade X.Org ports to 6.8.2.lesi2005-03-1830-150/+62 * Reset maintainer to ports@FreeBSD.orgskv2005-03-182-3/+1 * Update to the latest Firefly patchset. This patchset makes CJK TrueType fontsmarcus2005-03-163-13/+7 * - Update to 1.8ahze2005-03-143-12/+10 * Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-0/+1 * Add mathfonts 4.1, mathematica fonts for MathML-enabled Mozilla.thierry2005-03-076-0/+120 * Add texcm-ttf 20010117, teX's Computer Modern Fonts.thierry2005-03-076-0/+87 * Remove hardcoding of MTREE_FILE. This is handled in bsd.port.mk sincelesi2005-03-061-1/+0 * Add another MASTER_SITE. It's ridiculously slow (I neveradamw2005-03-061-1/+2 * Remove the now-redundant MTREE file selection code. This is handled inmarcus2005-03-042-12/+0 * Re-add the distinfo entries for the CJK patch.marcus2005-02-251-0/+2 * Update to 0.07.hrs2005-02-242-4/+4 * Update to 4.11.nork2005-02-205-56/+671 * Use x11-fonts/mkbold-mkitalic rather than x11-fonts/mkbold|mkitalic. Sonork2005-02-201-2/+2 * Use an alternate (working) MASTER_SITE which only has bzip2 distfiles.marcus2005-02-192-5/+4 * Use the correct plist.marcus2005-02-161-1/+9 * - Avoid dependency on X libraries [1]pav2005-02-152-4/+5 * - Play hide'n'seek with fd.o peoplepav2005-02-151-1/+1 * Fix MASTER_SITES.lesi2005-02-151-1/+1 * - Update to 1.7ahze2005-02-144-4/+100 * o Add CONFLITS.nork2005-02-123-2/+12 * Add cyberbit-ttfonts.maho2005-02-10