new upstream 2.8.0
This commit is contained in:
parent
fc7f4b43c1
commit
b2b0c9995a
836 changed files with 137090 additions and 30018 deletions
|
@ -1,6 +1,11 @@
|
|||
/*
|
||||
* blazer.h: defines/macros for Megatec/Q1 protocol based UPSes
|
||||
*
|
||||
* OBSOLETION WARNING: Please to not base new development on this
|
||||
* codebase, instead create a new subdriver for nutdrv_qx which
|
||||
* generally covers all Megatec/Qx protocol family and aggregates
|
||||
* device support from such legacy drivers over time.
|
||||
*
|
||||
* A document describing the protocol implemented by this driver can be
|
||||
* found online at "http://www.networkupstools.org/protocols/megatec.html".
|
||||
*
|
||||
|
@ -40,7 +45,7 @@
|
|||
* Returns < 0 on error, 0 on timeout and the number of bytes send/read on
|
||||
* success.
|
||||
*/
|
||||
int blazer_command(const char *cmd, char *buf, size_t buflen);
|
||||
ssize_t blazer_command(const char *cmd, char *buf, size_t buflen);
|
||||
|
||||
void blazer_makevartable(void);
|
||||
void blazer_initups(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue