diff options
Diffstat (limited to 'lib/utils_base.h')
-rw-r--r-- | lib/utils_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
30 | } thresholds; | 30 | } thresholds; |
31 | 31 | ||
32 | #define NP_SHAREDSTATE_DIR "/tmp" | 32 | #define NP_SHAREDSTATE_DIR "/tmp" |
33 | #define STATE_FORMAT_VERSION "1" | 33 | #define NP_STATE_FORMAT_VERSION 1 |
34 | 34 | ||
35 | typedef struct state_data_struct { | 35 | typedef struct state_data_struct { |
36 | time_t time; | 36 | time_t time; |
@@ -93,7 +93,7 @@ char *np_extract_value(const char*, const char*, char); | |||
93 | #define np_extract_ntpvar(l, n) np_extract_value(l, n, ',') | 93 | #define np_extract_ntpvar(l, n) np_extract_value(l, n, ',') |
94 | 94 | ||
95 | 95 | ||
96 | void np_state_init(char *, int); | 96 | void np_enable_state(char *, int); |
97 | state_data *np_state_read(); | 97 | state_data *np_state_read(); |
98 | void np_state_write_string(time_t *, char *); | 98 | void np_state_write_string(time_t *, char *); |
99 | 99 | ||