From 68eb836e527bdead1eea7fc281c95c86eab3164d Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Fri, 18 Jun 2010 14:45:02 +0100 Subject: More tests --- lib/utils_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/utils_base.h') diff --git a/lib/utils_base.h b/lib/utils_base.h index 6a8af198..12576d7e 100644 --- a/lib/utils_base.h +++ b/lib/utils_base.h @@ -30,7 +30,7 @@ typedef struct thresholds_struct { } thresholds; #define NP_SHAREDSTATE_DIR "/tmp" -#define STATE_FORMAT_VERSION "1" +#define NP_STATE_FORMAT_VERSION 1 typedef struct state_data_struct { time_t time; @@ -93,7 +93,7 @@ char *np_extract_value(const char*, const char*, char); #define np_extract_ntpvar(l, n) np_extract_value(l, n, ',') -void np_state_init(char *, int); +void np_enable_state(char *, int); state_data *np_state_read(); void np_state_write_string(time_t *, char *); -- cgit v1.2.3-74-g34f1