]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Added a (not yet implemented) plugin_t method to reload plugin configuration
authorMartin Willi <martin@revosec.ch>
Mon, 11 Apr 2011 17:12:45 +0000 (19:12 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 15 Apr 2011 08:07:13 +0000 (10:07 +0200)
89 files changed:
src/libcharon/plugins/addrblock/addrblock_plugin.c
src/libcharon/plugins/android/android_plugin.c
src/libcharon/plugins/coupling/coupling_plugin.c
src/libcharon/plugins/dhcp/dhcp_plugin.c
src/libcharon/plugins/duplicheck/duplicheck_plugin.c
src/libcharon/plugins/eap_aka/eap_aka_plugin.c
src/libcharon/plugins/eap_aka_3gpp2/eap_aka_3gpp2_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/farp/farp_plugin.c
src/libcharon/plugins/ha/ha_plugin.c
src/libcharon/plugins/led/led_plugin.c
src/libcharon/plugins/load_tester/load_tester_plugin.c
src/libcharon/plugins/maemo/maemo_plugin.c
src/libcharon/plugins/medcli/medcli_plugin.c
src/libcharon/plugins/medsrv/medsrv_plugin.c
src/libcharon/plugins/nm/nm_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_raw/socket_raw_plugin.c
src/libcharon/plugins/sql/sql_plugin.c
src/libcharon/plugins/stroke/stroke_plugin.c
src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c
src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c
src/libcharon/plugins/tnccs_11/tnccs_11_plugin.c
src/libcharon/plugins/tnccs_20/tnccs_20_plugin.c
src/libcharon/plugins/tnccs_dynamic/tnccs_dynamic_plugin.c
src/libcharon/plugins/uci/uci_plugin.c
src/libcharon/plugins/unit_tester/unit_tester.c
src/libcharon/plugins/updown/updown_plugin.c
src/libcharon/plugins/whitelist/whitelist_plugin.c
src/libhydra/plugins/attr/attr_plugin.c
src/libhydra/plugins/attr_sql/attr_sql_plugin.c
src/libhydra/plugins/kernel_klips/kernel_klips_plugin.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_plugin.c
src/libhydra/plugins/kernel_pfkey/kernel_pfkey_plugin.c
src/libhydra/plugins/kernel_pfroute/kernel_pfroute_plugin.c
src/libhydra/plugins/resolve/resolve_plugin.c
src/libstrongswan/plugins/aes/aes_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/ccm/ccm_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/des/des_plugin.c
src/libstrongswan/plugins/dnskey/dnskey_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/ldap/ldap_plugin.c
src/libstrongswan/plugins/md4/md4_plugin.c
src/libstrongswan/plugins/md5/md5_plugin.c
src/libstrongswan/plugins/mysql/mysql_plugin.c
src/libstrongswan/plugins/openssl/openssl_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/plugin.h
src/libstrongswan/plugins/pubkey/pubkey_plugin.c
src/libstrongswan/plugins/random/random_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/soup/soup_plugin.c
src/libstrongswan/plugins/sqlite/sqlite_plugin.c
src/libstrongswan/plugins/test_vectors/test_vectors_plugin.c
src/libstrongswan/plugins/x509/x509_plugin.c
src/libstrongswan/plugins/xcbc/xcbc_plugin.c
src/pluto/plugins/xauth/xauth_plugin.c

index a64956803f717139e3331a021ab9a3fe84718454..72c551f0f52d1636a55472301ce78a37591f9872 100644 (file)
@@ -70,6 +70,7 @@ plugin_t *addrblock_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c55a829099d8e1c21de3b40ce3a1b24adcfbb0be..54a7017a1565c47ec8c41553d61027f9160a1c3d 100644 (file)
@@ -87,6 +87,7 @@ plugin_t *android_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index f2125d97381fe07f5e204fae86099735616b9be6..7ccc51db5985629cbe6357e36a09ed674876fae2 100644 (file)
@@ -62,6 +62,7 @@ plugin_t *coupling_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 25906e36e48462b2a48979b320235fa0494c2660..f8782c2a4b0f69d3815c8380fa206a275a0bcccb 100644 (file)
@@ -71,6 +71,7 @@ plugin_t *dhcp_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index f8868e4b085990cbb3490a2e67343ee4f88916ba..5bc1a14af735b6fd8b7baeaf3cb793817a0b8b68 100644 (file)
@@ -75,6 +75,7 @@ plugin_t *duplicheck_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 7f120f9aa1dd65b080d75656d7ccc572ae51e6dd..394a14b5910870336c1d028f9aa88d50caa61796 100644 (file)
@@ -46,6 +46,7 @@ plugin_t *eap_aka_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index 743744da2c213daf92648c4e2916108b454d67c4..ef5f62e34e696deca87382bcfb5a915e29e688c3 100644 (file)
@@ -76,6 +76,7 @@ plugin_t *eap_aka_3gpp2_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index da1ee1c716167f2f4a5fb4bbdd8e122fb4c2061e..c40ce60ebaaa3d829c862ce5f9d0fde505ee7147 100644 (file)
@@ -48,6 +48,7 @@ plugin_t *eap_gtc_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index 57762b3e2466403931ffe5fa3e8ed2eccec9dc59..3297416b2c51cf52646cc84d8a2c8c0893830864 100644 (file)
@@ -44,6 +44,7 @@ plugin_t *eap_identity_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index 13d34e9932c4b2aa679584668d571c78de9e6104..fe5ae51bf3e25416b4fcd8e87f1e6339d37bf4d8 100644 (file)
@@ -44,6 +44,7 @@ plugin_t *eap_md5_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index ae4f613fdb7d25a4326590866c144b91130643f9..e809b14b6b0b9c32b300b7a685506ea294814e3c 100644 (file)
@@ -45,6 +45,7 @@ plugin_t *eap_mschapv2_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index b39b49c9ed3424e0597a009c9b21728d3ee5e2ec..bac5f2d3edde43e20357be030cf1e61717f753d4 100644 (file)
@@ -45,6 +45,7 @@ plugin_t *eap_peap_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index 80b72e79f214e4f7bb1bc1a0e3d0231fee5935e0..7ae3da0173f928f259ef7af4d6de3bde4f501e65 100644 (file)
@@ -160,6 +160,7 @@ plugin_t *eap_radius_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 1327f7f2d022532c4f94c9f8eeef5f4322f2b26d..b1529254412e247352459075fa1a57e427c4d4a3 100644 (file)
@@ -46,6 +46,7 @@ plugin_t *eap_sim_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index 97b726d1ab4cf3940eefcc49fd8d94771ac876fb..369c2eb11bf73b9e5ed2c2d946d9645b66037d1d 100644 (file)
@@ -78,6 +78,7 @@ plugin_t *eap_sim_file_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index ee8fe9559062136c583dcacf4a988f5494d59a5f..44096455ea7d524ad2e645d6103e4a10004980ef 100644 (file)
@@ -60,6 +60,7 @@ plugin_t *eap_sim_pcsc_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 507869ede0abc03e6f80f09d0a1322cd6ce32dc6..06631b1c5eecdc803b09ebb87e71bc72749bab58 100644 (file)
@@ -69,6 +69,7 @@ plugin_t *eap_simaka_pseudonym_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index cf39b436dc9a506227bb7369a5a7b46767c120ba..343e4eefb90c93218d79f2fd60b9e397eabd6694 100644 (file)
@@ -69,6 +69,7 @@ plugin_t *eap_simaka_reauth_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 192bfbc1ce2f0c408233ae7db47b1c6706133ed2..5a528153d5502c3cb6ce527325eb06de8a1b3c9f 100644 (file)
@@ -94,6 +94,7 @@ plugin_t *eap_simaka_sql_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c8578b78dc869726832f0c2e292ba9b1255fc5bd..7afb798192059c8e8e41fbad9c16efce3f594876 100644 (file)
@@ -45,6 +45,7 @@ plugin_t *eap_tls_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index 2b982a22bc5aa3c50d486eac15aaf200975540e5..93847e636fe341fb6fabc377fa0b913e420b386f 100644 (file)
@@ -44,6 +44,7 @@ plugin_t *eap_tnc_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index 25876807c63da4955cf0a5ac3e654ee59c9fd2c1..cbc3929bbc82e41bcb60ba1ab9b415d53229eb8e 100644 (file)
@@ -45,6 +45,7 @@ plugin_t *eap_ttls_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index a0401e356bb62b48b47f985d99a7e98309768c05..a30c11962892a59af02b712be604397d3046378a 100644 (file)
@@ -69,6 +69,7 @@ plugin_t *farp_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c02e0262a8dc9faa77c2ecff2ec211ef009016e9..b4bde5ea5e98397eff91c1f2df2f03f8599817f6 100644 (file)
@@ -151,6 +151,7 @@ plugin_t *ha_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 04443df321098fe242573eaa32a15e63db99085b..b6b69b4668d5ee6a55c43175454e0eea70d93eb8 100644 (file)
@@ -62,6 +62,7 @@ plugin_t *led_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c4a470f517beb2b3882552334f84e3d6075bc7f1..94115e3075e19e7dce69aafea98bfed77538ae9c 100644 (file)
@@ -196,6 +196,7 @@ plugin_t *load_tester_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 2a946a1bc7634b0765bb510193c2dd1479817276..38cb031b5ca07a0ddc5415bc3ba4e31c5c81c2e4 100644 (file)
@@ -60,6 +60,7 @@ plugin_t *maemo_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c6ee094e5575d7e2c5fd36c6f05dc463a9615742..469915476f19feffb32afc7039e4bcf30c6afdfb 100644 (file)
@@ -85,6 +85,7 @@ plugin_t *medcli_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 1b4e4bbc3ac49e11fb60b3583ab7bdeefb1f8a08..5df46d04f1c86b0240eaed9ab0e954cf937f0eb0 100644 (file)
@@ -77,6 +77,7 @@ plugin_t *medsrv_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c0612404dd44a36b1c840846019d8f1c34051737..f1d3be7a5fee8cd2f709dfc7b12d618661070bc1 100644 (file)
@@ -112,6 +112,7 @@ plugin_t *nm_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c65830ba61f5a8fff2b19c32513af1e377e28f67..d20f32248a4bfeb489d245ad929fba4dc136c92d 100644 (file)
@@ -734,6 +734,7 @@ plugin_t *smp_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 2227f4aa7bce277efa7a5c7579d3e375e425f10b..1bc8244d50ede5a2eccc300c9e01e90cc6409b68 100644 (file)
@@ -59,6 +59,7 @@ plugin_t *socket_default_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index d481ce0ffc77c09cb057c220fc34df64cf0f897d..c5ea37a101a33bb0ad081be05af66fde7028c079 100644 (file)
@@ -59,6 +59,7 @@ plugin_t *socket_dynamic_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index a441aa36d9795dc1354cb7265184e79ecb43ef7e..5bd28bd42c5f07ab28fd55b961713c8947da745d 100644 (file)
@@ -59,6 +59,7 @@ plugin_t *socket_raw_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index f71ffa111cc69acab2a20e7271e4037245b49e1d..d915d46966571a157a08afbca96fab8b28dc857a 100644 (file)
@@ -91,6 +91,7 @@ plugin_t *sql_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index a23924261a73dcbb530fa4bb2bf52490ec799bff..2884db4bf1983a3323b6d1c935aaf0ff53238788 100644 (file)
@@ -60,6 +60,7 @@ plugin_t *stroke_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 44ca082d5c46addd07d6a4899930b38d901e1001..a4126a5d95ab5477b2335f331a0ec1cb75d7360b 100644 (file)
@@ -165,6 +165,7 @@ plugin_t *tnc_imc_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                               .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index 8f92ead2190164016b0e2bc3e6017e72c7349c71..4dfe9ef6b9dee22e9f77d63d141a81327f155946 100644 (file)
@@ -165,6 +165,7 @@ plugin_t *tnc_imv_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index 984bdedbaf60e6b9f665566ae3c334f04d0b6d33..9ec91f006354707c45227d147a0072d902833ed9 100644 (file)
@@ -42,6 +42,7 @@ plugin_t *tnccs_11_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index 7f4aeff4537b11d5288f2a793c771c23a6afc042..e6dc699e6868bcd653cea2a0af198941d3cdb1c3 100644 (file)
@@ -42,6 +42,7 @@ plugin_t *tnccs_20_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index ec6e637d693b6418a5bd469b43700f9a247c22a7..089a3ed5720b929d5353d88ecc76cdd223ebcdc8 100644 (file)
@@ -42,6 +42,7 @@ plugin_t *tnccs_dynamic_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );
index 0d4cd0af5568851e7080b2a317b09f57922cbdda..a6d24c32b19f87bf443aa88f6bc335970a1db91d 100644 (file)
@@ -87,6 +87,7 @@ plugin_t *uci_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index fe4e8e2525e8e9d40f5d44ef35bc2bfda717b3a4..732208b3910eca77ff140a33308f2cd109defcd8 100644 (file)
@@ -115,6 +115,7 @@ plugin_t *unit_tester_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 5f2885a8bc8b0a93ed2bc51447dcc7b468735f79..2ce2d32570fcd7215d7aa861536c65375d933e6a 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *updown_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index cbd36ff8346394809af7f3a4baa6d32b14048b0d..fca9d293f0829847014b08b298105529236d9a54 100644 (file)
@@ -69,6 +69,7 @@ plugin_t *whitelist_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 762dc88b2ea58e12d2d1efa30e45924f42bf3a7c..095bfb886d84be3ff5b9c79a554695ffc30d6cec 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *attr_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index f9be3d2457c45061bf7a40b34bc8f45101816065..c04ec9a01862e1057e8e41502e319f705eaddfab 100644 (file)
@@ -77,6 +77,7 @@ plugin_t *attr_sql_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c5b9fa6924d155adf3a0026ce1f256d67b3250fa..7fe47f6307ae688f91e06d959d57990c2ed7ce0d 100644 (file)
@@ -57,6 +57,7 @@ plugin_t *kernel_klips_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 78823c9687c03dc79ba14a10d62dc6f6ea3cff1c..779466472c58574e90905187176b9636088a9e3b 100644 (file)
@@ -60,6 +60,7 @@ plugin_t *kernel_netlink_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index fa3d3866525e2666da5b70f62eff112519fea96b..842511181ba46da2a207a829ab151d4df022fda2 100644 (file)
@@ -57,6 +57,7 @@ plugin_t *kernel_pfkey_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 1749a89d26cf36391dfefe4100e8140dc2374a9b..680caa5d0a0682f352bfa65365df799d85890a56 100644 (file)
@@ -57,6 +57,7 @@ plugin_t *kernel_pfroute_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 070596b754807b947a2a4112f436f527e7e21174..d23d361274fd7967de9ad01e691df03231d68c59 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *resolve_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 6034e67d95014e84f1c1bbe94b82b28e9bbc9086..d17355d1d80f4ce4e0671e4ccbf64f206e193f3b 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *aes_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c5c177108bf8cf2ca33db5c93d6165678dd22e97..280ea4e9885ae8048a35417a1f312e2011f4caba 100644 (file)
@@ -67,6 +67,7 @@ plugin_t *af_alg_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 00cd3f690ef7fb823663eb6ebb63f19b605a7199..79c13b7c1478ccf8311f73962c2af7b0f06c51ac 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *agent_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 364fb3901fcb4ac5a1aeb9203f57dcc8668db039..9dc8dfe7f0de02f9ff38eadb2a363e6ea49b6e31 100644 (file)
@@ -57,6 +57,7 @@ plugin_t *blowfish_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index cab3c666e70be306a9a014a87df1e5de8f38421b..2865c2ae4826deaa4ff020b84393021deaa9eda0 100644 (file)
@@ -59,6 +59,7 @@ plugin_t *ccm_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 055ddf7e8e7c693d2e8c3649dc8a23413365ce74..502c83559ceacdcb249db50682291de6551d2428 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *constraints_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index b55a1652df51b81849c3807bb58471a41960deaf..6850cacf01ae42456fec65294662a3f631ac576c 100644 (file)
@@ -59,6 +59,7 @@ plugin_t *ctr_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index fe68efd951aaf91264ef45507bdaf4e780bf26c7..d0e5320550be8444ae27cf1ad745eee7b1613845 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *curl_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 49c4a3dc56d6311bb8dc3db3f747c0a6e9b9eba7..78b73347d1e288f4a6460c1528326296a8e790d4 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *des_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 112bf683ff1ea52cdc251efaeac81d848994d834..4e08746f8858cd7c75626d7dd5d6c645f8bfc7ee 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *dnskey_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index de232fdc5f361b51565cd440180f142f2f45b755..7038da1463c45720a412d5176c3ffbf3449de3c3 100644 (file)
@@ -57,6 +57,7 @@ plugin_t *fips_prf_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c86ea1f038063ddcdecb1d209058300b5c733d9e..4b46f0ee45debf68ba00e9ae6867533a35408c8b 100644 (file)
@@ -59,6 +59,7 @@ plugin_t *gcm_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index b6a19917c211b6938b5510bfbbbb47e39d42fe34..e26277b0bec06ed65e2ed835eb52f1a965c524a5 100644 (file)
@@ -149,6 +149,7 @@ plugin_t *gcrypt_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 8ac4e87616708c4ad31d1e673651c43194ad097a..55ccd4a4f48869a232d95da9989da668e8680287 100644 (file)
@@ -66,6 +66,7 @@ plugin_t *gmp_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 0ac1fb9893fd98669cdd3f2c8245cfc1985d9c8f..47d6d3cde948ea05e0745a8b53ae7e710cc5f79d 100644 (file)
@@ -60,6 +60,7 @@ plugin_t *hmac_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index f8ab080d90613c9698f8502638dd6cd27c2f96e0..08d9748cef8d1e405deb9a15009c0f7f533f6e0a 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *ldap_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 20dd9b8fae87b4c066f718accbefb6543faac869..371bba28038f3392bcf77d2d38b3b1197e7e2d7c 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *md4_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 8f5c78e9f849eefd0184eb529e40fb47ca596a03..c72284193a9524f98be41aa79cc290782c548ab9 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *md5_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 6ed74e2bf3816b3bf4a0d376fe5e7d5ebe39bd44..579df4d50ceb26143942eecd4aa35167a8a9fe59 100644 (file)
@@ -64,6 +64,7 @@ plugin_t *mysql_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index f7804bb6bdad00453201112e86964a709aecb2b7..96aa38bb624038afe4bd9bc167b9dd4591d3f83b 100644 (file)
@@ -255,6 +255,7 @@ plugin_t *openssl_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 0bf03e16738b2d5721dae40b14e44de02f21aaa5..9d4afd8e877115632f4e16da7735afdd463423f4 100644 (file)
@@ -143,6 +143,7 @@ plugin_t *padlock_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 32aeb23be813d103f8572d3390a7f133c7dcaa92..c81605ae5448ebd76f5646ff23eaeb4c9cb7b5c6 100644 (file)
@@ -62,6 +62,7 @@ plugin_t *pem_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 160f0d701691a7bc37e38977ceae2cc4569b7946..52e9d96b189f290bfc0739a11ffde9fffb23c056 100644 (file)
@@ -66,6 +66,7 @@ plugin_t *pgp_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index e953b14152cf27c0d61318dcbc730d4b7d0ceab7..e0e24cab2e0eba1fb4ddbb176573dd3bb3a7ae77 100644 (file)
@@ -62,6 +62,7 @@ plugin_t *pkcs1_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index cfa3bbae5a7d626933537199aee8a2b02171a62c..7b537cfa77233aac50e830e9e84c60375e79816d 100644 (file)
@@ -141,6 +141,7 @@ plugin_t *pkcs11_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 7491160cb5cd82970049c8f515769cea3ad78df0..5c92fd1d8cd0c75813ebe862aabaa659ffd88aae 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef PLUGIN_H_
 #define PLUGIN_H_
 
+#include <utils.h>
+
 typedef struct plugin_t plugin_t;
 
 /**
@@ -35,6 +37,13 @@ struct plugin_t {
         */
        char* (*get_name)(plugin_t *this);
 
+       /**
+        * Try to reload plugin configuration.
+        *
+        * @return              TRUE if reloaded, FALSE if reloading not supporty by plugin
+        */
+       bool (*reload)(plugin_t *this);
+
        /**
         * Destroy a plugin instance.
         */
index 68c14a0dfe2cb7cb77d7bf58da26251d3bd92afa..ae6607e5ade9ebdc72df0d595bc0f390e5887e23 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *pubkey_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 764ac1b78dba777d166c684f4351c0077690db1a..00202a5a6ee0135ab2c2f74caccd715060b2810c 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *random_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 3c2560a6d8c3d5685a58745dc06026608818c532..fa04fb2a2598552c80f06a5232bb9635297f9c04 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *revocation_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c7e6be72ebc377228e548bcefc9dd483cd38847d..a9b84e79059b05d398980797d90c29a582df6298 100644 (file)
@@ -59,6 +59,7 @@ plugin_t *sha1_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 42a21312e599054cf8f792701e0a892e1f4b7895..4ec03a268769a84910ab0b9f1577749915727ad1 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *sha2_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 911fbd45cb7ca6160cb70c2b57506659991b3d3c..22c8762e0f1da4473dc263d81c7be0e1aa3abab8 100644 (file)
@@ -65,6 +65,7 @@ plugin_t *soup_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 059f1c4aefb753ccf848e7d190955d9e265d9100..d8c6a560c5ab138d2996d2a18f8e5aaf54ffcf11 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *sqlite_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index b2419df96bc15b5aa12342d845047129ab9b91e1..4a8743289f6d1aa8bba91f2b77fcdeae6c346ed5 100644 (file)
@@ -128,6 +128,7 @@ plugin_t *test_vectors_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 1aefda0e0c44b2582a4e2c992d3f61aba28f33aa..bfeb74b0e598ae645ead2a5d27fd5733f9295a63 100644 (file)
@@ -79,6 +79,7 @@ plugin_t *x509_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 1026be8f412f86c60dfeb52619d651992eeb1578..0fcb093c8d1f87a84ea8873c9474d3e098e08eab 100644 (file)
@@ -60,6 +60,7 @@ plugin_t *xcbc_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 2ee54ec0acd3cf16275332be8cf06ee5666dd009..bfc4820edecc641791ba40d829427cc401818a8b 100644 (file)
@@ -41,6 +41,7 @@ plugin_t *xauth_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );