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
16 * Public License along with this library; if not, see
17 * <http://www.gnu.org/licenses/>.
19 * Author: Stef Walter <stefw@collabora.co.uk>
28 #define MOCK_TYPE_INTERACTION (mock_interaction_get_type ())
30 G_DECLARE_FINAL_TYPE (MockInteraction, mock_interaction, MOCK, INTERACTION, GTlsInteraction)
32 GTlsInteraction *mock_interaction_new_static_password (const gchar *password);
34 GTlsInteraction *mock_interaction_new_static_certificate (GTlsCertificate *cert);
36 GTlsInteraction *mock_interaction_new_static_error (GQuark domain,
38 const gchar *message);