2013-11-24 17:00:12 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
/* *INDENT-OFF* */
|
|
|
|
extern "C" {
|
|
|
|
/* *INDENT-ON* */
|
|
|
|
#endif
|
|
|
|
|
2010-03-26 01:20:59 +02: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 17:00:12 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
/* *INDENT-OFF* */
|
|
|
|
}
|
|
|
|
/* *INDENT-ON* */
|
|
|
|
#endif
|
2010-03-26 01:20:59 +02:00
|
|
|
|