search for: upsdrv_info_s

Displaying 1 result from an estimated 1 matches for "upsdrv_info_s".

Did you mean: upsdrv_info_t
2010 Feb 15
1
upsdrv_info structure
...ks like currently this is only used for printing some info in the upsdrv_banner() call. For the time being, I think we could fix this by hardcoding the number of elements (we never use more than 2, but could always increase this number if needed): /* subdriver description structure */ struct upsdrv_info_s { const char *name; /* driver full name, for banner printing, ... */ const char *version; /* driver version */ const char *authors; /* authors name */ const int status; /* driver development status */ struct upsdrv_info_s *subdrv_info[2]; /* sub driver information */ }; typedef struct upsdr...