diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2009-11-04 17:30:06 +0100 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2009-11-04 17:30:06 +0100 |
commit | 6d18a20f14b10175f96fc3b99c7df8ee0f73ff88 (patch) | |
tree | dbdaa83961670fc3a3e5b1b00dcd6316e9126f17 /plugin/firewall | |
parent | a8c9ff0fe894d298f76cb15f3c88eebc6c590844 (diff) | |
download | eurephia-6d18a20f14b10175f96fc3b99c7df8ee0f73ff88.tar.gz eurephia-6d18a20f14b10175f96fc3b99c7df8ee0f73ff88.tar.xz eurephia-6d18a20f14b10175f96fc3b99c7df8ee0f73ff88.zip |
Cleaned up the driver/interface API for database and firewall
Diffstat (limited to 'plugin/firewall')
-rw-r--r-- | plugin/firewall/eurephiafw_intf.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugin/firewall/eurephiafw_intf.h b/plugin/firewall/eurephiafw_intf.h index 88719e9..37eb60a 100644 --- a/plugin/firewall/eurephiafw_intf.h +++ b/plugin/firewall/eurephiafw_intf.h @@ -32,19 +32,21 @@ #ifndef EUREPHIAFW_INTF_H_ #define EUREPHIAFW_INTF_H_ +#include <eurephia_driverapi.h> + /** * Mandatory function, contains driver information. * * @return Should retun a static string, containing the version information. */ -const char *(*eFWinterfaceVersion) (); +const char * EUREPHIA_DRIVERAPI_FUNC(eFWinterfaceVersion)(void); /** * Mandatory function, contains driver information. * * @return Should retun an integer which correponds to the API level the interface driver uses. */ -int (*eFWinterfaceAPIversion) (); +int EUREPHIA_DRIVERAPI_FUNC(eFWinterfaceAPIversion)(void); /** * The main routine of the firewall interface. This function should not return before @@ -52,6 +54,6 @@ int (*eFWinterfaceAPIversion) (); * * @param fwargs efw_threaddata pointer, with needed information to communicate with the openvpn process. */ -void (*eFW_RunFirewall) (void *fwargs); +void EUREPHIA_DRIVERAPI_FUNC(eFW_RunFirewall)(void *fwargs); #endif /* !EUREPHIAFW_INTF_H_ */ |