]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Define plugin version in all existing plugins
authorTobias Brunner <tobias@strongswan.org>
Mon, 11 Aug 2025 14:35:32 +0000 (16:35 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 22 Aug 2025 13:32:39 +0000 (15:32 +0200)
138 files changed:
src/libcharon/plugins/addrblock/addrblock_plugin.c
src/libcharon/plugins/android_dns/android_dns_plugin.c
src/libcharon/plugins/android_log/android_log_plugin.c
src/libcharon/plugins/attr/attr_plugin.c
src/libcharon/plugins/attr_sql/attr_sql_plugin.c
src/libcharon/plugins/bypass_lan/bypass_lan_plugin.c
src/libcharon/plugins/certexpire/certexpire_plugin.c
src/libcharon/plugins/connmark/connmark_plugin.c
src/libcharon/plugins/counters/counters_plugin.c
src/libcharon/plugins/coupling/coupling_plugin.c
src/libcharon/plugins/dhcp/dhcp_plugin.c
src/libcharon/plugins/dnscert/dnscert_plugin.c
src/libcharon/plugins/duplicheck/duplicheck_plugin.c
src/libcharon/plugins/eap_aka/eap_aka_plugin.c
src/libcharon/plugins/eap_aka_3gpp/eap_aka_3gpp_plugin.c
src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_plugin.c
src/libcharon/plugins/eap_dynamic/eap_dynamic_plugin.c
src/libcharon/plugins/eap_gtc/eap_gtc_plugin.c
src/libcharon/plugins/eap_identity/eap_identity_plugin.c
src/libcharon/plugins/eap_md5/eap_md5_plugin.c
src/libcharon/plugins/eap_mschapv2/eap_mschapv2_plugin.c
src/libcharon/plugins/eap_peap/eap_peap_plugin.c
src/libcharon/plugins/eap_radius/eap_radius_plugin.c
src/libcharon/plugins/eap_sim/eap_sim_plugin.c
src/libcharon/plugins/eap_sim_file/eap_sim_file_plugin.c
src/libcharon/plugins/eap_sim_pcsc/eap_sim_pcsc_plugin.c
src/libcharon/plugins/eap_simaka_pseudonym/eap_simaka_pseudonym_plugin.c
src/libcharon/plugins/eap_simaka_reauth/eap_simaka_reauth_plugin.c
src/libcharon/plugins/eap_simaka_sql/eap_simaka_sql_plugin.c
src/libcharon/plugins/eap_tls/eap_tls_plugin.c
src/libcharon/plugins/eap_tnc/eap_tnc_plugin.c
src/libcharon/plugins/eap_ttls/eap_ttls_plugin.c
src/libcharon/plugins/error_notify/error_notify_plugin.c
src/libcharon/plugins/ext_auth/ext_auth_plugin.c
src/libcharon/plugins/farp/farp_plugin.c
src/libcharon/plugins/forecast/forecast_plugin.c
src/libcharon/plugins/ha/ha_plugin.c
src/libcharon/plugins/ipseckey/ipseckey_plugin.c
src/libcharon/plugins/kernel_iph/kernel_iph_plugin.c
src/libcharon/plugins/kernel_libipsec/kernel_libipsec_plugin.c
src/libcharon/plugins/kernel_netlink/kernel_netlink_plugin.c
src/libcharon/plugins/kernel_pfkey/kernel_pfkey_plugin.c
src/libcharon/plugins/kernel_pfroute/kernel_pfroute_plugin.c
src/libcharon/plugins/kernel_wfp/kernel_wfp_plugin.c
src/libcharon/plugins/led/led_plugin.c
src/libcharon/plugins/load_tester/load_tester_plugin.c
src/libcharon/plugins/lookip/lookip_plugin.c
src/libcharon/plugins/medcli/medcli_plugin.c
src/libcharon/plugins/medsrv/medsrv_plugin.c
src/libcharon/plugins/osx_attr/osx_attr_plugin.c
src/libcharon/plugins/p_cscf/p_cscf_plugin.c
src/libcharon/plugins/radattr/radattr_plugin.c
src/libcharon/plugins/resolve/resolve_plugin.c
src/libcharon/plugins/save_keys/save_keys_plugin.c
src/libcharon/plugins/selinux/selinux_plugin.c
src/libcharon/plugins/smp/smp.c
src/libcharon/plugins/socket_default/socket_default_plugin.c
src/libcharon/plugins/socket_dynamic/socket_dynamic_plugin.c
src/libcharon/plugins/socket_win/socket_win_plugin.c
src/libcharon/plugins/sql/sql_plugin.c
src/libcharon/plugins/stroke/stroke_plugin.c
src/libcharon/plugins/systime_fix/systime_fix_plugin.c
src/libcharon/plugins/tnc_ifmap/tnc_ifmap_plugin.c
src/libcharon/plugins/tnc_pdp/tnc_pdp_plugin.c
src/libcharon/plugins/unity/unity_plugin.c
src/libcharon/plugins/updown/updown_plugin.c
src/libcharon/plugins/vici/vici_plugin.c
src/libcharon/plugins/whitelist/whitelist_plugin.c
src/libcharon/plugins/xauth_eap/xauth_eap_plugin.c
src/libcharon/plugins/xauth_generic/xauth_generic_plugin.c
src/libcharon/plugins/xauth_noauth/xauth_noauth_plugin.c
src/libcharon/plugins/xauth_pam/xauth_pam_plugin.c
src/libstrongswan/plugins/acert/acert_plugin.c
src/libstrongswan/plugins/aes/aes_plugin.c
src/libstrongswan/plugins/aesni/aesni_plugin.c
src/libstrongswan/plugins/af_alg/af_alg_plugin.c
src/libstrongswan/plugins/agent/agent_plugin.c
src/libstrongswan/plugins/blowfish/blowfish_plugin.c
src/libstrongswan/plugins/botan/botan_plugin.c
src/libstrongswan/plugins/ccm/ccm_plugin.c
src/libstrongswan/plugins/chapoly/chapoly_plugin.c
src/libstrongswan/plugins/cmac/cmac_plugin.c
src/libstrongswan/plugins/constraints/constraints_plugin.c
src/libstrongswan/plugins/ctr/ctr_plugin.c
src/libstrongswan/plugins/curl/curl_plugin.c
src/libstrongswan/plugins/curve25519/curve25519_plugin.c
src/libstrongswan/plugins/des/des_plugin.c
src/libstrongswan/plugins/dnskey/dnskey_plugin.c
src/libstrongswan/plugins/drbg/drbg_plugin.c
src/libstrongswan/plugins/files/files_plugin.c
src/libstrongswan/plugins/fips_prf/fips_prf_plugin.c
src/libstrongswan/plugins/gcm/gcm_plugin.c
src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c
src/libstrongswan/plugins/gmp/gmp_plugin.c
src/libstrongswan/plugins/hmac/hmac_plugin.c
src/libstrongswan/plugins/kdf/kdf_plugin.c
src/libstrongswan/plugins/keychain/keychain_plugin.c
src/libstrongswan/plugins/ldap/ldap_plugin.c
src/libstrongswan/plugins/md4/md4_plugin.c
src/libstrongswan/plugins/md5/md5_plugin.c
src/libstrongswan/plugins/mgf1/mgf1_plugin.c
src/libstrongswan/plugins/ml/ml_plugin.c
src/libstrongswan/plugins/mysql/mysql_plugin.c
src/libstrongswan/plugins/nonce/nonce_plugin.c
src/libstrongswan/plugins/openssl/openssl_plugin.c
src/libstrongswan/plugins/openxpki/openxpki_plugin.c
src/libstrongswan/plugins/padlock/padlock_plugin.c
src/libstrongswan/plugins/pem/pem_plugin.c
src/libstrongswan/plugins/pgp/pgp_plugin.c
src/libstrongswan/plugins/pkcs1/pkcs1_plugin.c
src/libstrongswan/plugins/pkcs11/pkcs11_plugin.c
src/libstrongswan/plugins/pkcs12/pkcs12_plugin.c
src/libstrongswan/plugins/pkcs7/pkcs7_plugin.c
src/libstrongswan/plugins/pkcs8/pkcs8_plugin.c
src/libstrongswan/plugins/pubkey/pubkey_plugin.c
src/libstrongswan/plugins/random/random_plugin.c
src/libstrongswan/plugins/rc2/rc2_plugin.c
src/libstrongswan/plugins/rdrand/rdrand_plugin.c
src/libstrongswan/plugins/revocation/revocation_plugin.c
src/libstrongswan/plugins/sha1/sha1_plugin.c
src/libstrongswan/plugins/sha2/sha2_plugin.c
src/libstrongswan/plugins/sha3/sha3_plugin.c
src/libstrongswan/plugins/soup/soup_plugin.c
src/libstrongswan/plugins/sqlite/sqlite_plugin.c
src/libstrongswan/plugins/sshkey/sshkey_plugin.c
src/libstrongswan/plugins/test_vectors/test_vectors_plugin.c
src/libstrongswan/plugins/unbound/unbound_plugin.c
src/libstrongswan/plugins/winhttp/winhttp_plugin.c
src/libstrongswan/plugins/wolfssl/wolfssl_plugin.c
src/libstrongswan/plugins/x509/x509_plugin.c
src/libstrongswan/plugins/xcbc/xcbc_plugin.c
src/libtnccs/plugins/tnc_imc/tnc_imc_plugin.c
src/libtnccs/plugins/tnc_imv/tnc_imv_plugin.c
src/libtnccs/plugins/tnc_tnccs/tnc_tnccs_plugin.c
src/libtnccs/plugins/tnccs_11/tnccs_11_plugin.c
src/libtnccs/plugins/tnccs_20/tnccs_20_plugin.c
src/libtnccs/plugins/tnccs_dynamic/tnccs_dynamic_plugin.c
src/libtpmtss/plugins/tpm/tpm_plugin.c

index 70693f865df8729a4dd21f565c719b6916fde666..296e1fb42696c0b19750a21d2d8f527890cccf4c 100644 (file)
@@ -94,7 +94,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *addrblock_plugin_create()
+PLUGIN_DEFINE(addrblock)
 {
        private_addrblock_plugin_t *this;
 
index f94a6a89272f55731fb8c107fe4a71fc82e337e5..bde0656b08b7d3032ac53f6b337f952b36cd92ed 100644 (file)
@@ -83,7 +83,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * See header
  */
-plugin_t *android_dns_plugin_create()
+PLUGIN_DEFINE(android_dns)
 {
        private_android_dns_plugin_t *this;
 
index 4648da61aee6451e0e8b039c8f8c0f3aa08293cc..ed42974812692cf3b9fc98f8d7c3500df325bddf 100644 (file)
@@ -66,7 +66,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * See header
  */
-plugin_t *android_log_plugin_create()
+PLUGIN_DEFINE(android_log)
 {
        private_android_log_plugin_t *this;
 
index 3c895d7af7ce4be38190721566c20ad25e9801b8..63a0ab04e50844eee9b6c8ec00a1543f7b840456 100644 (file)
@@ -90,7 +90,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *attr_plugin_create()
+PLUGIN_DEFINE(attr)
 {
        private_attr_plugin_t *this;
 
index 824fc39c4293ac66038e18d8c610abcd47752b2e..2425c8cde58f9652f93349c3463bf3eeaa864fbd 100644 (file)
@@ -110,7 +110,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *attr_sql_plugin_create()
+PLUGIN_DEFINE(attr_sql)
 {
        private_attr_sql_plugin_t *this;
 
index 5935aeaebd268324edf38ba65cedb343c02b1660..a46167af5ad052faf78e2694199176ae1ade0349 100644 (file)
@@ -90,7 +90,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *bypass_lan_plugin_create()
+PLUGIN_DEFINE(bypass_lan)
 {
        private_bypass_lan_plugin_t *this;
 
index a7ecb11ebe46233fd8fc06b6a3aac7d8a964f5f2..9d312e7b050c9aa9549130f4cf60ee5aea30cbc8 100644 (file)
@@ -89,7 +89,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *certexpire_plugin_create()
+PLUGIN_DEFINE(certexpire)
 {
        private_certexpire_plugin_t *this;
 
index 013c597781dad1d5222875975ab8a559e17beaf8..cf0636b5aea496260c633c5156ebb4aa32cc9392 100644 (file)
@@ -81,7 +81,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *connmark_plugin_create()
+PLUGIN_DEFINE(connmark)
 {
        private_connmark_plugin_t *this;
 
index 3e1ecbbbc090da6c6e7ce25fb4b4d779afc9269e..6b5dac20f3f0d225cc7f400772b2abcb5673b880 100644 (file)
@@ -83,7 +83,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * Described in header
  */
-plugin_t *counters_plugin_create()
+PLUGIN_DEFINE(counters)
 {
        private_counters_plugin_t *this;
 
index d09dedc7083722d7a178a6e539d7470824ef082f..cb8911a4ed5d6264156425ec67fb5cb9073505a2 100644 (file)
@@ -92,7 +92,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *coupling_plugin_create()
+PLUGIN_DEFINE(coupling)
 {
        private_coupling_plugin_t *this;
 
index 9d7bb1a0553bc4983fffc6f89e8e3c00b8de42cb..03cafe821a6cc3b24156c10bf281108850373c65 100644 (file)
@@ -101,7 +101,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor.
  */
-plugin_t *dhcp_plugin_create()
+PLUGIN_DEFINE(dhcp)
 {
        private_dhcp_plugin_t *this;
 
index 44ff0ddb37a7919a6d607bdf994467ce176e78e7..92c2bc11135eb671f38e2397ba46e6919a3a2ce6 100644 (file)
@@ -148,7 +148,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *dnscert_plugin_create()
+PLUGIN_DEFINE(dnscert)
 {
        private_dnscert_plugin_t *this;
 
index 5cc0b45b0b1cfbe98d2848d7c1e096d3db16ccbd..dabced096d6a2e50527c5ad05a4698fc52fbc7ed 100644 (file)
@@ -89,7 +89,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *duplicheck_plugin_create()
+PLUGIN_DEFINE(duplicheck)
 {
        private_duplicheck_plugin_t *this;
 
index f0167ee5ddd2edec5dcf17bf54b8e53a0047d5c2..070aef11bcc0daff1af3954dde9457a3adc980fb 100644 (file)
@@ -81,7 +81,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_aka_plugin_create()
+PLUGIN_DEFINE(eap_aka)
 {
        private_eap_aka_plugin_t *this;
 
index 38a82ea781c871d87a902f3b26c7493115237854..9f7ba2b0f264cd8d25bd7f5d247217d9685a1a6b 100644 (file)
@@ -147,7 +147,7 @@ METHOD(plugin_t, destroy, void, private_eap_aka_3gpp_t *this)
 /**
  * See header
  */
-plugin_t *eap_aka_3gpp_plugin_create()
+PLUGIN_DEFINE(eap_aka_3gpp)
 {
        private_eap_aka_3gpp_t *this;
 
index 7b9c7d54499fe5efebc22e432ff03e60c28d04dc..00f924ce0f2ea32b212323d787a278f649fe5d02 100644 (file)
@@ -126,7 +126,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * See header
  */
-plugin_t *eap_aka_3gpp2_plugin_create()
+PLUGIN_DEFINE(eap_aka_3gpp2)
 {
        private_eap_aka_3gpp2_t *this;
 
index 2c2fd09af3420a1279a026fc7b00f40f711ece9a..65c336ce3f201d807b4a1a061ad6a4f87285ea6a 100644 (file)
@@ -46,7 +46,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_dynamic_plugin_create()
+PLUGIN_DEFINE(eap_dynamic)
 {
        eap_dynamic_plugin_t *this;
 
index 02be5a76d6b6209978da9b864184caa938944b34..d10a63b9b689614aa7203cd644647e29ad8c92af 100644 (file)
@@ -48,7 +48,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_gtc_plugin_create()
+PLUGIN_DEFINE(eap_gtc)
 {
        eap_gtc_plugin_t *this;
 
index ee90ac8ee3be307d68e9ef897a6038329b39f20f..6977760aff9b098c52dc2948d19bcdfae23b81c0 100644 (file)
@@ -47,7 +47,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_identity_plugin_create()
+PLUGIN_DEFINE(eap_identity)
 {
        eap_identity_plugin_t *this;
 
index fa96d5b58be3240db099af0b8cbd2cc1e0b5b0d5..60b682a2fc0ce6590ad0d3bce3912d21668f6350 100644 (file)
@@ -51,7 +51,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_md5_plugin_create()
+PLUGIN_DEFINE(eap_md5)
 {
        eap_md5_plugin_t *this;
 
index 36df791ccaebfc054e085f23f41da87d57b3c2c0..a5b201fa9bd37e7222ced0bab9b3361bc235de76 100644 (file)
@@ -56,7 +56,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_mschapv2_plugin_create()
+PLUGIN_DEFINE(eap_mschapv2)
 {
        eap_mschapv2_plugin_t *this;
 
index 4ae9993e3ab58a9745b35dc60fbdb280c1b64aeb..577e062000885ef9ba900d7922c645097b3909f4 100644 (file)
@@ -57,7 +57,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_peap_plugin_create()
+PLUGIN_DEFINE(eap_peap)
 {
        eap_peap_plugin_t *this;
 
index 55d5e032ceab8c5739f41a4ce6c0ddc43c1d4711..1197a901ea8371ce3555f6fee2fa76760d815858 100644 (file)
@@ -346,7 +346,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_radius_plugin_create()
+PLUGIN_DEFINE(eap_radius)
 {
        private_eap_radius_plugin_t *this;
 
index b0cd5ff0439764a3d1903e70f535828e6f809a36..aa485702bce12a562f31a02caa5fb52ecde953c9 100644 (file)
@@ -81,7 +81,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_sim_plugin_create()
+PLUGIN_DEFINE(eap_sim)
 {
        private_eap_sim_plugin_t *this;
 
index 0a8b63161cb4bf6930828a8b26d7eec6c8d1707c..549bca77c8c79134620c77393a006155a8e59867 100644 (file)
@@ -127,7 +127,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * See header
  */
-plugin_t *eap_sim_file_plugin_create()
+PLUGIN_DEFINE(eap_sim_file)
 {
        private_eap_sim_file_t *this;
 
index 898e85345204b324017b6438c86248c402b403f5..a3152d423ed38129edcded6fa3fd81643f2f92f8 100644 (file)
@@ -71,7 +71,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * See header
  */
-plugin_t *eap_sim_pcsc_plugin_create()
+PLUGIN_DEFINE(eap_sim_pcsc)
 {
        private_eap_sim_pcsc_plugin_t *this;
 
index f0b1a04e6cd9534547efb45d2ea592de721b4f18..c9863aa661c1d864d2e630c604c102118f1273cd 100644 (file)
@@ -109,7 +109,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * See header
  */
-plugin_t *eap_simaka_pseudonym_plugin_create()
+PLUGIN_DEFINE(eap_simaka_pseudonym)
 {
        private_eap_simaka_pseudonym_t *this;
 
index 9d30641b2556381c7fece75683c8a33a7a440fc4..125dfa66e302d1a2c9dcc0526f504bd8c8f7a202 100644 (file)
@@ -109,7 +109,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * See header
  */
-plugin_t *eap_simaka_reauth_plugin_create()
+PLUGIN_DEFINE(eap_simaka_reauth)
 {
        private_eap_simaka_reauth_t *this;
 
index 95998b4ca7c5416d10ed5e0687a0e94e9321763e..0b25159f31b9314a86ae74c4e27122bd37e9f90c 100644 (file)
@@ -149,7 +149,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * See header
  */
-plugin_t *eap_simaka_sql_plugin_create()
+PLUGIN_DEFINE(eap_simaka_sql)
 {
        private_eap_simaka_sql_t *this;
 
index cfc3b8c0090d36d8e283168a39d6782bc5393e0c..a65d98fe0e1115476b4736c43d41ddb97f30f6b8 100644 (file)
@@ -55,7 +55,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_tls_plugin_create()
+PLUGIN_DEFINE(eap_tls)
 {
        eap_tls_plugin_t *this;
 
index c39f531498d5a293a687faf0d81c30f7294af99d..0e181087f792793442472c4fdc17db4be63353fa 100644 (file)
@@ -59,7 +59,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_tnc_plugin_create()
+PLUGIN_DEFINE(eap_tnc)
 {
        eap_tnc_plugin_t *this;
 
index e7f04d75bef82674db45db8dda2e05572b7e37ba..c9cddf02830eb57745dbed9f8b244c7b665e1376 100644 (file)
@@ -57,7 +57,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *eap_ttls_plugin_create()
+PLUGIN_DEFINE(eap_ttls)
 {
        eap_ttls_plugin_t *this;
 
index 200ba1a5e2bce7387b7abb47652d8924305b4546..fb5bdf0779c53cc84e2f98b00af88c0986dfc658 100644 (file)
@@ -89,7 +89,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *error_notify_plugin_create()
+PLUGIN_DEFINE(error_notify)
 {
        private_error_notify_plugin_t *this;
 
index ec611398389d95729d9509ed6598ee2544f1a82a..51f2b1c2514ecb672b305de1c9b8d683593351f9 100644 (file)
@@ -136,7 +136,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *ext_auth_plugin_create()
+PLUGIN_DEFINE(ext_auth)
 {
        private_ext_auth_plugin_t *this;
 
index dd547ce68f12dc6fded2ffb53343789c34e80c3d..e44c65574b3a657f5220b952f75745e6e9d21d8a 100644 (file)
@@ -89,7 +89,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *farp_plugin_create()
+PLUGIN_DEFINE(farp)
 {
        private_farp_plugin_t *this;
 
index 511060577cc14e37f1d7cace96cc663fc21b1512..49f6dd0f61b5953417a9b4e985bb0202f5fb6180 100644 (file)
@@ -93,7 +93,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *forecast_plugin_create()
+PLUGIN_DEFINE(forecast)
 {
        private_forecast_plugin_t *this;
 
index f67021b15291a822a2ae05d9634b23f93b86d5d2..fc2814036cbfddcd58cfbc9484d2ae292db7b0d1 100644 (file)
@@ -213,7 +213,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *ha_plugin_create()
+PLUGIN_DEFINE(ha)
 {
        private_ha_plugin_t *this;
 
index 8db2df3454c59cfe85bc8ea0ae9541a043dc33d1..23c5c30eb99530e49c3528e8b46ccb7c9f858850 100644 (file)
@@ -126,7 +126,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *ipseckey_plugin_create()
+PLUGIN_DEFINE(ipseckey)
 {
        private_ipseckey_plugin_t *this;
 
index ef999cc43a810d4fe66165570fe59ad63e43e83b..7ad84d1101cc57642bc4218d687685628026d0d5 100644 (file)
@@ -57,7 +57,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * See header file
  */
-plugin_t *kernel_iph_plugin_create()
+PLUGIN_DEFINE(kernel_iph)
 {
        private_kernel_iph_plugin_t *this;
 
index f539693eb55855572285c7b832b4070dd07f7005..e7d0259affdcbc1a2f388faaadddd18784355ecb 100644 (file)
@@ -110,7 +110,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *kernel_libipsec_plugin_create()
+PLUGIN_DEFINE(kernel_libipsec)
 {
        private_kernel_libipsec_plugin_t *this;
 
index de36b77141cc254c7a5ea36a6cdb197855f55824..5605942c4b2d88c5e3bad18fa18976698c970dbe 100644 (file)
@@ -82,7 +82,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *kernel_netlink_plugin_create()
+PLUGIN_DEFINE(kernel_netlink)
 {
        private_kernel_netlink_plugin_t *this;
 
index e0043fb3f348aa53e046d5e6ba2f761aacda8afb..bed86c0e557ca9c859ef8235f30fb24650c4a986 100644 (file)
@@ -57,7 +57,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *kernel_pfkey_plugin_create()
+PLUGIN_DEFINE(kernel_pfkey)
 {
        private_kernel_pfkey_plugin_t *this;
 
index a334a14f34f872d518916159aae7b18470b96838..442a6ed75bccf6101403c15a8bc9f2684c9bab51 100644 (file)
@@ -57,7 +57,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *kernel_pfroute_plugin_create()
+PLUGIN_DEFINE(kernel_pfroute)
 {
        private_kernel_pfroute_plugin_t *this;
 
index 6b6e56d172be298120713a7df79d47712e90e45b..b0e6cea71fe2fb45258d3097e4b2b862ab107514 100644 (file)
@@ -60,7 +60,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *kernel_wfp_plugin_create()
+PLUGIN_DEFINE(kernel_wfp)
 {
        private_kernel_wfp_plugin_t *this;
 
index b88887d1349a2e3dcc026de1e19c367ce8dbe4f5..f4daec0aefff80649bdc9a853646d36418b8bbab 100644 (file)
@@ -82,7 +82,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *led_plugin_create()
+PLUGIN_DEFINE(led)
 {
        private_led_plugin_t *this;
 
index 695e75b8303cb1467cf5617cad4bcf76f4f163b5..a7a8d0c94434d24ab22cbe2b1d0fe9f7a906a827 100644 (file)
@@ -266,7 +266,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *load_tester_plugin_create()
+PLUGIN_DEFINE(load_tester)
 {
        private_load_tester_plugin_t *this;
 
index c9f4c6a59baf1770c0c5a2c38e91b35bf0666798..4158c9f90d512bcda6f944d1eada0eb8d115dfa2 100644 (file)
@@ -89,7 +89,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *lookip_plugin_create()
+PLUGIN_DEFINE(lookip)
 {
        private_lookip_plugin_t *this;
 
index b38b6180413e2e5c454269220bbf47cbeaef86bc..b5cbe7da333ffbc43fa3cc8f4ce0c3df836e03c0 100644 (file)
@@ -129,7 +129,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *medcli_plugin_create()
+PLUGIN_DEFINE(medcli)
 {
        private_medcli_plugin_t *this;
 
index b94605c5264a36317d71cf8dba884f78e6f780ad..2ffd5e5f107d9427283615ee38eb4bba22636ba9 100644 (file)
@@ -119,7 +119,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *medsrv_plugin_create()
+PLUGIN_DEFINE(medsrv)
 {
        private_medsrv_plugin_t *this;
 
index 0f3010a6e3913984943df8b241ef8334d359c415..1588a6b98db44a5b31d75504b9ed140b657a52f3 100644 (file)
@@ -83,7 +83,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * See header
  */
-plugin_t *osx_attr_plugin_create()
+PLUGIN_DEFINE(osx_attr)
 {
        private_osx_attr_plugin_t *this;
 
index 8386370138c3bc72a464307d8fa122de6cfc5bfe..fb9c107852d93cfa36f1590c9afd1cf38971fb9f 100644 (file)
@@ -83,7 +83,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * See header
  */
-plugin_t *p_cscf_plugin_create()
+PLUGIN_DEFINE(p_cscf)
 {
        private_p_cscf_plugin_t *this;
 
index 54c4a2a052d2af12c1a216d11ddc87a6f2302d70..a6f247e33763ca8cc1926c2113dabb98f528dfd0 100644 (file)
@@ -82,7 +82,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *radattr_plugin_create()
+PLUGIN_DEFINE(radattr)
 {
        private_radattr_plugin_t *this;
 
index 60164e2c53e5ea83ba882a26f57e154fad1007da..ee5fc42351cb6474bf7a919c25c8e589f45b4d78 100644 (file)
@@ -83,7 +83,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *resolve_plugin_create()
+PLUGIN_DEFINE(resolve)
 {
        private_resolve_plugin_t *this;
 
index 93db5bcac1d6924cab7c016a2c41e30f34ebae04..d0c5858f0d808b3cf6c09b8f50c3191bcef7beb7 100644 (file)
@@ -88,7 +88,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor.
  */
-plugin_t *save_keys_plugin_create()
+PLUGIN_DEFINE(save_keys)
 {
        private_save_keys_plugin_t *this;
 
index 520fae5ff0baef4d35fe241086f50c35e740b4a6..3a96189b4c39b9a2be0a13a8c584590763c48d27 100644 (file)
@@ -81,7 +81,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * Described in header
  */
-plugin_t *selinux_plugin_create()
+PLUGIN_DEFINE(selinux)
 {
        private_selinux_plugin_t *this;
 
index d2afea708fd3546f764622169e60139dbcc8384e..eaff8da7e87d2a0bae08b7eda261a22423c4c738 100644 (file)
@@ -741,7 +741,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * Described in header file
  */
-plugin_t *smp_plugin_create()
+PLUGIN_DEFINE(smp)
 {
        struct sockaddr_un unix_addr = { AF_UNIX, IPSEC_PIDDIR "/charon.xml"};
        private_smp_t *this;
index dd987b224ebe1e48fbbd7ebc7fbdfb2bff48c7a6..dd0291f011e9176973bc40587bb685dabdd88a7a 100644 (file)
@@ -61,7 +61,7 @@ METHOD(plugin_t, get_features, int,
 /*
  * see header file
  */
-plugin_t *socket_default_plugin_create()
+PLUGIN_DEFINE(socket_default)
 {
        private_socket_default_plugin_t *this;
 
index a5888cc4432d35da741ebfc995cf09be33bb7579..13bf35ef59e17e47f45edc1ddb8150265715ecc2 100644 (file)
@@ -61,7 +61,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *socket_dynamic_plugin_create()
+PLUGIN_DEFINE(socket_dynamic)
 {
        private_socket_dynamic_plugin_t *this;
 
index 34aebdd7b2664bd8408c0c0cac4d2f9660cc1993..0dc6648a996347fec6ad07855858b78d64953e32 100644 (file)
@@ -59,7 +59,7 @@ METHOD(plugin_t, get_features, int,
 /**
  * Create instance of socket-win plugin
  */
-plugin_t *socket_win_plugin_create()
+PLUGIN_DEFINE(socket_win)
 {
        private_socket_win_plugin_t *this;
 
index 6c93a63b982a70bb7b3b217c9b519a2ab40eaa48..020637a4c8969f33305b639bddf890675aa38ebf 100644 (file)
@@ -130,7 +130,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *sql_plugin_create()
+PLUGIN_DEFINE(sql)
 {
        private_sql_plugin_t *this;
 
index b81da396c60cfc6bb17a5f1b30371149f6bfbf86..221ea6fda258c3e9bbac3dfc4a63bafb21551354 100644 (file)
@@ -92,7 +92,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *stroke_plugin_create()
+PLUGIN_DEFINE(stroke)
 {
        private_stroke_plugin_t *this;
 
index bbebf82da3b8f52ae3b15cbb8a30a39539c26f2f..a05041ae177999861e357ce19033be7afbb14a54 100644 (file)
@@ -294,7 +294,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *systime_fix_plugin_create()
+PLUGIN_DEFINE(systime_fix)
 {
        private_systime_fix_plugin_t *this;
 
index bd806fadafe275aefb79dbf6efd56a3394b6baa2..af97ccc05e0b73d9630754e75553dc3d34f9a321 100644 (file)
@@ -111,7 +111,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *tnc_ifmap_plugin_create()
+PLUGIN_DEFINE(tnc_ifmap)
 {
        private_tnc_ifmap_plugin_t *this;
 
index c42b991c7f399284b455ba110bee4d8526e54072..737d2bfb63e68b30ba3431a9fccecabed57f06ac 100644 (file)
@@ -89,7 +89,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *tnc_pdp_plugin_create()
+PLUGIN_DEFINE(tnc_pdp)
 {
        private_tnc_pdp_plugin_t *this;
 
index 1d309d8187d54e5f75d58c69c916581e10ad49fe..679bc1d6cb5f079ade57243f6bd4bb8aabc3ac41 100644 (file)
@@ -104,7 +104,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *unity_plugin_create()
+PLUGIN_DEFINE(unity)
 {
        private_unity_plugin_t *this;
 
index 90e3376e6b46f1d4bc90ebe96debff18825ef375..4cd647b6b2f5f77aa498fb88c9ae1597a7a3e69b 100644 (file)
@@ -101,7 +101,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *updown_plugin_create()
+PLUGIN_DEFINE(updown)
 {
        private_updown_plugin_t *this;
 
index d834140c6d52413fc14eef081ecf168a54c738fc..e829f8acc959d9aff778bf466b415d320641666c 100644 (file)
@@ -189,7 +189,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *vici_plugin_create()
+PLUGIN_DEFINE(vici)
 {
        private_vici_plugin_t *this;
 
index 253f8a840803d5025183fb3a4307ae4fdce5589d..5c05f663213617f636628365c09c8f90b968ed27 100644 (file)
@@ -89,7 +89,7 @@ METHOD(plugin_t, destroy, void,
 /**
  * Plugin constructor
  */
-plugin_t *whitelist_plugin_create()
+PLUGIN_DEFINE(whitelist)
 {
        private_whitelist_plugin_t *this;
 
index 0f25577a25484b0ab8a2d864fd39c5d3be0941f8..9a2de05345a4605780ba744ce1a37e6f8af6aaa2 100644 (file)
@@ -45,7 +45,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *xauth_eap_plugin_create()
+PLUGIN_DEFINE(xauth_eap)
 {
        xauth_eap_plugin_t *this;
 
index 549fc380cbecea0cd125e00583d3f20d4e96ff1b..2789754e2a9a77dfdaf0d1dc03119b03baebd6fa 100644 (file)
@@ -47,7 +47,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *xauth_generic_plugin_create()
+PLUGIN_DEFINE(xauth_generic)
 {
        xauth_generic_plugin_t *this;
 
index 42b2de4e0e3cb9051ba95381a45392b3af7e2033..e529db45157cc593317f3369bd304f50d794470e 100644 (file)
@@ -45,7 +45,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *xauth_noauth_plugin_create()
+PLUGIN_DEFINE(xauth_noauth)
 {
        xauth_noauth_plugin_t *this;
 
index 0b71f239626ff07a79098fbb252e706ae5517c22..b001f3894446c2721e56b321f7d1ab8438c98431 100644 (file)
@@ -97,7 +97,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *xauth_pam_plugin_create()
+PLUGIN_DEFINE(xauth_pam)
 {
        private_xauth_pam_plugin_t *this;
 
index d025bc3378b584d69b282302b3ea88262a8a6f6c..1f73a3cc894243cc61c366568d5dd23a52df09f9 100644 (file)
@@ -81,7 +81,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *acert_plugin_create()
+PLUGIN_DEFINE(acert)
 {
        private_acert_plugin_t *this;
 
index 89a80557c5e4302ec1bced48b36c4a8c67079a4c..b02cc2c4072d390a47e3461e0343b71f587983db 100644 (file)
@@ -61,7 +61,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *aes_plugin_create()
+PLUGIN_DEFINE(aes)
 {
        private_aes_plugin_t *this;
 
index 245621297eb6ca1a4ecdad27e368c0a5c2f7e3b5..77e715b8621049c6b33a143c35565b953c14c5d0 100644 (file)
@@ -112,7 +112,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *aesni_plugin_create()
+PLUGIN_DEFINE(aesni)
 {
        private_aesni_plugin_t *this;
 
index 647241b5f5ed582379c4d01bfa161b22ba6f3fce..1323f9b5fe52bf7bdf7abd49dba63ee181a15859 100644 (file)
@@ -92,7 +92,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *af_alg_plugin_create()
+PLUGIN_DEFINE(af_alg)
 {
        private_af_alg_plugin_t *this;
 
index 9e39d51555cf2f9c2ba8cb380037daefa0f11ebe..574100a733f9bd04a68af36ef134da66153475d2 100644 (file)
@@ -60,7 +60,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *agent_plugin_create()
+PLUGIN_DEFINE(agent)
 {
        private_agent_plugin_t *this;
 
index 2adf84f52805b832c7911d2f7c66dd1bf7d95fdf..ae2173b6df9d85ebb98cde7e7616a93c41d96bd2 100644 (file)
@@ -57,7 +57,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *blowfish_plugin_create()
+PLUGIN_DEFINE(blowfish)
 {
        private_blowfish_plugin_t *this;
 
index 5a702775b5a799fd942a569f186ef6934522a777..b07ab67cae83ea580f328c9190a71d9b8c7eb241 100644 (file)
@@ -391,7 +391,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * Described in header
  */
-plugin_t *botan_plugin_create()
+PLUGIN_DEFINE(botan)
 {
        private_botan_plugin_t *this;
 
index a6954268eb2c51ad9f7d75cc17313232f9e9973c..7f3bddb861e296797148ff9eb01a368b36f23369 100644 (file)
@@ -94,7 +94,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *ccm_plugin_create()
+PLUGIN_DEFINE(ccm)
 {
        private_ccm_plugin_t *this;
 
index 7840526f75aa7bca85ae2db8b0f70c5ce6235f1b..e42d3098eb345d4ca9256c5b1e463504165bed9c 100644 (file)
@@ -61,7 +61,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *chapoly_plugin_create()
+PLUGIN_DEFINE(chapoly)
 {
        private_chapoly_plugin_t *this;
 
index ae29ecb40543e2b99572f3171ed6009091e8d234..82879ef4cbd7ba22fa65fd53b3452d69f44a74d0 100644 (file)
@@ -62,7 +62,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *cmac_plugin_create()
+PLUGIN_DEFINE(cmac)
 {
        private_cmac_plugin_t *this;
 
index ce54f1ac176149fe1f6878842dc83e57158ca48b..78820d43642d7c66675107c45e7202dcf2b232b0 100644 (file)
@@ -83,7 +83,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *constraints_plugin_create()
+PLUGIN_DEFINE(constraints)
 {
        private_constraints_plugin_t *this;
 
index 2b448de8011f4e66a41594974191dd8d0a1c1230..885f0ad2437e249221fcd5f1cd803ad9da832d38 100644 (file)
@@ -70,7 +70,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *ctr_plugin_create()
+PLUGIN_DEFINE(ctr)
 {
        private_ctr_plugin_t *this;
 
index 8f3166bcd6022590bd9d60a1dcd2b12e366215eb..0334a9d065df18b9a84b693b51eaac184c9bccdd 100644 (file)
@@ -210,7 +210,7 @@ static void set_ssl_backend()
 /*
  * see header file
  */
-plugin_t *curl_plugin_create()
+PLUGIN_DEFINE(curl)
 {
        CURLcode res;
        private_curl_plugin_t *this;
index 7afe4e9e231a78f9a32a5d3ab9da8cb7c2167d8d..57f4e80b52a8df3dd0c568f87af720aff4ee7400 100644 (file)
@@ -82,7 +82,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *curve25519_plugin_create()
+PLUGIN_DEFINE(curve25519)
 {
        private_curve25519_plugin_t *this;
 
index ffc07c4f1915afd44b8a353359cabb2941422248..5483ad7606b95e890c3978cd0977cb1b981039f7 100644 (file)
@@ -58,7 +58,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *des_plugin_create()
+PLUGIN_DEFINE(des)
 {
        private_des_plugin_t *this;
 
index 2d000a83b44a775876f53e39fcbefdc3d254cfc8..21a5c4362778667a38fcc295623cc6ec1b3a3335 100644 (file)
@@ -63,7 +63,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *dnskey_plugin_create()
+PLUGIN_DEFINE(dnskey)
 {
        private_dnskey_plugin_t *this;
 
index f936b90997642bbf1bbd342a1e47d2656b097ac1..f14bd566956c8e70fae4a8c7a7e91946430ace10 100644 (file)
@@ -75,7 +75,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *drbg_plugin_create()
+PLUGIN_DEFINE(drbg)
 {
        private_drbg_plugin_t *this;
 
index 9331a0248d7da99b677c3bfc95c2bff0d4e24d8c..7f13c123f3de93386d75a63f88ebcd061f392dde 100644 (file)
@@ -59,7 +59,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *files_plugin_create()
+PLUGIN_DEFINE(files)
 {
        private_files_plugin_t *this;
 
index 6ee1c095dfdd13735cadc38cb8cda72bbb4e1590..d13c259c819c69c63a6393d5425bb019a1a24b79 100644 (file)
@@ -59,7 +59,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *fips_prf_plugin_create()
+PLUGIN_DEFINE(fips_prf)
 {
        private_fips_prf_plugin_t *this;
 
index 3a973834bad6a20253959693c6466b4321de6f23..6bf022f5620c3ea798595cb39f644e7752c03a09 100644 (file)
@@ -76,7 +76,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *gcm_plugin_create()
+PLUGIN_DEFINE(gcm)
 {
        private_gcm_plugin_t *this;
 
index 8d9b7a3057248e9b62ecca61c8b6e0d8fcca5e57..34a4fbfc2dc88a2621bac7a3a15e239933470c53 100644 (file)
@@ -172,7 +172,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *gcrypt_plugin_create()
+PLUGIN_DEFINE(gcrypt)
 {
        private_gcrypt_plugin_t *this;
        u_char *dummy[1];
index ba9b5dcb91df9288260936d3311436154c7afefb..d857428a3c9254861c9384ac7db45d4767f590fc 100644 (file)
@@ -158,7 +158,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *gmp_plugin_create()
+PLUGIN_DEFINE(gmp)
 {
        private_gmp_plugin_t *this;
 
index 1e83ee6178d8cf43fa179d9d1a8cfd8639752cda..025f4eec7592f6a55e5068760ec157a16ad93885 100644 (file)
@@ -90,7 +90,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *hmac_plugin_create()
+PLUGIN_DEFINE(hmac)
 {
        private_hmac_plugin_t *this;
 
index 048cfb21ea8a969bc699c4f4adffba7647242610..61b68d3248b5889d258a0acc1421abe936dc8a94 100644 (file)
@@ -71,7 +71,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * Described in header
  */
-plugin_t *kdf_plugin_create()
+PLUGIN_DEFINE(kdf)
 {
        private_kdf_plugin_t *this;
 
index 488d20f12061d2ef269698234171631de42c6649..6a58eb583303898480650f1460799eb1a3e9d1c0 100644 (file)
@@ -81,7 +81,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *keychain_plugin_create()
+PLUGIN_DEFINE(keychain)
 {
        private_keychain_plugin_t *this;
 
index 71785829fa7eff1cbe8f4143daee93d26b6e0abc..68f4a1dda5e13f95b83c81702a55f046b8c4e1c0 100644 (file)
@@ -59,7 +59,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *ldap_plugin_create()
+PLUGIN_DEFINE(ldap)
 {
        private_ldap_plugin_t *this;
 
index f2c809c50d8e4ca137c202761406dfe67d1f9112..36d441b86a6c0ef3eef6e2dbdfe371778b42ad3d 100644 (file)
@@ -56,7 +56,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *md4_plugin_create()
+PLUGIN_DEFINE(md4)
 {
        private_md4_plugin_t *this;
 
index edd513d5a966c7cdc31116035ab2df3d899694de..629672c8ff72cc4412c979cf4ecdaf80566c03a9 100644 (file)
@@ -56,7 +56,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *md5_plugin_create()
+PLUGIN_DEFINE(md5)
 {
        private_md5_plugin_t *this;
 
index 36ce54b37ef06e5a2067dd9258e0fa94e0d5244d..ef4eb83b91aa651a83be54fe04ded137e4de3088 100644 (file)
@@ -75,7 +75,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *mgf1_plugin_create()
+PLUGIN_DEFINE(mgf1)
 {
        private_mgf1_plugin_t *this;
 
index 752c20da7c726bc52988a85c601026afc20fee5f..2c0432b45e97ea7046e2796651ac68b041c78b46 100644 (file)
@@ -76,7 +76,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * Described in header
  */
-plugin_t *ml_plugin_create()
+PLUGIN_DEFINE(ml)
 {
        private_plugin_t *this;
 
index aa1b8cda3423ffc599ee55fc1cb6e1250ec62c2d..ee1bb742bd2bed56635bb6c79642e15ba79a6db2 100644 (file)
@@ -60,7 +60,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *mysql_plugin_create()
+PLUGIN_DEFINE(mysql)
 {
        private_mysql_plugin_t *this;
 
index 3f9cb799d1a7a2dea5ff4246f5a16279edab82f2..a7666c50426ab1a5994d6ea9091c3c4a68d4dee8 100644 (file)
@@ -59,7 +59,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *nonce_plugin_create()
+PLUGIN_DEFINE(nonce)
 {
        private_nonce_plugin_t *this;
 
index 67f888c19a0a0d5076c4f295940ee0bff85c76ea..c3e1d2e1737fe193d8a39a1094cf6f4a5d330244 100644 (file)
@@ -775,7 +775,7 @@ static int concat_ossl_providers(OSSL_PROVIDER *provider, void *cbdata)
 /*
  * see header file
  */
-plugin_t *openssl_plugin_create()
+PLUGIN_DEFINE(openssl)
 {
        private_openssl_plugin_t *this;
        int fips_mode;
index afb8a61d7e467938eac41feb97312762099a569e..e5c11a1ba9aa4bc1326295a7d8077241c8f75f01 100644 (file)
@@ -85,7 +85,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *openxpki_plugin_create()
+PLUGIN_DEFINE(openxpki)
 {
        private_openxpki_plugin_t *this;
 
index 4cd8038034354f01b552f945841eea3264b70e25..84b98af2d5ff26d8fc1b189cdffa795c1d898489 100644 (file)
@@ -101,7 +101,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *padlock_plugin_create()
+PLUGIN_DEFINE(padlock)
 {
        private_padlock_plugin_t *this;
 
index 90f0e89a0bedeef50c290f477d21a1bbd719c088..d46906168e1a6969fdb4843d6272d8ceca990887 100644 (file)
@@ -140,7 +140,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *pem_plugin_create()
+PLUGIN_DEFINE(pem)
 {
        private_pem_plugin_t *this;
 
index ea6699f7ddbdd127ef3bc1766509b840f406cf05..9fc06d96e6d460ab64f290f7585442b5ec3bcd32 100644 (file)
@@ -72,7 +72,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *pgp_plugin_create()
+PLUGIN_DEFINE(pgp)
 {
        private_pgp_plugin_t *this;
 
index 797468955487b021f956d2ec67e88ffe9251bb5a..68a57bceed1858321e2ec30e85ea6fe222d6ee17 100644 (file)
@@ -74,7 +74,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *pkcs1_plugin_create()
+PLUGIN_DEFINE(pkcs1)
 {
        private_pkcs1_plugin_t *this;
 
index 72b5ddd2f0172f7211540da5f889f36ec3b1d273..5510db99f4fa5a4d40c9d4f38a86d2005978780b 100644 (file)
@@ -294,7 +294,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *pkcs11_plugin_create()
+PLUGIN_DEFINE(pkcs11)
 {
        private_pkcs11_plugin_t *this;
 
index e8991ded7a8859cf9f38ebfae29ad049cf86fcee..79bce6472365f2c9a44063be617b8ac776872702 100644 (file)
@@ -65,7 +65,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *pkcs12_plugin_create()
+PLUGIN_DEFINE(pkcs12)
 {
        private_pkcs12_plugin_t *this;
 
index 9d2e03421170ed4ca965fc0d12632e5fee410641..9df16f5120465447c37de5350925762afa077025 100644 (file)
@@ -67,7 +67,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *pkcs7_plugin_create()
+PLUGIN_DEFINE(pkcs7)
 {
        private_pkcs7_plugin_t *this;
 
index 8841720a329d6887709d9002aa675960c3671cd3..44b0b1649bf0289ec097a42faa9cba6162d86d12 100644 (file)
@@ -63,7 +63,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *pkcs8_plugin_create()
+PLUGIN_DEFINE(pkcs8)
 {
        private_pkcs8_plugin_t *this;
 
index 9b1c6318766782bc4166a2727b298437723d7436..91275c92dbba8eb13c33a01142c4ad467685c8ed 100644 (file)
@@ -62,7 +62,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *pubkey_plugin_create()
+PLUGIN_DEFINE(pubkey)
 {
        private_pubkey_plugin_t *this;
 
index a4d1088a3b1d94525a2a9dfff7903649ad2c1fcd..c2fbc355b243bca0eacbda0bd64d83c24270074b 100644 (file)
@@ -133,7 +133,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *random_plugin_create()
+PLUGIN_DEFINE(random)
 {
        private_random_plugin_t *this;
        char *urandom_file, *random_file;
index 9eea536786194c21514338b30864fa56f24ee3f7..19322b3f1bb6d89455b4f9f086a6e6e78d7e9a8c 100644 (file)
@@ -58,7 +58,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * Described in header
  */
-plugin_t *rc2_plugin_create()
+PLUGIN_DEFINE(rc2)
 {
        private_rc2_plugin_t *this;
 
index 8af5c6e64d7b03a593167e8bcbfe67c833e678ee..d23d55e85a33da916fa8379ebfbf27674fae961e 100644 (file)
@@ -72,7 +72,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *rdrand_plugin_create()
+PLUGIN_DEFINE(rdrand)
 {
        private_rdrand_plugin_t *this;
 
index 160a223a8b060226345b6ba7078e2b814fc62e41..aec9433d6bbae4b5be68a6f896e9dc7de2590983 100644 (file)
@@ -94,7 +94,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *revocation_plugin_create()
+PLUGIN_DEFINE(revocation)
 {
        private_revocation_plugin_t *this;
 
index 47525397587dbc4e0502e0961f6e77945176fa82..8fc3ef7666ba7fc36d6cd9d44d456b11888bb7ef 100644 (file)
@@ -59,7 +59,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *sha1_plugin_create()
+PLUGIN_DEFINE(sha1)
 {
        private_sha1_plugin_t *this;
 
index 27f13a6fed9ffa4f1b05282567dcb034782cb19a..b43f460b4a0897d5d1d01f4b52d2af61baaf1af3 100644 (file)
@@ -59,7 +59,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *sha2_plugin_create()
+PLUGIN_DEFINE(sha2)
 {
        private_sha2_plugin_t *this;
 
index 228d9370a0ad1083dcde9d92130c23d67616caf2..c9cd4eca5145ff3bc77229c44ab339a32abb5111 100644 (file)
@@ -65,7 +65,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *sha3_plugin_create()
+PLUGIN_DEFINE(sha3)
 {
        private_sha3_plugin_t *this;
 
@@ -81,4 +81,3 @@ plugin_t *sha3_plugin_create()
 
        return &this->public.plugin;
 }
-
index 37c2e705e0aa2658dc436105dd584dc0bb62b21b..9ab881f0e3eb50fe8018c70a5e11e6ef539a5709 100644 (file)
@@ -62,7 +62,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *soup_plugin_create()
+PLUGIN_DEFINE(soup)
 {
        private_soup_plugin_t *this;
 
index 8812c9947c2e5453e7fc4a463ac0702fcd34c371..eadb7ee3bdb2193e26294f45caeeb29c6d89010a 100644 (file)
@@ -59,7 +59,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *sqlite_plugin_create()
+PLUGIN_DEFINE(sqlite)
 {
        private_sqlite_plugin_t *this;
 #if SQLITE_VERSION_NUMBER >= 3005000 && DEBUG_LEVEL >= 2
index d000962afd4ebaeb81b5a9fbd66b2b765a1f8ff7..f9ab7966a4e3d9aeccbb30903c2e319db29c413d 100644 (file)
@@ -62,7 +62,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *sshkey_plugin_create()
+PLUGIN_DEFINE(sshkey)
 {
        private_sshkey_plugin_t *this;
 
index 3c5ef5c2721a2b9bae82fe71319e9aa45c101e15..bf8596ce40540ef78c07755d144d42cfaf2dcfbf 100644 (file)
@@ -176,7 +176,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *test_vectors_plugin_create()
+PLUGIN_DEFINE(test_vectors)
 {
        private_test_vectors_plugin_t *this;
        int i;
index c22f539253d999aee869d1b50d3ea84ceb69e6e3..899e8e1cad11efea4d9b900047f6d124c2bcaa2d 100644 (file)
@@ -58,7 +58,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *unbound_plugin_create()
+PLUGIN_DEFINE(unbound)
 {
        private_unbound_plugin_t *this;
 
index 968174e04c958cfefeee60d7c18783ac4e6e0f3d..2e1432012e07c8fd4d3bd27138e35c0b294f803d 100644 (file)
@@ -57,7 +57,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *winhttp_plugin_create()
+PLUGIN_DEFINE(winhttp)
 {
        private_winhttp_plugin_t *this;
 
index c22ae36580a71515e4a66833dea6a3c9fd650252..73b73780c549452a8b630dfb405fb7bf4ea65144 100644 (file)
@@ -532,7 +532,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * Described in header
  */
-plugin_t *wolfssl_plugin_create()
+PLUGIN_DEFINE(wolfssl)
 {
        private_wolfssl_plugin_t *this;
        bool fips_mode;
index ca7922da8523abc22cd0cfac67cc2605c4d428eb..c7e937587a11269f17effd289abc134336c549a6 100644 (file)
@@ -95,7 +95,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *x509_plugin_create()
+PLUGIN_DEFINE(x509)
 {
        private_x509_plugin_t *this;
 
index 1c0fea14d31ae3560eede5135818dfbcc4b20261..10f5e5e9f06f84c421bc948ee0e381da3716fd19 100644 (file)
@@ -66,7 +66,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *xcbc_plugin_create()
+PLUGIN_DEFINE(xcbc)
 {
        private_xcbc_plugin_t *this;
 
index 4dbdb51bdcaf53f3d8713c802e3d71b1c411f965..49bac424ebd40b261244c6b3af3b4cdde997c792 100644 (file)
@@ -62,7 +62,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *tnc_imc_plugin_create(void)
+PLUGIN_DEFINE(tnc_imc)
 {
        private_tnc_imc_plugin_t *this;
 
index 4252aa0e01bb62ec648b3f0179cb9dea736e421e..14c28fee696c26ca979a49783ae3d5744c6d0760 100644 (file)
@@ -65,7 +65,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *tnc_imv_plugin_create()
+PLUGIN_DEFINE(tnc_imv)
 {
        private_tnc_imv_plugin_t *this;
 
index abbfd8330410b06065b5371e6ac8b341f31ee094..16f04fe700473bd5b8431fd38715f2e640f43313 100644 (file)
@@ -63,7 +63,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *tnc_tnccs_plugin_create(void)
+PLUGIN_DEFINE(tnc_tnccs)
 {
        private_tnc_tnccs_plugin_t *this;
 
index d6516e60458dc92f1041859e43891db582f6dd0a..05764bf9072f0e3ac2ace1e423d0effff628834e 100644 (file)
@@ -46,7 +46,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *tnccs_11_plugin_create()
+PLUGIN_DEFINE(tnccs_11)
 {
        tnccs_11_plugin_t *this;
 
index acaaa14c05d49792d71dc460dccf193435997e19..c3621092729154143bc22990bb175b145d3766b1 100644 (file)
@@ -46,7 +46,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *tnccs_20_plugin_create()
+PLUGIN_DEFINE(tnccs_20)
 {
        tnccs_20_plugin_t *this;
 
index fba146fc7184fd200e47c80c53624a09b531a14b..2b044f6c60ff57891fc7160c5f06b50377ca7124 100644 (file)
@@ -47,7 +47,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *tnccs_dynamic_plugin_create()
+PLUGIN_DEFINE(tnccs_dynamic)
 {
        tnccs_dynamic_plugin_t *this;
 
index 35e5923ce6aeb09f13a78f6104a3e429c738a1d6..5aa7e1fca789806a3593fefffab300731a021338 100644 (file)
@@ -88,7 +88,7 @@ METHOD(plugin_t, destroy, void,
 /*
  * see header file
  */
-plugin_t *tpm_plugin_create()
+PLUGIN_DEFINE(tpm)
 {
        private_tpm_plugin_t *this;