summaryrefslogtreecommitdiff
path: root/src/include/gnunet_load_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_load_lib.h')
-rw-r--r--src/include/gnunet_load_lib.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/gnunet_load_lib.h b/src/include/gnunet_load_lib.h
index 1e786181f..ef596807a 100644
--- a/src/include/gnunet_load_lib.h
+++ b/src/include/gnunet_load_lib.h
@@ -57,7 +57,7 @@ struct GNUNET_LOAD_Value;
57 * @return the new load value 57 * @return the new load value
58 */ 58 */
59struct GNUNET_LOAD_Value * 59struct GNUNET_LOAD_Value *
60GNUNET_LOAD_value_init(struct GNUNET_TIME_Relative autodecline); 60GNUNET_LOAD_value_init (struct GNUNET_TIME_Relative autodecline);
61 61
62 62
63/** 63/**
@@ -67,8 +67,8 @@ GNUNET_LOAD_value_init(struct GNUNET_TIME_Relative autodecline);
67 * @param autodecline frequency of load decline 67 * @param autodecline frequency of load decline
68 */ 68 */
69void 69void
70GNUNET_LOAD_value_set_decline(struct GNUNET_LOAD_Value *load, 70GNUNET_LOAD_value_set_decline (struct GNUNET_LOAD_Value *load,
71 struct GNUNET_TIME_Relative autodecline); 71 struct GNUNET_TIME_Relative autodecline);
72 72
73 73
74/** 74/**
@@ -76,7 +76,7 @@ GNUNET_LOAD_value_set_decline(struct GNUNET_LOAD_Value *load,
76 * 76 *
77 * @param lv value to free 77 * @param lv value to free
78 */ 78 */
79#define GNUNET_LOAD_value_free(lv) GNUNET_free(lv) 79#define GNUNET_LOAD_value_free(lv) GNUNET_free (lv)
80 80
81 81
82/** 82/**
@@ -89,7 +89,7 @@ GNUNET_LOAD_value_set_decline(struct GNUNET_LOAD_Value *load,
89 * that we could not do proper calculations 89 * that we could not do proper calculations
90 */ 90 */
91double 91double
92GNUNET_LOAD_get_load(struct GNUNET_LOAD_Value *load); 92GNUNET_LOAD_get_load (struct GNUNET_LOAD_Value *load);
93 93
94 94
95/** 95/**
@@ -99,7 +99,7 @@ GNUNET_LOAD_get_load(struct GNUNET_LOAD_Value *load);
99 * @return zero if update was never called 99 * @return zero if update was never called
100 */ 100 */
101double 101double
102GNUNET_LOAD_get_average(struct GNUNET_LOAD_Value *load); 102GNUNET_LOAD_get_average (struct GNUNET_LOAD_Value *load);
103 103
104 104
105/** 105/**
@@ -109,7 +109,7 @@ GNUNET_LOAD_get_average(struct GNUNET_LOAD_Value *load);
109 * @param data latest measurement value (for example, delay) 109 * @param data latest measurement value (for example, delay)
110 */ 110 */
111void 111void
112GNUNET_LOAD_update(struct GNUNET_LOAD_Value *load, uint64_t data); 112GNUNET_LOAD_update (struct GNUNET_LOAD_Value *load, uint64_t data);
113 113
114 114
115#if 0 /* keep Emacsens' auto-indent happy */ 115#if 0 /* keep Emacsens' auto-indent happy */