aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_load_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-15 21:46:35 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-15 21:46:35 +0000
commit502af2167f7c218366666ca4944bd7cc54b5b19a (patch)
treea91fec5cc9769d260640bd91c6633cb9cf395524 /src/include/gnunet_load_lib.h
parent03af5a603b7cc53432249d5854cd412aa90dde0d (diff)
downloadgnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.tar.gz
gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.zip
indentation
Diffstat (limited to 'src/include/gnunet_load_lib.h')
-rw-r--r--src/include/gnunet_load_lib.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/include/gnunet_load_lib.h b/src/include/gnunet_load_lib.h
index ea2ad588e..40323e709 100644
--- a/src/include/gnunet_load_lib.h
+++ b/src/include/gnunet_load_lib.h
@@ -51,8 +51,8 @@ struct GNUNET_LOAD_Value;
51 * frequency, 0-load values will be added to the load 51 * frequency, 0-load values will be added to the load
52 * @return the new load value 52 * @return the new load value
53 */ 53 */
54struct GNUNET_LOAD_Value * 54struct GNUNET_LOAD_Value *GNUNET_LOAD_value_init (struct GNUNET_TIME_Relative
55GNUNET_LOAD_value_init (struct GNUNET_TIME_Relative autodecline); 55 autodecline);
56 56
57 57
58/** 58/**
@@ -63,7 +63,7 @@ GNUNET_LOAD_value_init (struct GNUNET_TIME_Relative autodecline);
63 */ 63 */
64void 64void
65GNUNET_LOAD_value_set_decline (struct GNUNET_LOAD_Value *load, 65GNUNET_LOAD_value_set_decline (struct GNUNET_LOAD_Value *load,
66 struct GNUNET_TIME_Relative autodecline); 66 struct GNUNET_TIME_Relative autodecline);
67 67
68 68
69/** 69/**
@@ -83,8 +83,7 @@ GNUNET_LOAD_value_set_decline (struct GNUNET_LOAD_Value *load,
83 * 100 if the latest updates were so large 83 * 100 if the latest updates were so large
84 * that we could not do proper calculations 84 * that we could not do proper calculations
85 */ 85 */
86double 86double GNUNET_LOAD_get_load (struct GNUNET_LOAD_Value *load);
87GNUNET_LOAD_get_load (struct GNUNET_LOAD_Value *load);
88 87
89 88
90/** 89/**
@@ -93,8 +92,7 @@ GNUNET_LOAD_get_load (struct GNUNET_LOAD_Value *load);
93 * @param load load handle 92 * @param load load handle
94 * @return zero if update was never called 93 * @return zero if update was never called
95 */ 94 */
96double 95double GNUNET_LOAD_get_average (struct GNUNET_LOAD_Value *load);
97GNUNET_LOAD_get_average (struct GNUNET_LOAD_Value *load);
98 96
99 97
100/** 98/**
@@ -103,9 +101,7 @@ GNUNET_LOAD_get_average (struct GNUNET_LOAD_Value *load);
103 * @param load to update 101 * @param load to update
104 * @param data latest measurement value (for example, delay) 102 * @param data latest measurement value (for example, delay)
105 */ 103 */
106void 104void GNUNET_LOAD_update (struct GNUNET_LOAD_Value *load, uint64_t data);
107GNUNET_LOAD_update (struct GNUNET_LOAD_Value *load,
108 uint64_t data);
109 105
110 106
111#if 0 /* keep Emacsens' auto-indent happy */ 107#if 0 /* keep Emacsens' auto-indent happy */