search for: upsdrv_main

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

2006 Mar 15
1
Common Power Management with UPS support (was: NUT-NG)
.... The best, at least to start with, would be to use the NUT naming [3]. 3) create a addon-ups.c: - this one replaces the above "empty" upsd and load the probed or manually configured (in nut.conf or ups.conf) driver for the UPS. Loading the driver means dlopen <driver>.so, and call upsdrv_main(...) - the driver move toward shared object is not that hard, and remains compatible with the NUT standard compilation. I mean that it would simply be a set of compilation rules. - this would however need to change the dstate layer [4] (driver state is the driver API that implement socket communica...