2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
contrib-munin/tools/munin-plugins-busybox/common.h
Helmut Grohne cbfa6b4578 support warning and critical environment variables
Like the mainline plugins do.
2013-01-30 12:14:28 +01:00

15 lines
317 B
C

#ifndef COMMON_H
#define COMMON_H
#define PROC_STAT "/proc/stat"
int writeyes(void);
int writeno(const char *);
int getenvint(const char *, int);
const char *getenv_composed(const char *, const char *);
void print_warning(const char *);
void print_critical(const char *);
void print_warncrit(const char *);
#endif