#include "unused.h"
#include "rrd_client.h"
+#include "rrd_update.h"
#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__)
rrd_value_t *seasonal_coef,
int current_cf);
-static void update_cdp(
- unival *scratch,
- int current_cf,
- rrd_value_t pdp_temp_val,
- unsigned long rra_step_cnt,
- unsigned long elapsed_pdp_st,
- unsigned long start_pdp_offset,
- unsigned long pdp_cnt,
- rrd_value_t xff,
- int i,
- int ii);
-
static void initialize_cdp_val(
unival *scratch,
int current_cf,
* Given the new reading (pdp_temp_val), update or initialize the CDP value,
* primary value, secondary value, and # of unknowns.
*/
-static void update_cdp(
+void update_cdp(
unival *scratch,
int current_cf,
rrd_value_t pdp_temp_val,
--- /dev/null
+/****************************************************************************
+ * RRDtool 1.4.8 Copyright by Tobi Oetiker, 1997-2013
+ ****************************************************************************
+ * rrd_restore.h
+ ****************************************************************************/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef _RRD_UPDATE_H
+#define _RRD_UPDATE_H
+
+#include <stdio.h>
+#include "rrd.h"
+
+void update_cdp(
+ unival *scratch,
+ int current_cf,
+ rrd_value_t pdp_temp_val,
+ unsigned long rra_step_cnt,
+ unsigned long elapsed_pdp_st,
+ unsigned long start_pdp_offset,
+ unsigned long pdp_cnt,
+ rrd_value_t xff,
+ int i,
+ int ii);
+
+#endif
+
+
+#ifdef __cplusplus
+}
+#endif