X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fiface.h;h=303d230cac0524b934cf36490c856906a627d40c;hb=f195c1bda3616129bc28d33aae71f9d2dd9047ce;hp=6cadbdd9362228a69d3a1c716c0eab6385b41f6b;hpb=d80c70d36363762e0cf1534e654e122d741fbc5d;p=catta diff --git a/src/iface.h b/src/iface.h index 6cadbdd..303d230 100644 --- a/src/iface.h +++ b/src/iface.h @@ -42,6 +42,8 @@ typedef struct CattaHwInterface CattaHwInterface; #include "iface-linux.h" #elif defined(HAVE_PF_ROUTE) #include "iface-pfroute.h" +#elif defined(_WIN32) +#include "iface-windows.h" #else typedef struct CattaInterfaceMonitorOSDep CattaInterfaceMonitorOSDep; struct CattaInterfaceMonitorOSDep { @@ -155,7 +157,7 @@ void catta_hw_interface_free(CattaHwInterface *hw, int send_goodbye); void catta_hw_interface_update_rrs(CattaHwInterface *hw, int remove_rrs); void catta_hw_interface_check_relevant(CattaHwInterface *hw); -CattaHwInterface* catta_interface_monitor_get_hw_interface(CattaInterfaceMonitor *m, int idx); +CattaHwInterface* catta_interface_monitor_get_hw_interface(CattaInterfaceMonitor *m, CattaIfIndex idx); /* CattaInterface */