1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Authors: Jeffrey Stedfast <fejj@ximian.com>
5 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of version 2 of the GNU Lesser General Public
9 * License as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
23 #if !defined (__CAMEL_H_INSIDE__) && !defined (CAMEL_COMPILATION)
24 #error "Only <camel/camel.h> can be included directly."
27 #ifndef CAMEL_SASL_ANONYMOUS_H
28 #define CAMEL_SASL_ANONYMOUS_H
30 #include <camel/camel-enums.h>
31 #include <camel/camel-sasl.h>
33 /* Standard GObject macros */
34 #define CAMEL_TYPE_SASL_ANONYMOUS \
35 (camel_sasl_anonymous_get_type ())
36 #define CAMEL_SASL_ANONYMOUS(obj) \
37 (G_TYPE_CHECK_INSTANCE_CAST \
38 ((obj), CAMEL_TYPE_SASL_ANONYMOUS, CamelSaslAnonymous))
39 #define CAMEL_SASL_ANONYMOUS_CLASS(cls) \
40 (G_TYPE_CHECK_CLASS_CAST \
41 ((cls), CAMEL_TYPE_SASL_ANONYMOUS, CamelSaslAnonymousClass))
42 #define CAMEL_IS_SASL_ANONYMOUS(obj) \
43 (G_TYPE_CHECK_INSTANCE_TYPE \
44 ((obj), CAMEL_TYPE_SASL_ANONYMOUS))
45 #define CAMEL_IS_SASL_ANONYMOUS_CLASS(cls) \
46 (G_TYPE_CHECK_CLASS_TYPE \
47 ((cls), CAMEL_TYPE_SASL_ANONYMOUS))
48 #define CAMEL_SASL_ANONYMOUS_GET_CLASS(obj) \
49 (G_TYPE_INSTANCE_GET_CLASS \
50 ((obj), CAMEL_TYPE_SASL_ANONYMOUS, CamelSaslAnonymousClass))
54 typedef struct _CamelSaslAnonymous CamelSaslAnonymous;
55 typedef struct _CamelSaslAnonymousClass CamelSaslAnonymousClass;
57 struct _CamelSaslAnonymous {
61 CamelSaslAnonTraceType type;
64 struct _CamelSaslAnonymousClass {
65 CamelSaslClass parent_class;
68 GType camel_sasl_anonymous_get_type (void);
71 CamelSasl *camel_sasl_anonymous_new (CamelSaslAnonTraceType type, const gchar *trace_info);
75 #endif /* CAMEL_SASL_ANONYMOUS_H */