summaryrefslogtreecommitdiffstats
path: root/plugin/firewall/eurephiafw_intf.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/firewall/eurephiafw_intf.h')
-rw-r--r--plugin/firewall/eurephiafw_intf.h8
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_ */