]> git.sur5r.net Git - i3/i3status/blobdiff - include/i3status.h
Parse uevent file to detect network device type (#153)
[i3/i3status] / include / i3status.h
index b4cf83f8354b0fdfcebd769f6482177e77523c7f..4d2d0f10ee6ae8ff259a1a8c640686df534fddd3 100644 (file)
@@ -202,7 +202,8 @@ void set_timezone(const char *tz);
 /* src/first_network_device.c */
 typedef enum {
     NET_TYPE_WIRELESS = 0,
-    NET_TYPE_ETHERNET = 1
+    NET_TYPE_ETHERNET = 1,
+    NET_TYPE_OTHER = 2
 } net_type_t;
 const char *first_eth_interface(const net_type_t type);