1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3 * Copyright (C) 2011 Collabora Ltd.
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.1 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 Public
16 * 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 * Author: Stef Walter <stefw@collabora.co.uk>
25 #ifndef __MOCK_INTERACTION_H__
26 #define __MOCK_INTERACTION_H__
30 #define MOCK_TYPE_INTERACTION (mock_interaction_get_type ())
32 G_DECLARE_FINAL_TYPE (MockInteraction, mock_interaction, MOCK, INTERACTION, GTlsInteraction)
34 GTlsInteraction *mock_interaction_new_static_password (const gchar *password);
36 GTlsInteraction *mock_interaction_new_static_certificate (GTlsCertificate *cert);
38 GTlsInteraction *mock_interaction_new_static_error (GQuark domain,
40 const gchar *message);
44 #endif /* __MOCK_INTERACTION_H__ */