network-manager-openconnect r44 - in branches/NETWORKMANAGER_0_7: . src
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: network-manager-openconnect r44 - in branches/NETWORKMANAGER_0_7: . src
- Date: Tue, 31 Mar 2009 03:30:08 +0000 (UTC)
Author: dcbw
Date: Tue Mar 31 03:30:07 2009
New Revision: 44
URL: http://svn.gnome.org/viewvc/network-manager-openconnect?rev=44&view=rev
Log:
2009-03-30 David Woodhouse <dwmw2 infradead org>
* src/nm-openconnect-service.c
src/nm-openconnect-service.h
- Add 'autoconnect' and 'lasthost' options to remember the last used
host, and to automatically connect to that host if desired
Modified:
branches/NETWORKMANAGER_0_7/ChangeLog
branches/NETWORKMANAGER_0_7/src/nm-openconnect-service.c
branches/NETWORKMANAGER_0_7/src/nm-openconnect-service.h
Modified: branches/NETWORKMANAGER_0_7/src/nm-openconnect-service.c
==============================================================================
--- branches/NETWORKMANAGER_0_7/src/nm-openconnect-service.c (original)
+++ branches/NETWORKMANAGER_0_7/src/nm-openconnect-service.c Tue Mar 31 03:30:07 2009
@@ -46,15 +46,17 @@
} ValidProperty;
static ValidProperty valid_properties[] = {
- { NM_OPENCONNECT_KEY_GATEWAY, G_TYPE_STRING, 0, 0 },
- { NM_OPENCONNECT_KEY_CACERT, G_TYPE_STRING, 0, 0 },
- { NM_OPENCONNECT_KEY_AUTHTYPE, G_TYPE_STRING, 0, 0 },
- { NM_OPENCONNECT_KEY_USERCERT, G_TYPE_STRING, 0, 0 },
- { NM_OPENCONNECT_KEY_USERNAME, G_TYPE_STRING, 0, 0 },
- { NM_OPENCONNECT_KEY_XMLCONFIG, G_TYPE_STRING, 0, 0 },
- { NM_OPENCONNECT_KEY_PRIVKEY, G_TYPE_STRING, 0, 0 },
- { NM_OPENCONNECT_KEY_CERTSIGS, G_TYPE_STRING, 0, 0 },
- { NULL, G_TYPE_NONE, 0, 0 }
+ { NM_OPENCONNECT_KEY_GATEWAY, G_TYPE_STRING, 0, 0 },
+ { NM_OPENCONNECT_KEY_CACERT, G_TYPE_STRING, 0, 0 },
+ { NM_OPENCONNECT_KEY_AUTHTYPE, G_TYPE_STRING, 0, 0 },
+ { NM_OPENCONNECT_KEY_USERCERT, G_TYPE_STRING, 0, 0 },
+ { NM_OPENCONNECT_KEY_USERNAME, G_TYPE_STRING, 0, 0 },
+ { NM_OPENCONNECT_KEY_XMLCONFIG, G_TYPE_STRING, 0, 0 },
+ { NM_OPENCONNECT_KEY_PRIVKEY, G_TYPE_STRING, 0, 0 },
+ { NM_OPENCONNECT_KEY_CERTSIGS, G_TYPE_STRING, 0, 0 },
+ { NM_OPENCONNECT_KEY_LASTHOST, G_TYPE_STRING, 0, 0 },
+ { NM_OPENCONNECT_KEY_AUTOCONNECT, G_TYPE_BOOLEAN, 0, 0 },
+ { NULL, G_TYPE_NONE, 0, 0 }
};
static ValidProperty valid_secrets[] = {
Modified: branches/NETWORKMANAGER_0_7/src/nm-openconnect-service.h
==============================================================================
--- branches/NETWORKMANAGER_0_7/src/nm-openconnect-service.h (original)
+++ branches/NETWORKMANAGER_0_7/src/nm-openconnect-service.h Tue Mar 31 03:30:07 2009
@@ -27,6 +27,8 @@
#define NM_OPENCONNECT_KEY_USERNAME "username"
#define NM_OPENCONNECT_KEY_XMLCONFIG "xmlconfig"
#define NM_OPENCONNECT_KEY_CERTSIGS "certsigs"
+#define NM_OPENCONNECT_KEY_LASTHOST "lasthost"
+#define NM_OPENCONNECT_KEY_AUTOCONNECT "autoconnect"
#define NM_OPENCONNECT_AUTHTYPE_CERT "cert"
#define NM_OPENCONNECT_AUTHTYPE_CERT_TPM "cert-tpm"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]