2013-11-24 15:00:12 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
/* *INDENT-OFF* */
|
|
|
|
extern "C" {
|
|
|
|
/* *INDENT-ON* */
|
|
|
|
#endif
|
|
|
|
|
2010-03-25 23:20:59 +00:00
|
|
|
/* callback function from read_upsconf */
|
|
|
|
void do_upsconf_args(char *upsname, char *var, char *val);
|
|
|
|
|
|
|
|
/* open the ups.conf, parse it, and call back do_upsconf_args() */
|
|
|
|
void read_upsconf(void);
|
|
|
|
|
2013-11-24 15:00:12 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
/* *INDENT-OFF* */
|
|
|
|
}
|
|
|
|
/* *INDENT-ON* */
|
|
|
|
#endif
|
2010-03-25 23:20:59 +00:00
|
|
|
|