1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* camel-sendmail-transport.h: Sendmail-based transport class
3  *
4  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
5  *
6  * This library is free software: you can redistribute it and/or modify it
7  * under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation.
9  *
10  * This library is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
13  * for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this library. If not, see <http://www.gnu.org/licenses/>.
17  *
18  * Authors: Dan Winship <danw@ximian.com>
19  */
20 
21 #ifndef CAMEL_SENDMAIL_TRANSPORT_H
22 #define CAMEL_SENDMAIL_TRANSPORT_H
23 
24 #include <camel/camel.h>
25 
26 /* Standard GObject macros */
27 #define CAMEL_TYPE_SENDMAIL_TRANSPORT \
28 	(camel_sendmail_transport_get_type ())
29 #define CAMEL_SENDMAIL_TRANSPORT(obj) \
30 	(G_TYPE_CHECK_INSTANCE_CAST \
31 	((obj), CAMEL_TYPE_SENDMAIL_TRANSPORT, CamelSendmailTransport))
32 #define CAMEL_SENDMAIL_TRANSPORT_CLASS(cls) \
33 	(G_TYPE_CHECK_CLASS_CAST \
34 	((cls), CAMEL_TYPE_SENDMAIL_TRANSPORT, CamelSendmailTransportClass))
35 #define CAMEL_IS_SENDMAIL_TRANSPORT(obj) \
36 	(G_TYPE_CHECK_INSTANCE_TYPE \
37 	((obj), CAMEL_TYPE_SENDMAIL_TRANSPORT))
38 #define CAMEL_IS_SENDMAIL_TRANSPORT_CLASS(cls) \
39 	(G_TYPE_CHECK_CLASS_TYPE \
40 	((cls), CAMEL_TYPE_SENDMAIL_TRANSPORT))
41 #define CAMEL_SENDMAIL_TRANSPORT_GET_CLASS(obj) \
42 	(G_TYPE_INSTANCE_GET_CLASS \
43 	((obj), CAMEL_TYPE_SENDMAIL_TRANSPORT, CamelSendmailTransportClass))
44 
45 G_BEGIN_DECLS
46 
47 typedef struct _CamelSendmailTransport CamelSendmailTransport;
48 typedef struct _CamelSendmailTransportClass CamelSendmailTransportClass;
49 
50 struct _CamelSendmailTransport {
51 	CamelTransport parent;
52 };
53 
54 struct _CamelSendmailTransportClass {
55 	CamelTransportClass parent_class;
56 
57 	/* Padding for future expansion */
58 	gpointer reserved[20];
59 };
60 
61 GType camel_sendmail_transport_get_type (void);
62 
63 G_END_DECLS
64 
65 #endif /* CAMEL_SENDMAIL_TRANSPORT_H */
66