RSI enhancements
This commit is contained in:
@@ -1370,7 +1370,7 @@ extern "C" {
|
||||
/* Data analysis */
|
||||
struct ndpi_analyze_struct* ndpi_alloc_data_analysis(u_int16_t _max_series_len);
|
||||
void ndpi_init_data_analysis(struct ndpi_analyze_struct *s, u_int16_t _max_series_len);
|
||||
void ndpi_free_data_analysis(struct ndpi_analyze_struct *d);
|
||||
void ndpi_free_data_analysis(struct ndpi_analyze_struct *d, u_int8_t free_pointer);
|
||||
void ndpi_reset_data_analysis(struct ndpi_analyze_struct *d);
|
||||
void ndpi_data_add_value(struct ndpi_analyze_struct *s, const u_int32_t value);
|
||||
|
||||
|
||||
@@ -1545,7 +1545,7 @@ struct ndpi_analyze_struct {
|
||||
/* **************************************** */
|
||||
|
||||
struct ndpi_rsi_struct {
|
||||
struct ndpi_analyze_struct *gains, *losses;
|
||||
struct ndpi_analyze_struct gains, losses;
|
||||
u_int32_t last_value;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user