Fix library versioning
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Nov 2012 21:08:36 +0000 (21:08 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Nov 2012 21:08:36 +0000 (21:08 +0000)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
libopenconnect.map.in
openconnect.h

index cd4d87c..eae3e70 100644 (file)
@@ -1,14 +1,3 @@
-OPENCONNECT_2.2 {
- global:
-       openconnect_set_reported_os;
-};
-
-OPENCONNECT_2.1 {
- global:
-       openconnect_has_stoken_support;
-       openconnect_set_stoken_mode;
-};
-
 OPENCONNECT_2.0 {
  global:
        openconnect_clear_cookie;
@@ -41,6 +30,13 @@ OPENCONNECT_2.0 {
        openconnect_has_pkcs11_support;
 };
 
+OPENCONNECT_2.1 {
+ global:
+       openconnect_has_stoken_support;
+       openconnect_set_stoken_mode;
+       openconnect_set_reported_os;
+} OPENCONNECT_2.0;
+
 OPENCONNECT_PRIVATE {
  global: @SYMVER_TIME@ @SYMVER_ASPRINTF@ @SYMVER_GETLINE@ @SYMVER_PRINT_ERR@
        openconnect_SSL_gets;
index 5a528c2..95cb6e8 100644 (file)
 #define OPENCONNECT_API_VERSION_MINOR 1
 
 /*
- * API version 2.2:
- *  - Add openconnect_set_reported_os()
- *
  * API version 2.1:
+ *  - Add openconnect_set_reported_os()
  *  - Add openconnect_set_stoken_mode(), openconnect_has_stoken_support()
  *
  * API version 2.0: