1
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
3
* Copyright (C) 2011, 2013 Red Hat, Inc.
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
15
* You should have received a copy of the GNU Lesser General
16
* Public License along with this library; if not, write to the
17
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18
* Boston, MA 02111-1307, USA.
20
* Authors: David Zeuthen <davidz@redhat.com>
21
* Debarshi Ray <debarshir@gnome.org>
24
#if !defined (__GOA_BACKEND_INSIDE_GOA_BACKEND_H__) && !defined (GOA_BACKEND_COMPILATION)
25
#error "Only <goabackend/goabackend.h> can be included directly."
28
#ifndef __GOA_SMTP_AUTH_PLAIN_H__
29
#define __GOA_SMTP_AUTH_PLAIN_H__
33
#include <glib-object.h>
35
#include <goabackend/goabackendtypes.h>
37
#include "goamailauth.h"
41
#define GOA_TYPE_SMTP_AUTH_PLAIN (goa_smtp_auth_plain_get_type ())
42
#define GOA_SMTP_AUTH_PLAIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_SMTP_AUTH_PLAIN, GoaSmtpAuthPlain))
43
#define GOA_IS_SMTP_AUTH_PLAIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_SMTP_AUTH_PLAIN))
45
typedef struct _GoaSmtpAuthPlain GoaSmtpAuthPlain;
47
GType goa_smtp_auth_plain_get_type (void) G_GNUC_CONST;
48
GoaMailAuth *goa_smtp_auth_plain_new (GoaProvider *provider,
51
const gchar *user_name,
52
const gchar *password);
56
#endif /* __GOA_SMTP_AUTH_PLAIN_H__ */