indent
[oweals/gnunet.git] / src / ats / test_ats_api_performance_list_addresses.c
index 422dbfcf5d341a27aa1dbaf3892d634ca7ae7dac..4d101662d8d41b551ceadf83c9b31b139f5356df 100644 (file)
@@ -130,7 +130,7 @@ test_performance_api (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
 
 void all_active_addresses_peer_cb (void *cls,
                const struct GNUNET_HELLO_Address *address,
-               unsigned int active,
+               int active,
                struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
                struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in,
                const struct GNUNET_ATS_Information *ats,
@@ -193,7 +193,7 @@ void all_active_addresses_peer_cb (void *cls,
 
 void all_active_addresses_cb (void *cls,
                                                                                                                        const struct GNUNET_HELLO_Address *address,
-                                                                                                                       unsigned int active,
+                                                                                                                       int active,
                                                                                                                        struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
                                                                                                                        struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in,
                                                                                                                        const struct GNUNET_ATS_Information *ats,
@@ -268,7 +268,7 @@ void all_active_addresses_cb (void *cls,
 
 void all_addresses_peer_cb (void *cls,
                                                                                                                const struct GNUNET_HELLO_Address *address,
-                                                                                                               unsigned int active,
+                                                                                                               int active,
                                                                                                                struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
                                                                                                                struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in,
                                                                                                                const struct GNUNET_ATS_Information *ats,
@@ -317,7 +317,7 @@ void all_addresses_peer_cb (void *cls,
 
 void all_addresses_cb (void *cls,
                                                                                        const struct GNUNET_HELLO_Address *address,
-                                                                                       unsigned int active,
+                                                                                       int active,
                                                                                        struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
                                                                                        struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in,
                                                                                        const struct GNUNET_ATS_Information *ats,
@@ -380,7 +380,7 @@ static void
 test_performance_api (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   if (NULL == ph)
-    ph = GNUNET_ATS_performance_init (cfg, NULL, NULL, NULL, NULL);
+    ph = GNUNET_ATS_performance_init (cfg, NULL, NULL);
   if (NULL == ph)
   {
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to initialize performance handle\n");