Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / camel / providers / sendmail / camel-sendmail-provider.c
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* camel-sendmail-provider.c: sendmail provider registration code */
3
4 /* 
5  * Authors :
6  *   Dan Winship <danw@ximian.com>
7  *
8  * Copyright (C) 2000 Ximian, Inc. (www.ximian.com)
9  *
10  * This program is free software; you can redistribute it and/or 
11  * modify it under the terms of version 2 of the GNU Lesser General Public 
12  * License as published by the Free Software Foundation.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
22  * USA
23  */
24
25 #ifdef HAVE_CONFIG_H
26 #include <config.h>
27 #endif
28
29 #include <glib/gi18n-lib.h>
30
31 #include "camel-provider.h"
32 #include "camel-sendmail-transport.h"
33 #include "camel-session.h"
34 #include "camel-url.h"
35
36 static CamelProvider sendmail_provider = {
37         "sendmail",
38         N_("Sendmail"),
39
40         N_("For delivering mail by passing it to the \"sendmail\" program "
41            "on the local system."),
42
43         "mail",
44
45         0, /* flags */
46
47         0, /* url_flags */
48
49         /* ... */
50 };
51
52 void
53 camel_provider_module_init(void)
54 {
55         sendmail_provider.object_types[CAMEL_PROVIDER_TRANSPORT] = camel_sendmail_transport_get_type();
56         
57         sendmail_provider.url_hash = camel_url_hash;
58         sendmail_provider.url_equal = camel_url_equal;
59         sendmail_provider.translation_domain = GETTEXT_PACKAGE;
60
61         camel_provider_register(&sendmail_provider);
62 }
63
64
65