X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_hw.h;h=2d2112d35730caf562fb0b0cf814ac982dd6f0a1;hp=06314b66161e49ba310d5a531f6af2f78eff251e;hb=d4110e29da41ce702bcc3327e86768c6f266915e;hpb=2a6a270edfda89b04722b42b57992907f871c671 diff --git a/src/rrd_hw.h b/src/rrd_hw.h index 06314b6..2d2112d 100644 --- a/src/rrd_hw.h +++ b/src/rrd_hw.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2.23 Copyright by Tobi Oetiker, 1997-2007 + * RRDtool 1.3.2 Copyright by Tobi Oetiker, 1997-2008 ***************************************************************************** * rrd_hw.h : Support for Holt-Winters Smoothing/ Aberrant Behavior Detection *****************************************************************************/ @@ -13,7 +13,7 @@ int update_aberrant_CF( unsigned long rra_idx, unsigned long ds_idx, unsigned short CDP_scratch_idx, - rrd_value_t * seasonal_coef); + rrd_value_t *seasonal_coef); int create_hw_contingent_rras( rrd_t *rrd, unsigned short period, @@ -22,9 +22,9 @@ int lookup_seasonal( rrd_t *rrd, unsigned long rra_idx, unsigned long rra_start, - rrd_file_t * rrd_file, + rrd_file_t *rrd_file, unsigned long offset, - rrd_value_t ** seasonal_coef); + rrd_value_t **seasonal_coef); void erase_violations( rrd_t *rrd, unsigned long cdp_idx, @@ -33,10 +33,10 @@ int apply_smoother( rrd_t *rrd, unsigned long rra_idx, unsigned long rra_start, - rrd_file_t * rrd_file); + rrd_file_t *rrd_file); void reset_aberrant_coefficients( rrd_t *rrd, - rrd_file_t * rrd_file, + rrd_file_t *rrd_file, unsigned long ds_idx); void init_hwpredict_cdp( cdp_prep_t *); @@ -52,14 +52,14 @@ typedef struct FIFOqueue { } FIFOqueue; int queue_alloc( - FIFOqueue ** q, + FIFOqueue **q, int capacity); void queue_dealloc( - FIFOqueue * q); + FIFOqueue *q); void queue_push( - FIFOqueue * q, + FIFOqueue *q, rrd_value_t value); int queue_isempty( - FIFOqueue * q); + FIFOqueue *q); rrd_value_t queue_pop( - FIFOqueue * q); + FIFOqueue *q);