aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-address.h
blob: a2d6fe34dddbf9b5b1cdcb514cd3bf392d5a8ae1 (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
57
/*
 *  Copyright (C) 2000 Helix Code Inc.
 *
 *  Authors: Michael Zucchi <notzed@helixcode.com>
 *
 *  This program is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Library 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 Library General Public License for more details.
 *
 *  You should have received a copy of the GNU Library General Public
 *  License along with this program; if not, write to the Free Software
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#ifndef _CAMEL_ADDRESS_H
#define _CAMEL_ADDRESS_H

#include <camel/camel-object.h>

#define CAMEL_ADDRESS(obj)         CAMEL_CHECK_CAST (obj, camel_address_get_type (), CamelAddress)
#define CAMEL_ADDRESS_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_address_get_type (), CamelAddressClass)
#define IS_CAMEL_ADDRESS(obj)      CAMEL_CHECK_TYPE (obj, camel_address_get_type ())

typedef struct _CamelAddressClass CamelAddressClass;

struct _CamelAddress {
    CamelObject parent;

    GPtrArray *addresses;

    struct _CamelAddressPrivate *priv;
};

struct _CamelAddressClass {
    CamelObjectClass parent_class;

    int   (*decode)     (CamelAddress *, const char *raw);
    char *(*encode)     (CamelAddress *);

    void  (*remove)     (CamelAddress *, int index);
};

guint       camel_address_get_type  (void);
CamelAddress   *camel_address_new   (void);

int         camel_address_decode    (CamelAddress *, const char *);
char           *camel_address_encode    (CamelAddress *);

void        camel_address_remove    (CamelAddress *, int index);

#endif /* ! _CAMEL_ADDRESS_H */
2d8edd4d58eab1'>Remove 2 mirrors for the GNOME master site.kwm2012-05-011-2/+0 * http://ftp.mozilla.org is https only nowflo2012-03-311-1/+1 * Remove www.jur-linux.org per request of Florian La Roche (via mail).ehaupt2012-03-301-1/+0 * - Add another volunteered Debian mirrortabthorpe2012-02-241-1/+2 * - Add additional Debian mirror sites, offered by their maintainerstabthorpe2012-02-211-1/+5 * Mirror has been shut down.jgh2012-02-011-1/+0 * -remove esat.net mirrorjgh2012-01-181-3/+0 * - Fix savannah master site: download.savannah.gnu.org/releases-noredirect is ...amdmi32012-01-151-1/+3 * - Update XFCE mirrorsmiwi2011-12-291-3/+5 * cleanup ftp mirror esatjgh2011-12-201-6/+6 * - Add ftp.twaren.net to MASTER_SITE_PERL_CPAN_BYsunpoet2011-12-101-4/+4 * - Simplifiy GOOGLE_CODE handlersunpoet2011-12-031-5/+1 * Add MASTER_SITE_SUDO.wxs2011-11-101-0/+32 * Remove stale PACKETSTORM mirrorcs2011-10-261-1/+0 * Cleanup various mirrors based on recent distilator reports.ehaupt2011-10-031-39/+42 * Remove MASTER_SITES_XFREEcrees2011-09-181-20/+0 * Correct various entries and remove other dead entries (404 errors only)crees2011-09-111-20/+8 * - Remove python.cdpa.nsysu.edu.tw from MASTER_SITE_PYTHONsunpoet2011-09-051-1/+0 * - Remove ftp.net.ohio-state.edusunpoet2011-09-051-1/+0 * Remove dead site (ftp\.)?sunsite.org.ukcrees2011-08-221-5/+1 * - update MASTER_SITE_GNUSTEPdinoex2011-08-071-1/+1 * The ring.nict.co.jp server has a CPAN tree, but it's empty.dougb2011-08-061-4/+1 * Remove dead site (ftp.kaist.ac.kr).ehaupt2011-07-281-4/+0 * remove netlib.enseeiht.fr from MASTER_SITE_NETLIB,bf2011-07-231-1/+0 * - Update MASTER_SITE_GNUPG to working mirrorsswills2011-07-071-8/+13 * - DNS no longer existspgollucci2011-06-261-2/+1 * Update MASTER_SITE_PACKETSTORM and use their main siteerwin2011-04-291-8/+6 * Remove http://sauerkraut.critical.ch from MASTER_SITES_CRITICAL, host is downehaupt2011-04-201-1/+0 * Add Netlib sites and macrosbf2011-03-311-0/+20 * s/Ftp/ftp/ - This was causing ports-mgmt/fastest_sites to complain aboutwxs2011-03-171-1/+1 * - Add a mirror to MASTER_SITE_CRITICALehaupt2011-03-091-5/+3 * Add sauerkraut.critical.ch back to MASTER_SITE_CRITICAL.ehaupt2011-03-041-0/+1 * - Remove superfluous trailing slash in MASTER_SITE_PERL_CPANsunpoet2011-03-041-1/+1 * Remove mirror from MASTER_SITE_CRITICAL.ehaupt2011-03-031-2/+1 * - Add three mirrors to MASTER_SITE_CRITICALehaupt2011-03-031-2/+4 * Introduce new way to handle CPAN master sites.az2011-02-281-16/+34 * http://backpan.cpan.org is down.az2011-02-271-2/+3 * - Add ncu, waix into SF mirrors.chinsan2011-02-241-2/+2 * - XORG: remove dead and outdated mirrorbeat2011-02-181-2/+0 * fix MASTER_SITE_XFCE as many mirrors have changedoliver2011-02-011-5/+8 * mail/exim: update to 4.74rea2011-01-281-9/+31 * - site no longer carries these bitspgollucci2010-12-121-2/+0 * - site is toastpgollucci2010-12-121-1/+0 * this site only carries the ubuntu bits nowpgollucci2010-12-121-3/+0 * - Update KDE mirror address of Computer Science Dept., NCTUlwhsu2010-12-031-1/+2 * Remove ftp.no.gnome.org from the GNOME pool. Seems to be dead.kwm2010-11-151-1/+0 * - Remove three dead mirrors from Mozillabeat2010-11-021-4/+1 * Fix ftp.informatik.hu-berlin.de and remove a dead GNU mirror.wxs2010-10-261-2/+1 * Remove two dead mirrors from ISC.wxs2010-10-251-2/+0 * Do some cleaning among the Horde mirrors.thierry2010-10-241-5/+5 * Remove dead site from MASTER_SITE_KERNEL_ORGwxs2010-10-231-1/+0 * Remove cpan.pop-mg.com.br from MASTER_SITE_PERL_CPAN host does not resolve.ehaupt2010-10-211-1/+0 * - ftp.ch.ru is still up, but it no longer mirrors these distrospgollucci2010-10-201-13/+3 * - biznetnetworks is down (several mod_* ports) several dayspgollucci2010-10-201-1/+1 * Remove dead qmail mirrorsgarga2010-10-201-6/+0 * Remove dead mirrorsehaupt2010-10-141-20/+0 * Update MASTER_SITE_TUCOWSehaupt2010-10-131-5/+6 * Remove dead mirrorsehaupt2010-10-131-8/+0 * Remove dead mirrorsehaupt2010-10-121-15/+0 * Prune sites for MASTER_SITE_APACHE giving a HTTP 404 or 500.rene2010-10-051-12/+1 * Remove bsd.cenkes.org from MASTER_SITE_CENKES due to:ehaupt2010-09-271-1/+0 * PostgreSQL 9.0 is here! The PostgreSQL Global Development Groupgirgen2010-09-201-1/+1 * - Add NCTU CPAN mirrorlwhsu2010-09-201-1/+2 * Move *.funet.fi to the bottom of the mirror sites lists due tobrix2010-08-291-23/+23 * - Remove dead NetBSD mirrors.amdmi32010-08-241-6/+1 * update xfce to 4.6.2oliver2010-05-311-4/+4 * - Add new macro RG for RubyGems sitepgollucci2010-05-251-2/+10 * - Remove ring.k-opti.com which was discontinued at 2010-02-16.kuriyama2010-04-061-1/+2 * - Fix MASTER_SITE_CHEESESHOP mirrorsamdmi32010-03-271-7/+7 * - SAVANNAH: remove dead and/or outdated mirrors, add four fresh onespav2010-03-161-5/+5 * - Add some CHEESESHOP mirrorsgahr2010-03-151-1/+8 * The Java front-end for lang/gcc42 downloads a DISTFILE from MASTER_SITE_SOURC...pgollucci2010-01-071-1/+5 * Fix Universidade Federal do ParanĂ¡ sourceforge mirror namegarga2009-12-151-1/+1 * MASTER_SITE_FEDORA_LINUX:itetcu2009-12-141-3/+1 * MASTER_SITE_FEDORA_LINUX:itetcu2009-12-131-5/+0 * MASTER_SITE_FEDORA_LINUX:itetcu2009-12-131-1/+0 * MASTER_SITE_FEDORA_LINUX:itetcu2009-12-131-7/+2 * Temporarely remove archives.fedoraproject.org completely, it's slows downitetcu2009-12-131-3/+3 * Move ftp.udl.es first in MASTER_SITE_FEDORA_LINUX because it still carries olditetcu2009-12-131-0/+2 * - Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirror...amdmi32009-09-021-15/+8 * - Introduce MASTER_SITE_LOGILABamdmi32009-09-011-0/+8 * - Fix the path of ftp.iasi.roedu.net in MASTER_SITE_FEDORA_LINUX.knu2009-08-241-2/+1 * - Switch SourceForge ports to new File Release System, bsd.*.mk changesamdmi32009-08-221-12/+4 * - Update Qt mirrorsmiwi2009-08-191-5/+3 * - Add a new macro SFP, SourceForge Project, for use with the newerwin2009-08-131-2/+10 * - Fix previous commit.jadawin2009-08-111-1/+1 * - Remove dead mirror for MASTER_SITE_PACKETSTROMjadawin2009-08-111-3/+10 * - Comment out garr mirror for now, it seems to provide broken filesamdmi32009-06-111-1/+1 * - Add MASTER_SITE_KERNEL_ORGwxs2009-06-021-0/+12 * Fix previous commititetcu2009-04-101-1/+1 * Move download.eclipse.org at the end of MASTER_SITE_ECLIPSE, it's very slow.itetcu2009-04-101-2/+2 * savannah.{nongnu,gnu}.org recently turned its download area into anjoerg2009-03-061-1/+2 * Remove sakura from MASTER_SITE_RINGSERVER and add k-opti.com instead.knu2009-02-211-1/+1 * Remove bad mirror http://rubyforge.rubyuser.de from $RUBYFORGE.kuriyama2009-02-051-1/+0 * - PHP: push brazilian and chinese mirrors to the end of the list, so wellpav2009-01-291-2/+2 * - Put a fast european and american mirror in front of the taiwanese forpav2009-01-291-1/+1 * - trim OpenBSD mirror list to a dozen of ftp sites, and add http sites to thepav2009-01-021-60/+26 * - Add Project Kenai, this will be useful for some upcoming PRswxs2008-12-201-0/+5 * ...plus a missing backslashehaupt2008-12-021-1/+1 * Add an additional "CRITICAL" mirrorehaupt2008-12-021-0/+1 * -Planetmirror doesn't actually mirror anything anymore.wxs2008-11-271-11/+0 * # bsd.sites.mk - Popular master sites.chinsan2008-11-261-4/+20 * Fedora Core 4,5,6 becomes absoleted versions and their official sitebsam2008-10-241-0/+1 * - Remove RAR sites because there are no mirrors any moregabor2008-10-231-7/+0 * Clean up Gnome mirror sites.kwm2008-09-141-4/+5 * - Reshuffle kde.org mirrors a bitpav2008-09-051-2/+2 * - Remove first dead site from PGSQL list, and update the mirror list URLpav2008-09-051-2/+1 * - Add mesh as SF mirrors.chinsan2008-08-251-1/+1 * - Move easynet.be down the list of MySQL mirrors. Fetch from it hangs a lot.pav2008-07-291-1/+1 * mirror.ac.uk closed down during 2007:tdb2008-06-231