Only allow WiFi devices to create networks for now
[connman] / include / rtnl.h
index fac302f..5637fb9 100644 (file)
@@ -39,12 +39,20 @@ extern "C" {
 struct connman_rtnl {
        const char *name;
        int priority;
-       void (*link_flags) (int index, short flags);
+       void (*newlink) (unsigned short type, int index,
+                                       unsigned flags, unsigned change);
+       void (*dellink) (unsigned short type, int index,
+                                       unsigned flags, unsigned change);
+       void (*newgateway) (int index, const char *gateway);
+       void (*delgateway) (int index, const char *gateway);
 };
 
 extern int connman_rtnl_register(struct connman_rtnl *rtnl);
 extern void connman_rtnl_unregister(struct connman_rtnl *rtnl);
 
+int connman_rtnl_send_getlink(void);
+int connman_rtnl_send_getroute(void);
+
 #ifdef __cplusplus
 }
 #endif