gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r6156 - in GNUnet/src/applications: dht/module fs/module ga


From: gnunet
Subject: [GNUnet-SVN] r6156 - in GNUnet/src/applications: dht/module fs/module gap testing
Date: Tue, 5 Feb 2008 00:09:27 -0700 (MST)

Author: grothoff
Date: 2008-02-05 00:09:27 -0700 (Tue, 05 Feb 2008)
New Revision: 6156

Modified:
   GNUnet/src/applications/dht/module/routing.c
   GNUnet/src/applications/fs/module/fs.c
   GNUnet/src/applications/fs/module/migration.c
   GNUnet/src/applications/gap/gap.c
   GNUnet/src/applications/testing/Makefile.am
Log:
fixing compile errors

Modified: GNUnet/src/applications/dht/module/routing.c
===================================================================
--- GNUnet/src/applications/dht/module/routing.c        2008-02-05 06:01:52 UTC 
(rev 6155)
+++ GNUnet/src/applications/dht/module/routing.c        2008-02-05 07:09:27 UTC 
(rev 6156)
@@ -883,7 +883,7 @@
   coreAPI->registerHandler (GNUNET_P2P_PROTO_DHT_PUT, &handlePut);
   coreAPI->registerHandler (GNUNET_P2P_PROTO_DHT_RESULT, &handleResult);
   coreAPI->
-    connection_register_send_callback (sizeof (DHT_MESSAGE),
+    connection_register_send_callback (sizeof (DHT_MESSAGE), 0,
                                        &extra_get_callback);
   return GNUNET_OK;
 }

Modified: GNUnet/src/applications/fs/module/fs.c
===================================================================
--- GNUnet/src/applications/fs/module/fs.c      2008-02-05 06:01:52 UTC (rev 
6155)
+++ GNUnet/src/applications/fs/module/fs.c      2008-02-05 07:09:27 UTC (rev 
6156)
@@ -363,9 +363,7 @@
 
   cectx =
     coreAPI->
-    cs_create_client_log_context (GNUNET_GE_USER |
-                                  GNUNET_GE_EVENTKIND |
-                                  GNUNET_GE_ROUTEKIND, sock);
+    cs_create_client_log_context (sock);
   if (ntohs (req->size) < sizeof (CS_fs_request_insert_MESSAGE))
     {
       GNUNET_GE_BREAK (ectx, 0);
@@ -479,9 +477,7 @@
 
   cectx =
     coreAPI->
-    cs_create_client_log_context (GNUNET_GE_USER |
-                                  GNUNET_GE_EVENTKIND |
-                                  GNUNET_GE_ROUTEKIND, sock);
+    cs_create_client_log_context (sock);
   if (ntohs (req->size) < sizeof (CS_fs_request_init_index_MESSAGE))
     {
       GNUNET_GE_BREAK (ectx, 0);
@@ -532,9 +528,7 @@
 
   cectx =
     coreAPI->
-    cs_create_client_log_context (GNUNET_GE_USER |
-                                  GNUNET_GE_EVENTKIND |
-                                  GNUNET_GE_ROUTEKIND, sock);
+    cs_create_client_log_context (sock);
   if (ntohs (req->size) < sizeof (CS_fs_request_index_MESSAGE))
     {
       GNUNET_GE_BREAK (ectx, 0);
@@ -619,9 +613,7 @@
 
   cectx =
     coreAPI->
-    cs_create_client_log_context (GNUNET_GE_USER |
-                                  GNUNET_GE_EVENTKIND |
-                                  GNUNET_GE_ROUTEKIND, sock);
+    cs_create_client_log_context (sock);
   if (ntohs (req->size) < sizeof (CS_fs_request_delete_MESSAGE))
     {
       GNUNET_GE_BREAK (ectx, 0);
@@ -697,9 +689,7 @@
 
   cectx =
     coreAPI->
-    cs_create_client_log_context (GNUNET_GE_USER |
-                                  GNUNET_GE_EVENTKIND |
-                                  GNUNET_GE_ROUTEKIND, sock);
+    cs_create_client_log_context (sock);
   if (ntohs (req->size) != sizeof (CS_fs_request_unindex_MESSAGE))
     {
       GNUNET_GE_BREAK (ectx, 0);

Modified: GNUnet/src/applications/fs/module/migration.c
===================================================================
--- GNUnet/src/applications/fs/module/migration.c       2008-02-05 06:01:52 UTC 
(rev 6155)
+++ GNUnet/src/applications/fs/module/migration.c       2008-02-05 07:09:27 UTC 
(rev 6156)
@@ -375,7 +375,7 @@
   traffic = t;
   coreAPI->
     connection_register_send_callback
-    (GNUNET_GAP_ESTIMATED_DATA_SIZE, &activeMigrationCallback);
+    (GNUNET_GAP_ESTIMATED_DATA_SIZE, 0, &activeMigrationCallback);
   stats = capi->request_service ("stats");
   if (stats != NULL)
     {

Modified: GNUnet/src/applications/gap/gap.c
===================================================================
--- GNUnet/src/applications/gap/gap.c   2008-02-05 06:01:52 UTC (rev 6155)
+++ GNUnet/src/applications/gap/gap.c   2008-02-05 07:09:27 UTC (rev 6156)
@@ -2322,7 +2322,7 @@
   capi->registerHandler (GNUNET_P2P_PROTO_GAP_RESULT, &useContent);
   coreAPI->
     connection_register_send_callback (sizeof
-                                       (P2P_gap_query_MESSAGE), &fillInQuery);
+                                       (P2P_gap_query_MESSAGE), 0, 
&fillInQuery);
 
   api.init = &init;
   api.get_start = &get_start;

Modified: GNUnet/src/applications/testing/Makefile.am
===================================================================
--- GNUnet/src/applications/testing/Makefile.am 2008-02-05 06:01:52 UTC (rev 
6155)
+++ GNUnet/src/applications/testing/Makefile.am 2008-02-05 07:09:27 UTC (rev 
6156)
@@ -12,13 +12,13 @@
 libgnunettesting_api_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(top_builddir)/src/applications/identity/libgnunetidentity_api.la 
-  
+
 libgnunetremote_api_la_SOURCES = \
   remote.c 
 libgnunetremote_api_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(top_builddir)/src/applications/identity/libgnunetidentity_api.la 
-  
+ 
 
 
 check_PROGRAMS = \





reply via email to

[Prev in Thread] Current Thread [Next in Thread]