Changed plugin constructors from plugin_create to plugin_name_plugin_create.
This commit is contained in:
@@ -48,7 +48,7 @@ METHOD(plugin_t, destroy, void,
|
||||
/**
|
||||
* See header
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *android_plugin_create()
|
||||
{
|
||||
private_android_plugin_t *this;
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ static void destroy(private_attr_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *attr_plugin_create()
|
||||
{
|
||||
private_attr_plugin_t *this = malloc_thing(private_attr_plugin_t);
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ static void destroy(eap_aka_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *eap_aka_plugin_create()
|
||||
{
|
||||
eap_aka_plugin_t *this = malloc_thing(eap_aka_plugin_t);
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ static void destroy(private_eap_aka_3gpp2_t *this)
|
||||
/**
|
||||
* See header
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *eap_aka_3gpp2_plugin_create()
|
||||
{
|
||||
private_eap_aka_3gpp2_t *this = malloc_thing(private_eap_aka_3gpp2_t);
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ static void destroy(eap_gtc_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *eap_gtc_plugin_create()
|
||||
{
|
||||
eap_gtc_plugin_t *this = malloc_thing(eap_gtc_plugin_t);
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ static void destroy(eap_identity_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *eap_identity_plugin_create()
|
||||
{
|
||||
eap_identity_plugin_t *this = malloc_thing(eap_identity_plugin_t);
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ static void destroy(eap_md5_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *eap_md5_plugin_create()
|
||||
{
|
||||
eap_md5_plugin_t *this = malloc_thing(eap_md5_plugin_t);
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ static void destroy(eap_mschapv2_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *eap_mschapv2_plugin_create()
|
||||
{
|
||||
eap_mschapv2_plugin_t *this = malloc_thing(eap_mschapv2_plugin_t);
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ static void destroy(eap_radius_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *eap_radius_plugin_create()
|
||||
{
|
||||
eap_radius_plugin_t *this;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ static void destroy(eap_sim_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *eap_sim_plugin_create()
|
||||
{
|
||||
eap_sim_plugin_t *this = malloc_thing(eap_sim_plugin_t);
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "eap_sim_file_triplets.h"
|
||||
|
||||
#include <daemon.h>
|
||||
|
||||
|
||||
#define TRIPLET_FILE IPSEC_CONFDIR "/ipsec.d/triplets.dat"
|
||||
|
||||
typedef struct private_eap_sim_file_t private_eap_sim_file_t;
|
||||
@@ -66,7 +66,7 @@ static void destroy(private_eap_sim_file_t *this)
|
||||
/**
|
||||
* See header
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *eap_sim_file_plugin_create()
|
||||
{
|
||||
private_eap_sim_file_t *this = malloc_thing(private_eap_sim_file_t);
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ static void destroy(private_eap_simaka_pseudonym_t *this)
|
||||
/**
|
||||
* See header
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *eap_simaka_pseudonym_plugin_create()
|
||||
{
|
||||
private_eap_simaka_pseudonym_t *this;
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ static void destroy(private_eap_simaka_reauth_t *this)
|
||||
/**
|
||||
* See header
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *eap_simaka_reauth_plugin_create()
|
||||
{
|
||||
private_eap_simaka_reauth_t *this = malloc_thing(private_eap_simaka_reauth_t);
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ static void destroy(private_kernel_klips_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *kernel_klips_plugin_create()
|
||||
{
|
||||
private_kernel_klips_plugin_t *this = malloc_thing(private_kernel_klips_plugin_t);
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ static void destroy(private_kernel_netlink_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *kernel_netlink_plugin_create()
|
||||
{
|
||||
private_kernel_netlink_plugin_t *this = malloc_thing(private_kernel_netlink_plugin_t);
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ static void destroy(private_kernel_pfkey_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *kernel_pfkey_plugin_create()
|
||||
{
|
||||
private_kernel_pfkey_plugin_t *this = malloc_thing(private_kernel_pfkey_plugin_t);
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ static void destroy(private_kernel_pfroute_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *kernel_pfroute_plugin_create()
|
||||
{
|
||||
private_kernel_pfroute_plugin_t *this = malloc_thing(private_kernel_pfroute_plugin_t);
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ static void destroy(private_load_tester_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *load_tester_plugin_create()
|
||||
{
|
||||
private_load_tester_plugin_t *this;
|
||||
u_int i, shutdown_on = 0;
|
||||
|
||||
@@ -72,7 +72,7 @@ static void destroy(private_medcli_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *medcli_plugin_create()
|
||||
{
|
||||
char *uri;
|
||||
private_medcli_plugin_t *this = malloc_thing(private_medcli_plugin_t);
|
||||
|
||||
@@ -64,7 +64,7 @@ static void destroy(private_medsrv_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *medsrv_plugin_create()
|
||||
{
|
||||
char *uri;
|
||||
private_medsrv_plugin_t *this = malloc_thing(private_medsrv_plugin_t);
|
||||
|
||||
@@ -93,7 +93,7 @@ static void destroy(private_nm_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *nm_plugin_create()
|
||||
{
|
||||
private_nm_plugin_t *this = malloc_thing(private_nm_plugin_t);
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ static void destroy(private_resolve_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *resolve_plugin_create()
|
||||
{
|
||||
private_resolve_plugin_t *this = malloc_thing(private_resolve_plugin_t);
|
||||
|
||||
|
||||
@@ -720,7 +720,7 @@ static void destroy(private_smp_t *this)
|
||||
/*
|
||||
* Described in header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *smp_plugin_create()
|
||||
{
|
||||
struct sockaddr_un unix_addr = { AF_UNIX, IPSEC_PIDDIR "/charon.xml"};
|
||||
private_smp_t *this = malloc_thing(private_smp_t);
|
||||
|
||||
@@ -48,7 +48,7 @@ METHOD(plugin_t, destroy, void,
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *socket_default_plugin_create()
|
||||
{
|
||||
private_socket_default_plugin_t *this;
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ METHOD(plugin_t, destroy, void,
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *socket_dynamic_plugin_create()
|
||||
{
|
||||
private_socket_dynamic_plugin_t *this;
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ METHOD(plugin_t, destroy, void,
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *socket_raw_plugin_create()
|
||||
{
|
||||
private_socket_raw_plugin_t *this;
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ static void destroy(private_sql_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *sql_plugin_create()
|
||||
{
|
||||
char *uri;
|
||||
private_sql_plugin_t *this;
|
||||
|
||||
@@ -48,7 +48,7 @@ static void destroy(private_stroke_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *stroke_plugin_create()
|
||||
{
|
||||
private_stroke_plugin_t *this = malloc_thing(private_stroke_plugin_t);
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ static void destroy(private_uci_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *uci_plugin_create()
|
||||
{
|
||||
private_uci_plugin_t *this = malloc_thing(private_uci_plugin_t);
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ static void destroy(private_unit_tester_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *unit_tester_plugin_create()
|
||||
{
|
||||
private_unit_tester_t *this = malloc_thing(private_unit_tester_t);
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ static void destroy(private_updown_plugin_t *this)
|
||||
/*
|
||||
* see header file
|
||||
*/
|
||||
plugin_t *plugin_create()
|
||||
plugin_t *updown_plugin_create()
|
||||
{
|
||||
private_updown_plugin_t *this = malloc_thing(private_updown_plugin_t);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user