From 8830d27022a4c303baab008ad5d4dfeef0c0ee8e Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Fri, 23 Aug 2013 15:34:50 +0000 Subject: - negative deviation factor --- src/testbed/testbed_api_sd.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/testbed/testbed_api_sd.h') diff --git a/src/testbed/testbed_api_sd.h b/src/testbed/testbed_api_sd.h index abef1d9c7..b3e19c0bd 100644 --- a/src/testbed/testbed_api_sd.h +++ b/src/testbed/testbed_api_sd.h @@ -68,13 +68,14 @@ GNUNET_TESTBED_SD_add_data_ (struct SDHandle *h, unsigned int amount); * * @param h the SDhandle * @param amount the value for which the deviation is returned - + * @param factor the factor by which the given amont differs * @return the deviation from the average; GNUNET_SYSERR if the deviation cannot * be calculated OR 0 if the deviation is less than the average; a * maximum of 4 is returned for deviations equal to or larger than 4 */ int -GNUNET_TESTBED_SD_deviation_factor_ (struct SDHandle *h, unsigned int amount); +GNUNET_TESTBED_SD_deviation_factor_ (struct SDHandle *h, unsigned int amount, + int *factor); #endif /* end of testbed_api.h */ -- cgit v1.2.3