2013-12-02 21:20:26 +00:00
|
|
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
|
|
|
/*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
2015-11-23 16:47:00 +00:00
|
|
|
* Copyright 2013 - 2015 Red Hat, Inc.
|
2013-12-02 21:20:26 +00:00
|
|
|
*/
|
|
|
|
|
2015-11-23 16:47:00 +00:00
|
|
|
#ifndef __NM_VPN_HELPERS_H__
|
|
|
|
#define __NM_VPN_HELPERS_H__
|
2013-12-02 21:20:26 +00:00
|
|
|
|
2015-05-26 09:10:12 +00:00
|
|
|
#include <NetworkManager.h>
|
2013-12-02 21:20:26 +00:00
|
|
|
|
2015-07-17 12:38:54 +00:00
|
|
|
#include "nm-default.h"
|
2015-04-06 20:42:31 +00:00
|
|
|
|
2015-11-27 10:09:20 +00:00
|
|
|
struct {
|
|
|
|
const char *name;
|
|
|
|
const char *ui_name;
|
|
|
|
} typedef VpnPasswordName;
|
|
|
|
|
2015-11-23 16:47:00 +00:00
|
|
|
GSList *nm_vpn_get_plugins (void);
|
2013-12-02 21:20:26 +00:00
|
|
|
|
2015-11-30 15:20:10 +00:00
|
|
|
NMVpnEditorPlugin *nm_vpn_get_plugin_by_service (const char *service, GError **error);
|
2013-12-02 21:20:26 +00:00
|
|
|
|
2015-11-23 16:47:00 +00:00
|
|
|
gboolean nm_vpn_supports_ipv6 (NMConnection *connection);
|
2013-12-02 21:20:26 +00:00
|
|
|
|
2015-11-27 10:09:20 +00:00
|
|
|
const VpnPasswordName * nm_vpn_get_secret_names (const char *vpn_type);
|
|
|
|
|
2015-11-23 16:47:00 +00:00
|
|
|
#endif /* __NM_VPN_HELPERS_H__ */
|