2008-06-21 13:33:06 +02:00
|
|
|
#ifndef COMMON_H
|
|
|
|
#define COMMON_H
|
|
|
|
|
2009-01-23 13:48:30 +01:00
|
|
|
#define PROC_STAT "/proc/stat"
|
|
|
|
|
2008-06-21 13:33:06 +02:00
|
|
|
int writeyes(void);
|
2013-02-05 12:38:12 +01:00
|
|
|
int autoconf_check_readable(const char *);
|
2013-01-28 16:35:25 +01:00
|
|
|
int getenvint(const char *, int);
|
2013-01-30 12:14:28 +01:00
|
|
|
const char *getenv_composed(const char *, const char *);
|
|
|
|
void print_warning(const char *);
|
|
|
|
void print_critical(const char *);
|
|
|
|
void print_warncrit(const char *);
|
2013-02-05 12:38:12 +01:00
|
|
|
int fail(const char *);
|
2008-06-21 13:33:06 +02:00
|
|
|
|
|
|
|
#endif
|