1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Authors: Jeffrey Stedfast <fejj@ximian.com>
5 * Copyright 2001 Ximian, Inc. (www.ximian.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 #ifndef CAMEL_SASL_DIGEST_MD5_H
24 #define CAMEL_SASL_DIGEST_MD5_H
26 #include <sys/types.h>
27 #include <camel/camel-sasl.h>
29 #define CAMEL_SASL_DIGEST_MD5_TYPE (camel_sasl_digest_md5_get_type ())
30 #define CAMEL_SASL_DIGEST_MD5(obj) (CAMEL_CHECK_CAST((obj), CAMEL_SASL_DIGEST_MD5_TYPE, CamelSaslDigestMd5))
31 #define CAMEL_SASL_DIGEST_MD5_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_SASL_DIGEST_MD5_TYPE, CamelSaslDigestMd5Class))
32 #define CAMEL_IS_SASL_DIGEST_MD5(o) (CAMEL_CHECK_TYPE((o), CAMEL_SASL_DIGEST_MD5_TYPE))
36 typedef struct _CamelSaslDigestMd5 {
37 CamelSasl parent_object;
38 struct _CamelSaslDigestMd5Private *priv;
43 typedef struct _CamelSaslDigestMd5Class {
44 CamelSaslClass parent_class;
46 } CamelSaslDigestMd5Class;
49 /* Standard Camel function */
50 CamelType camel_sasl_digest_md5_get_type (void);
52 extern CamelServiceAuthType camel_sasl_digest_md5_authtype;
56 #endif /* CAMEL_SASL_DIGEST_MD5_H */