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 a649568..72c551f 100644 (file)
@@ -70,6 +70,7 @@ plugin_t *addrblock_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c55a829..54a7017 100644 (file)
@@ -87,6 +87,7 @@ plugin_t *android_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index f2125d9..7ccc51d 100644 (file)
@@ -62,6 +62,7 @@ plugin_t *coupling_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 25906e3..f8782c2 100644 (file)
@@ -71,6 +71,7 @@ plugin_t *dhcp_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index f8868e4..5bc1a14 100644 (file)
@@ -75,6 +75,7 @@ plugin_t *duplicheck_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 7f120f9..394a14b 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 743744d..ef5f62e 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 da1ee1c..c40ce60 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 57762b3..3297416 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 13d34e9..fe5ae51 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 ae4f613..e809b14 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 b39b49c..bac5f2d 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 80b72e7..7ae3da0 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 1327f7f..b152925 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 97b726d..369c2eb 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 ee8fe95..4409645 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 507869e..06631b1 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 cf39b43..343e4ee 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 192bfbc..5a52815 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 c8578b7..7afb798 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 2b982a2..93847e6 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 2587680..cbc3929 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 a0401e3..a30c119 100644 (file)
@@ -69,6 +69,7 @@ plugin_t *farp_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c02e026..b4bde5e 100644 (file)
@@ -151,6 +151,7 @@ plugin_t *ha_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 04443df..b6b69b4 100644 (file)
@@ -62,6 +62,7 @@ plugin_t *led_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c4a470f..94115e3 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 2a946a1..38cb031 100644 (file)
@@ -60,6 +60,7 @@ plugin_t *maemo_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c6ee094..4699154 100644 (file)
@@ -85,6 +85,7 @@ plugin_t *medcli_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 1b4e4bb..5df46d0 100644 (file)
@@ -77,6 +77,7 @@ plugin_t *medsrv_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c061240..f1d3be7 100644 (file)
@@ -112,6 +112,7 @@ plugin_t *nm_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c65830b..d20f322 100644 (file)
@@ -734,6 +734,7 @@ plugin_t *smp_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 2227f4a..1bc8244 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 d481ce0..c5ea37a 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 a441aa3..5bd28bd 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 f71ffa1..d915d46 100644 (file)
@@ -91,6 +91,7 @@ plugin_t *sql_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index a239242..2884db4 100644 (file)
@@ -60,6 +60,7 @@ plugin_t *stroke_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 44ca082..a4126a5 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 8f92ead..4dfe9ef 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 984bded..9ec91f0 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 7f4aeff..e6dc699 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 ec6e637..089a3ed 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 0d4cd0a..a6d24c3 100644 (file)
@@ -87,6 +87,7 @@ plugin_t *uci_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index fe4e8e2..732208b 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 5f2885a..2ce2d32 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *updown_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index cbd36ff..fca9d29 100644 (file)
@@ -69,6 +69,7 @@ plugin_t *whitelist_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 762dc88..095bfb8 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *attr_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index f9be3d2..c04ec9a 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 c5b9fa6..7fe47f6 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 78823c9..7794664 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 fa3d386..8425111 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 1749a89..680caa5 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 070596b..d23d361 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *resolve_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 6034e67..d17355d 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *aes_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c5c1771..280ea4e 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 00cd3f6..79c13b7 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *agent_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 364fb39..9dc8dfe 100644 (file)
@@ -57,6 +57,7 @@ plugin_t *blowfish_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index cab3c66..2865c2a 100644 (file)
@@ -59,6 +59,7 @@ plugin_t *ccm_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 055ddf7..502c835 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *constraints_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index b55a165..6850cac 100644 (file)
@@ -59,6 +59,7 @@ plugin_t *ctr_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index fe68efd..d0e5320 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *curl_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 49c4a3d..78b7334 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *des_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 112bf68..4e08746 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *dnskey_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index de232fd..7038da1 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 c86ea1f..4b46f0e 100644 (file)
@@ -59,6 +59,7 @@ plugin_t *gcm_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index b6a1991..e26277b 100644 (file)
@@ -149,6 +149,7 @@ plugin_t *gcrypt_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 8ac4e87..55ccd4a 100644 (file)
@@ -66,6 +66,7 @@ plugin_t *gmp_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 0ac1fb9..47d6d3c 100644 (file)
@@ -60,6 +60,7 @@ plugin_t *hmac_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index f8ab080..08d9748 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *ldap_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 20dd9b8..371bba2 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *md4_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 8f5c78e..c722841 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *md5_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 6ed74e2..579df4d 100644 (file)
@@ -64,6 +64,7 @@ plugin_t *mysql_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index f7804bb..96aa38b 100644 (file)
@@ -255,6 +255,7 @@ plugin_t *openssl_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 0bf03e1..9d4afd8 100644 (file)
@@ -143,6 +143,7 @@ plugin_t *padlock_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 32aeb23..c81605a 100644 (file)
@@ -62,6 +62,7 @@ plugin_t *pem_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 160f0d7..52e9d96 100644 (file)
@@ -66,6 +66,7 @@ plugin_t *pgp_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index e953b14..e0e24ca 100644 (file)
@@ -62,6 +62,7 @@ plugin_t *pkcs1_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index cfa3bba..7b537cf 100644 (file)
@@ -141,6 +141,7 @@ plugin_t *pkcs11_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 7491160..5c92fd1 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef PLUGIN_H_
 #define PLUGIN_H_
 
+#include <utils.h>
+
 typedef struct plugin_t plugin_t;
 
 /**
@@ -36,6 +38,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.
         */
        void (*destroy)(plugin_t *this);
index 68c14a0..ae6607e 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *pubkey_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 764ac1b..00202a5 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *random_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 3c2560a..fa04fb2 100644 (file)
@@ -61,6 +61,7 @@ plugin_t *revocation_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index c7e6be7..a9b84e7 100644 (file)
@@ -59,6 +59,7 @@ plugin_t *sha1_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 42a2131..4ec03a2 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *sha2_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 911fbd4..22c8762 100644 (file)
@@ -65,6 +65,7 @@ plugin_t *soup_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 059f1c4..d8c6a56 100644 (file)
@@ -56,6 +56,7 @@ plugin_t *sqlite_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index b2419df..4a87432 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 1aefda0..bfeb74b 100644 (file)
@@ -79,6 +79,7 @@ plugin_t *x509_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 1026be8..0fcb093 100644 (file)
@@ -60,6 +60,7 @@ plugin_t *xcbc_plugin_create()
                .public = {
                        .plugin = {
                                .get_name = _get_name,
+                               .reload = (void*)return_false,
                                .destroy = _destroy,
                        },
                },
index 2ee54ec..bfc4820 100644 (file)
@@ -41,6 +41,7 @@ plugin_t *xauth_plugin_create()
        INIT(this,
                .plugin = {
                        .get_name = _get_name,
+                       .reload = (void*)return_false,
                        .destroy = _destroy,
                },
        );