[Nut-upsdev] Looking for examples of var TYPE descriptions

Glen Bakeman gbakeman at live.com
Thu Sep 2 00:40:36 BST 2021


Hello,

I'm currently trying to understand the implementation of /get_type/ in 
netget.c, specifically how more complex variable types (such as ENUMs or 
RANGEs) are represented by text. On my own UPS, it doesn't seem to have 
anything more complicated than a number or string (or UNKNOWN).

It looks like it would be theoretically possible for a var to show as 
enum OR range AND string OR number, is that true?

Thank you in advance,

Glen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20210901/c966685d/attachment.htm>


More information about the Nut-upsdev mailing list