parent
73c241ac73
commit
4e232f8183
@ -0,0 +1,51 @@
|
||||
OPENCONNECT_1.0 {
|
||||
global:
|
||||
openconnect_clear_cookie;
|
||||
openconnect_get_cert_sha1;
|
||||
openconnect_get_cookie;
|
||||
openconnect_get_hostname;
|
||||
openconnect_get_peer_cert;
|
||||
openconnect_get_port;
|
||||
openconnect_get_urlpath;
|
||||
openconnect_get_version;
|
||||
openconnect_init_openssl;
|
||||
openconnect_obtain_cookie;
|
||||
openconnect_parse_url;
|
||||
openconnect_passphrase_from_fsid;
|
||||
openconnect_reset_ssl;
|
||||
openconnect_set_cafile;
|
||||
openconnect_set_client_cert;
|
||||
openconnect_set_hostname;
|
||||
openconnect_set_http_proxy;
|
||||
openconnect_setup_csd;
|
||||
openconnect_set_urlpath;
|
||||
openconnect_set_xmlsha1;
|
||||
openconnect_vpninfo_new;
|
||||
local:
|
||||
*;
|
||||
};
|
||||
OPENCONNECT_1.1 {
|
||||
global:
|
||||
openconnect_vpninfo_free;
|
||||
} OPENCONNECT_1.0;
|
||||
|
||||
OPENCONNECT_1.2 {
|
||||
global:
|
||||
openconnect_vpninfo_new_with_cbdata;
|
||||
} OPENCONNECT_1.1;
|
||||
|
||||
OPENCONNECT_1.3 {
|
||||
global:
|
||||
openconnect_set_cert_expiry_warning;
|
||||
} OPENCONNECT_1.2;
|
||||
|
||||
OPENCONNECT_1.4 {
|
||||
global:
|
||||
openconnect_set_cancel_fd;
|
||||
} OPENCONNECT_1.3;
|
||||
|
||||
OPENCONNECT_1.5 {
|
||||
global:
|
||||
openconnect_get_cert_details;
|
||||
openconnect_get_cert_DER;
|
||||
} OPENCONNECT_1.4;
|
@ -0,0 +1,33 @@
|
||||
#ifndef OPENCONNECT_OPENSSL
|
||||
#error Cannot pretend to be compatible if not building with OpenSSL
|
||||
#endif
|
||||
|
||||
#define openconnect_vpninfo_new openconnect_vpninfo_new_with_cbdata
|
||||
#include "library.c"
|
||||
#undef openconnect_vpninfo_new
|
||||
|
||||
struct openconnect_info *
|
||||
openconnect_vpninfo_new (char *useragent,
|
||||
openconnect_validate_peer_cert_vfn validate_peer_cert,
|
||||
openconnect_write_new_config_vfn write_new_config,
|
||||
openconnect_process_auth_form_vfn process_auth_form,
|
||||
openconnect_progress_vfn progress);
|
||||
struct openconnect_info *
|
||||
openconnect_vpninfo_new (char *useragent,
|
||||
openconnect_validate_peer_cert_vfn validate_peer_cert,
|
||||
openconnect_write_new_config_vfn write_new_config,
|
||||
openconnect_process_auth_form_vfn process_auth_form,
|
||||
openconnect_progress_vfn progress)
|
||||
{
|
||||
return openconnect_vpninfo_new_with_cbdata(useragent,
|
||||
validate_peer_cert,
|
||||
write_new_config,
|
||||
process_auth_form,
|
||||
progress, NULL);
|
||||
}
|
||||
|
||||
void openconnect_init_openssl(void);
|
||||
void openconnect_init_openssl(void)
|
||||
{
|
||||
openconnect_init_ssl();
|
||||
}
|
Loading…
Reference in new issue