summaryrefslogtreecommitdiffstats
path: root/plugins/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/plugins/common.h b/plugins/common.h
index b7a7d59b..35d1e549 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -31,7 +31,8 @@
31#ifndef _COMMON_H_ 31#ifndef _COMMON_H_
32#define _COMMON_H_ 32#define _COMMON_H_
33 33
34#include "config.h" 34#include "../config.h"
35#include "../lib/monitoringplug.h"
35 36
36#ifdef HAVE_FEATURES_H 37#ifdef HAVE_FEATURES_H
37#include <features.h> 38#include <features.h>
@@ -109,7 +110,7 @@
109 110
110/* GNU Libraries */ 111/* GNU Libraries */
111#include <getopt.h> 112#include <getopt.h>
112#include "dirname.h" 113#include "../gl/dirname.h"
113 114
114#include <locale.h> 115#include <locale.h>
115 116
@@ -179,14 +180,6 @@ enum {
179}; 180};
180 181
181enum { 182enum {
182 STATE_OK,
183 STATE_WARNING,
184 STATE_CRITICAL,
185 STATE_UNKNOWN,
186 STATE_DEPENDENT
187};
188
189enum {
190 DEFAULT_SOCKET_TIMEOUT = 10, /* timeout after 10 seconds */ 183 DEFAULT_SOCKET_TIMEOUT = 10, /* timeout after 10 seconds */
191 MAX_INPUT_BUFFER = 8192, /* max size of most buffers we use */ 184 MAX_INPUT_BUFFER = 8192, /* max size of most buffers we use */
192 MAX_HOST_ADDRESS_LENGTH = 256 /* max size of a host address */ 185 MAX_HOST_ADDRESS_LENGTH = 256 /* max size of a host address */
@@ -197,7 +190,7 @@ enum {
197 * Internationalization 190 * Internationalization
198 * 191 *
199 */ 192 */
200#include "gettext.h" 193#include "../gl/gettext.h"
201#define _(String) gettext (String) 194#define _(String) gettext (String)
202#if ! ENABLE_NLS 195#if ! ENABLE_NLS
203# undef textdomain 196# undef textdomain