~ubuntu-branches/ubuntu/jaunty/plasma-widget-network-manager/jaunty-updates

« back to all changes in this revision

Viewing changes to vpnplugins/openvpn/nm-openvpn-service.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2009-02-10 16:33:42 UTC
  • Revision ID: james.westby@ubuntu.com-20090210163342-y22tcldf0fuyqqm9
Tags: upstream-0.0+svn924363
ImportĀ upstreamĀ versionĀ 0.0+svn924363

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
 
2
/* nm-openvpn-service - openvpn integration with NetworkManager
 
3
 *
 
4
 * Tim Niemueller <tim@niemueller.de>
 
5
 * Based on work by Dan Williams <dcbw@redhat.com>
 
6
 *
 
7
 * This program is free software; you can redistribute it and/or modify
 
8
 * it under the terms of the GNU General Public License as published by
 
9
 * the Free Software Foundation; either version 2 of the License, or
 
10
 * (at your option) any later version.
 
11
 *
 
12
 * This program is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 * GNU General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU General Public License along
 
18
 * with this program; if not, write to the Free Software Foundation, Inc.,
 
19
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
20
 *
 
21
 */
 
22
 
 
23
#ifndef KNM_OPENVPN_SERVICE_H
 
24
#define KNM_OPENVPN_SERVICE_H
 
25
 
 
26
#define NM_OPENVPN_KEY_CA "ca"
 
27
#define NM_OPENVPN_KEY_CERT "cert"
 
28
#define NM_OPENVPN_KEY_CIPHER "cipher"
 
29
#define NM_OPENVPN_KEY_COMP_LZO "comp-lzo"
 
30
#define NM_OPENVPN_KEY_CONNECTION_TYPE "connection-type"
 
31
#define NM_OPENVPN_KEY_TAP_DEV "tap-dev"
 
32
#define NM_OPENVPN_KEY_KEY "key"
 
33
#define NM_OPENVPN_KEY_LOCAL_IP "local-ip"
 
34
#define NM_OPENVPN_KEY_PROTO_TCP "proto-tcp"
 
35
#define NM_OPENVPN_KEY_PORT "port"
 
36
#define NM_OPENVPN_KEY_REMOTE "remote"
 
37
#define NM_OPENVPN_KEY_REMOTE_IP "remote-ip"
 
38
#define NM_OPENVPN_KEY_STATIC_KEY "static-key"
 
39
#define NM_OPENVPN_KEY_STATIC_KEY_DIRECTION "static-key-direction"
 
40
#define NM_OPENVPN_KEY_TA "ta"
 
41
#define NM_OPENVPN_KEY_TA_DIR "ta-dir"
 
42
#define NM_OPENVPN_KEY_USERNAME "username"
 
43
 
 
44
#define NM_OPENVPN_KEY_PASSWORD "password"
 
45
#define NM_OPENVPN_KEY_CERTPASS "cert-pass"
 
46
/* Internal auth-dialog -> service token indicating that no secrets are
 
47
 * required for the connection.
 
48
 */
 
49
#define NM_OPENVPN_KEY_NOSECRET "no-secret"
 
50
 
 
51
#define NM_OPENVPN_CONTYPE_TLS          "tls"
 
52
#define NM_OPENVPN_CONTYPE_STATIC_KEY   "static-key"
 
53
#define NM_OPENVPN_CONTYPE_PASSWORD     "password"
 
54
#define NM_OPENVPN_CONTYPE_PASSWORD_TLS "password-tls"
 
55
 
 
56
#endif /* KNM_OPENVPN_SERVICE_H */