-improve UDP logging
[oweals/gnunet.git] / src / ats / gnunet-service-ats_preferences.h
index 5425b73ffa2411b35033049aee3ea3f4e16faabf..4500dd0ff2ab0e60b02cf02eb56bf7afeea52b32 100644 (file)
 #include "gnunet_statistics_service.h"
 #include "ats.h"
 
-
+/**
+ * Default preference value we assume if we know nothing.
+ */
 #define DEFAULT_ABS_PREFERENCE 0.0
 
+/**
+ * Default relative preference value we assume if we know nothing.
+ */
 #define DEFAULT_REL_PREFERENCE 0.0
 
 
@@ -71,11 +76,11 @@ GAS_preference_done (void);
  * @param cls ignored
  * @param id the peer
  * @return pointer to the values, can be indexed
- *  with GNUNET_ATS_PreferenceKind, NULL if peer does not exist
+ *  with `enum GNUNET_ATS_PreferenceKind`, never NULL
  */
 const double *
 GAS_preference_get_by_peer (void *cls,
-                                          const struct GNUNET_PeerIdentity *id);
+                            const struct GNUNET_PeerIdentity *id);
 
 
 /**