mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
bb7bf0bcd7
Added common functions autoconf_check_readable and fail. Added some TODOs for later completion. Updated messages from upstream plugins.
16 lines
357 B
C
16 lines
357 B
C
#ifndef COMMON_H
|
|
#define COMMON_H
|
|
|
|
#define PROC_STAT "/proc/stat"
|
|
|
|
int writeyes(void);
|
|
int autoconf_check_readable(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 *);
|
|
int fail(const char *);
|
|
|
|
#endif
|