diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-08-23 15:34:50 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-08-23 15:34:50 +0000 |
commit | 8830d27022a4c303baab008ad5d4dfeef0c0ee8e (patch) | |
tree | 213aa70cf04e8131f198cdd8600806011851138a /src/testbed/testbed_api_sd.h | |
parent | c60f24fa1d3db9f446d8cc6cc5606e4fd387529a (diff) | |
download | gnunet-8830d27022a4c303baab008ad5d4dfeef0c0ee8e.tar.gz gnunet-8830d27022a4c303baab008ad5d4dfeef0c0ee8e.zip |
- negative deviation factor
Diffstat (limited to 'src/testbed/testbed_api_sd.h')
-rw-r--r-- | src/testbed/testbed_api_sd.h | 5 |
1 files changed, 3 insertions, 2 deletions
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); | |||
68 | * | 68 | * |
69 | * @param h the SDhandle | 69 | * @param h the SDhandle |
70 | * @param amount the value for which the deviation is returned | 70 | * @param amount the value for which the deviation is returned |
71 | 71 | * @param factor the factor by which the given amont differs | |
72 | * @return the deviation from the average; GNUNET_SYSERR if the deviation cannot | 72 | * @return the deviation from the average; GNUNET_SYSERR if the deviation cannot |
73 | * be calculated OR 0 if the deviation is less than the average; a | 73 | * be calculated OR 0 if the deviation is less than the average; a |
74 | * maximum of 4 is returned for deviations equal to or larger than 4 | 74 | * maximum of 4 is returned for deviations equal to or larger than 4 |
75 | */ | 75 | */ |
76 | int | 76 | int |
77 | GNUNET_TESTBED_SD_deviation_factor_ (struct SDHandle *h, unsigned int amount); | 77 | GNUNET_TESTBED_SD_deviation_factor_ (struct SDHandle *h, unsigned int amount, |
78 | int *factor); | ||
78 | 79 | ||
79 | #endif | 80 | #endif |
80 | /* end of testbed_api.h */ | 81 | /* end of testbed_api.h */ |