diff options
Diffstat (limited to 'src/include/gnunet_statistics_service.h')
-rw-r--r-- | src/include/gnunet_statistics_service.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/include/gnunet_statistics_service.h b/src/include/gnunet_statistics_service.h index 3dd6e9ce1..dfb03d67a 100644 --- a/src/include/gnunet_statistics_service.h +++ b/src/include/gnunet_statistics_service.h | |||
@@ -85,8 +85,8 @@ typedef int | |||
85 | * @return handle to use | 85 | * @return handle to use |
86 | */ | 86 | */ |
87 | struct GNUNET_STATISTICS_Handle * | 87 | struct GNUNET_STATISTICS_Handle * |
88 | GNUNET_STATISTICS_create(const char *subsystem, | 88 | GNUNET_STATISTICS_create (const char *subsystem, |
89 | const struct GNUNET_CONFIGURATION_Handle *cfg); | 89 | const struct GNUNET_CONFIGURATION_Handle *cfg); |
90 | 90 | ||
91 | 91 | ||
92 | /** | 92 | /** |
@@ -97,8 +97,8 @@ GNUNET_STATISTICS_create(const char *subsystem, | |||
97 | * be completed | 97 | * be completed |
98 | */ | 98 | */ |
99 | void | 99 | void |
100 | GNUNET_STATISTICS_destroy(struct GNUNET_STATISTICS_Handle *h, | 100 | GNUNET_STATISTICS_destroy (struct GNUNET_STATISTICS_Handle *h, |
101 | int sync_first); | 101 | int sync_first); |
102 | 102 | ||
103 | 103 | ||
104 | /** | 104 | /** |
@@ -112,11 +112,11 @@ GNUNET_STATISTICS_destroy(struct GNUNET_STATISTICS_Handle *h, | |||
112 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error | 112 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error |
113 | */ | 113 | */ |
114 | int | 114 | int |
115 | GNUNET_STATISTICS_watch(struct GNUNET_STATISTICS_Handle *handle, | 115 | GNUNET_STATISTICS_watch (struct GNUNET_STATISTICS_Handle *handle, |
116 | const char *subsystem, | 116 | const char *subsystem, |
117 | const char *name, | 117 | const char *name, |
118 | GNUNET_STATISTICS_Iterator proc, | 118 | GNUNET_STATISTICS_Iterator proc, |
119 | void *proc_cls); | 119 | void *proc_cls); |
120 | 120 | ||
121 | 121 | ||
122 | /** | 122 | /** |
@@ -130,11 +130,11 @@ GNUNET_STATISTICS_watch(struct GNUNET_STATISTICS_Handle *handle, | |||
130 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error (no such watch) | 130 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error (no such watch) |
131 | */ | 131 | */ |
132 | int | 132 | int |
133 | GNUNET_STATISTICS_watch_cancel(struct GNUNET_STATISTICS_Handle *handle, | 133 | GNUNET_STATISTICS_watch_cancel (struct GNUNET_STATISTICS_Handle *handle, |
134 | const char *subsystem, | 134 | const char *subsystem, |
135 | const char *name, | 135 | const char *name, |
136 | GNUNET_STATISTICS_Iterator proc, | 136 | GNUNET_STATISTICS_Iterator proc, |
137 | void *proc_cls); | 137 | void *proc_cls); |
138 | 138 | ||
139 | 139 | ||
140 | /** | 140 | /** |
@@ -168,12 +168,12 @@ struct GNUNET_STATISTICS_GetHandle; | |||
168 | * @return NULL on error | 168 | * @return NULL on error |
169 | */ | 169 | */ |
170 | struct GNUNET_STATISTICS_GetHandle * | 170 | struct GNUNET_STATISTICS_GetHandle * |
171 | GNUNET_STATISTICS_get(struct GNUNET_STATISTICS_Handle *handle, | 171 | GNUNET_STATISTICS_get (struct GNUNET_STATISTICS_Handle *handle, |
172 | const char *subsystem, | 172 | const char *subsystem, |
173 | const char *name, | 173 | const char *name, |
174 | GNUNET_STATISTICS_Callback cont, | 174 | GNUNET_STATISTICS_Callback cont, |
175 | GNUNET_STATISTICS_Iterator proc, | 175 | GNUNET_STATISTICS_Iterator proc, |
176 | void *cls); | 176 | void *cls); |
177 | 177 | ||
178 | 178 | ||
179 | /** | 179 | /** |
@@ -183,7 +183,7 @@ GNUNET_STATISTICS_get(struct GNUNET_STATISTICS_Handle *handle, | |||
183 | * @param gh handle of the request to cancel | 183 | * @param gh handle of the request to cancel |
184 | */ | 184 | */ |
185 | void | 185 | void |
186 | GNUNET_STATISTICS_get_cancel(struct GNUNET_STATISTICS_GetHandle *gh); | 186 | GNUNET_STATISTICS_get_cancel (struct GNUNET_STATISTICS_GetHandle *gh); |
187 | 187 | ||
188 | 188 | ||
189 | /** | 189 | /** |
@@ -196,10 +196,10 @@ GNUNET_STATISTICS_get_cancel(struct GNUNET_STATISTICS_GetHandle *gh); | |||
196 | * @param make_persistent should the value be kept across restarts? | 196 | * @param make_persistent should the value be kept across restarts? |
197 | */ | 197 | */ |
198 | void | 198 | void |
199 | GNUNET_STATISTICS_set(struct GNUNET_STATISTICS_Handle *handle, | 199 | GNUNET_STATISTICS_set (struct GNUNET_STATISTICS_Handle *handle, |
200 | const char *name, | 200 | const char *name, |
201 | uint64_t value, | 201 | uint64_t value, |
202 | int make_persistent); | 202 | int make_persistent); |
203 | 203 | ||
204 | 204 | ||
205 | /** | 205 | /** |
@@ -212,10 +212,10 @@ GNUNET_STATISTICS_set(struct GNUNET_STATISTICS_Handle *handle, | |||
212 | * @param make_persistent should the value be kept across restarts? | 212 | * @param make_persistent should the value be kept across restarts? |
213 | */ | 213 | */ |
214 | void | 214 | void |
215 | GNUNET_STATISTICS_update(struct GNUNET_STATISTICS_Handle *handle, | 215 | GNUNET_STATISTICS_update (struct GNUNET_STATISTICS_Handle *handle, |
216 | const char *name, | 216 | const char *name, |
217 | int64_t delta, | 217 | int64_t delta, |
218 | int make_persistent); | 218 | int make_persistent); |
219 | 219 | ||
220 | 220 | ||
221 | 221 | ||