48
49
/* prototypes from upsd.c */
52
51
upstype *get_ups_ptr(const char *upsname);
54
52
int ups_available(const upstype *ups, ctype *client);
59
57
int send_err(ctype *client, const char *errtype);
61
59
void check_perms(const char *fn);
65
61
/* map commands onto signals */
67
63
#define SIGCMD_STOP SIGTERM
68
64
#define SIGCMD_RELOAD SIGHUP