#ifndef FWINFO_APIDEF_H #define FWINFO_APIDEF_H struct FWINFO_API{ // Tell if one logical device exist (up or not) bool (*devexist) (const char *devname); // Get the list of all logical devices control by this API // The logical devices are added in devs with a description in descs int (*getlist) (SSTRINGS &devs, SSTRINGS &descs); // Get the real device associated with a logical device // Return -1 if the device is not up int (*getinfo) (const char *devname, SSTRING &kerneldev); }; #endif