- wip
[oweals/gnunet.git] / src / include / gnunet_statistics_service.h
index c2fb46109db56877f1bd7f3b0618c651611e9f22..25562580a919b4e44115620ef3cb13e8cbc27440 100644 (file)
@@ -22,7 +22,7 @@
  * @file include/gnunet_statistics_service.h
  * @brief API to create, modify and access statistics about
  *        the operation of GNUnet; all statistical values
- *        must be of type "unsigned long long".
+ *        must be of type `unsigned long long`.
  * @author Christian Grothoff
  * @defgroup statistics track statistics or provide access to statistics
  * @{
@@ -39,9 +39,7 @@ extern "C"
 #endif
 #endif
 
-#include "gnunet_common.h"
-#include "gnunet_configuration_lib.h"
-#include "gnunet_scheduler_lib.h"
+#include "gnunet_util_lib.h"
 
 /**
  * Version of the statistics API.
@@ -124,8 +122,7 @@ GNUNET_STATISTICS_watch_cancel (struct GNUNET_STATISTICS_Handle *handle,
 
 
 /**
- * Continuation called by the #GNUNET_STATISTICS_get_all
- * and #GNUNET_STATISTICS_get functions.
+ * Continuation called by #GNUNET_STATISTICS_get functions.
  *
  * @param cls closure
  * @param success #GNUNET_OK if statistics were
@@ -163,7 +160,7 @@ GNUNET_STATISTICS_get (struct GNUNET_STATISTICS_Handle *handle,
 
 
 /**
- * Cancel a #GNUNET_STATISICS_get request.  Must be called before the 'cont'
+ * Cancel a #GNUNET_STATISTICS_get request.  Must be called before the 'cont'
  * function is called.
  *
  * @param gh handle of the request to cancel
@@ -174,7 +171,7 @@ GNUNET_STATISTICS_get_cancel (struct GNUNET_STATISTICS_GetHandle *gh);
 
 /**
  * Set statistic value for the peer.  Will always use our
- * subsystem (the argument used when "handle" was created).
+ * subsystem (the argument used when @a handle was created).
  *
  * @param handle identification of the statistics service
  * @param name name of the statistic value
@@ -188,7 +185,7 @@ GNUNET_STATISTICS_set (struct GNUNET_STATISTICS_Handle *handle,
 
 /**
  * Set statistic value for the peer.  Will always use our
- * subsystem (the argument used when "handle" was created).
+ * subsystem (the argument used when @a handle was created).
  *
  * @param handle identification of the statistics service
  * @param name name of the statistic value