diff options
Diffstat (limited to 'src/statistics/statistics_api.c')
-rw-r--r-- | src/statistics/statistics_api.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c index 6e6acb3e5..4d69ca63d 100644 --- a/src/statistics/statistics_api.c +++ b/src/statistics/statistics_api.c | |||
@@ -1061,18 +1061,6 @@ schedule_action (void *cls) | |||
1061 | } | 1061 | } |
1062 | 1062 | ||
1063 | 1063 | ||
1064 | /** | ||
1065 | * Get statistic from the peer. | ||
1066 | * | ||
1067 | * @param handle identification of the statistics service | ||
1068 | * @param subsystem limit to the specified subsystem, NULL for our subsystem | ||
1069 | * @param name name of the statistic value, NULL for all values | ||
1070 | * @param cont continuation to call when done (can be NULL) | ||
1071 | * This callback CANNOT destroy the statistics handle in the same call. | ||
1072 | * @param proc function to call on each value | ||
1073 | * @param cls closure for @a cont and @a proc | ||
1074 | * @return NULL on error | ||
1075 | */ | ||
1076 | struct GNUNET_STATISTICS_GetHandle * | 1064 | struct GNUNET_STATISTICS_GetHandle * |
1077 | GNUNET_STATISTICS_get (struct GNUNET_STATISTICS_Handle *handle, | 1065 | GNUNET_STATISTICS_get (struct GNUNET_STATISTICS_Handle *handle, |
1078 | const char *subsystem, | 1066 | const char *subsystem, |
@@ -1114,12 +1102,6 @@ GNUNET_STATISTICS_get (struct GNUNET_STATISTICS_Handle *handle, | |||
1114 | } | 1102 | } |
1115 | 1103 | ||
1116 | 1104 | ||
1117 | /** | ||
1118 | * Cancel a 'get' request. Must be called before the 'cont' | ||
1119 | * function is called. | ||
1120 | * | ||
1121 | * @param gh handle of the request to cancel | ||
1122 | */ | ||
1123 | void | 1105 | void |
1124 | GNUNET_STATISTICS_get_cancel (struct GNUNET_STATISTICS_GetHandle *gh) | 1106 | GNUNET_STATISTICS_get_cancel (struct GNUNET_STATISTICS_GetHandle *gh) |
1125 | { | 1107 | { |
@@ -1321,15 +1303,6 @@ add_setter_action (struct GNUNET_STATISTICS_Handle *h, | |||
1321 | } | 1303 | } |
1322 | 1304 | ||
1323 | 1305 | ||
1324 | /** | ||
1325 | * Set statistic value for the peer. Will always use our | ||
1326 | * subsystem (the argument used when "handle" was created). | ||
1327 | * | ||
1328 | * @param handle identification of the statistics service | ||
1329 | * @param name name of the statistic value | ||
1330 | * @param value new value to set | ||
1331 | * @param make_persistent should the value be kept across restarts? | ||
1332 | */ | ||
1333 | void | 1306 | void |
1334 | GNUNET_STATISTICS_set (struct GNUNET_STATISTICS_Handle *handle, | 1307 | GNUNET_STATISTICS_set (struct GNUNET_STATISTICS_Handle *handle, |
1335 | const char *name, | 1308 | const char *name, |
@@ -1347,15 +1320,6 @@ GNUNET_STATISTICS_set (struct GNUNET_STATISTICS_Handle *handle, | |||
1347 | } | 1320 | } |
1348 | 1321 | ||
1349 | 1322 | ||
1350 | /** | ||
1351 | * Set statistic value for the peer. Will always use our | ||
1352 | * subsystem (the argument used when "handle" was created). | ||
1353 | * | ||
1354 | * @param handle identification of the statistics service | ||
1355 | * @param name name of the statistic value | ||
1356 | * @param delta change in value (added to existing value) | ||
1357 | * @param make_persistent should the value be kept across restarts? | ||
1358 | */ | ||
1359 | void | 1323 | void |
1360 | GNUNET_STATISTICS_update (struct GNUNET_STATISTICS_Handle *handle, | 1324 | GNUNET_STATISTICS_update (struct GNUNET_STATISTICS_Handle *handle, |
1361 | const char *name, | 1325 | const char *name, |