iwinfo: rename hardware.txt to devices.txt
[project/iwinfo.git] / include / iwinfo.h
index 3fc414be492dfdcbe35199d502aa8ed785bc0730..8469ee70f5e36342780817236d3994a440e0788e 100644 (file)
@@ -255,7 +255,7 @@ struct iwinfo_hardware_entry {
 
 extern const struct iwinfo_iso3166_label IWINFO_ISO3166_NAMES[];
 
-#define IWINFO_HARDWARE_FILE   "/usr/share/libiwinfo/hardware.txt"
+#define IWINFO_HARDWARE_FILE   "/usr/share/libiwinfo/devices.txt"
 
 
 struct iwinfo_ops {
@@ -293,6 +293,7 @@ struct iwinfo_ops {
        int (*countrylist)(const char *, char *, int *);
        int (*survey)(const char *, char *, int *);
        int (*lookup_phy)(const char *, char *);
+       int (*phy_path)(const char *phyname, const char **path);
        void (*close)(void);
 };