diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2009-11-04 17:30:06 +0100 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-07-12 09:56:42 +0200 |
commit | f3be28cb1158e38f2f96fd334419a029277624d5 (patch) | |
tree | d2a888c1613ef98580a0db2aa13f28243a675d6f /plugin/firewall/eurephiafw_intf.h | |
parent | 050585311ac7e6f17a0d4e33650ea3a5a4ee182b (diff) | |
download | eurephia-f3be28cb1158e38f2f96fd334419a029277624d5.tar.gz eurephia-f3be28cb1158e38f2f96fd334419a029277624d5.tar.xz eurephia-f3be28cb1158e38f2f96fd334419a029277624d5.zip |
Cleaned up the driver/interface API for database and firewall
Diffstat (limited to 'plugin/firewall/eurephiafw_intf.h')
-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 d9f1bd5..b65a1cd 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_ */ |