gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r5911 - in GNUnet/src: applications/bootstrap_http applicat


From: gnunet
Subject: [GNUnet-SVN] r5911 - in GNUnet/src: applications/bootstrap_http applications/dht/module applications/fragmentation applications/pingpong applications/testbed transports
Date: Sat, 15 Dec 2007 03:15:07 -0700 (MST)

Author: grothoff
Date: 2007-12-15 03:15:06 -0700 (Sat, 15 Dec 2007)
New Revision: 5911

Modified:
   GNUnet/src/applications/bootstrap_http/httptest.c
   GNUnet/src/applications/dht/module/cs.c
   GNUnet/src/applications/fragmentation/fragmentationtest.c
   GNUnet/src/applications/pingpong/pingpong.c
   GNUnet/src/applications/testbed/testbed.c
   GNUnet/src/transports/test.c
   GNUnet/src/transports/test_repeat.c
Log:
typos

Modified: GNUnet/src/applications/bootstrap_http/httptest.c
===================================================================
--- GNUnet/src/applications/bootstrap_http/httptest.c   2007-12-15 10:10:30 UTC 
(rev 5910)
+++ GNUnet/src/applications/bootstrap_http/httptest.c   2007-12-15 10:15:06 UTC 
(rev 5911)
@@ -95,8 +95,8 @@
                                             "http://gnunet.org/hostlist";);
   memset (&capi, 0, sizeof (GNUNET_CoreAPIForPlugins));
   capi.cfg = cfg;
-  capi.GNUNET_CORE_request_service = &rs;
-  capi.GNUNET_CORE_release_service = &rsx;
+  capi.request_service = &rs;
+  capi.release_service = &rsx;
   plugin = GNUNET_plugin_load (NULL, "libgnunetmodule_", "bootstrap");
   init =
     GNUNET_plugin_resolve_function (plugin, "provide_module_", GNUNET_YES);

Modified: GNUnet/src/applications/dht/module/cs.c
===================================================================
--- GNUnet/src/applications/dht/module/cs.c     2007-12-15 10:10:30 UTC (rev 
5910)
+++ GNUnet/src/applications/dht/module/cs.c     2007-12-15 10:15:06 UTC (rev 
5911)
@@ -139,7 +139,7 @@
       GNUNET_GE_LOG (coreAPI->ectx,
                      GNUNET_GE_ERROR | GNUNET_GE_IMMEDIATE | GNUNET_GE_USER,
                      _("`%s' failed. Terminating connection to client.\n"),
-                     "GNUNET_CORE_cs_send_to_client");
+                     "cs_send_to_client");
       coreAPI->cs_terminate_client_connection (record->client);
     }
   GNUNET_free (msg);

Modified: GNUnet/src/applications/fragmentation/fragmentationtest.c
===================================================================
--- GNUnet/src/applications/fragmentation/fragmentationtest.c   2007-12-15 
10:10:30 UTC (rev 5910)
+++ GNUnet/src/applications/fragmentation/fragmentationtest.c   2007-12-15 
10:15:06 UTC (rev 5911)
@@ -367,14 +367,14 @@
 /* ************* driver ****************** */
 
 static int
-GNUNET_CORE_p2p_register_handler (const unsigned short type,
+p2p_register_handler (const unsigned short type,
                                   GNUNET_P2PRequestHandler callback)
 {
   return GNUNET_OK;
 }
 
 static int
-GNUNET_CORE_p2p_unregister_handler (const unsigned short type,
+p2p_unregister_handler (const unsigned short type,
                                     GNUNET_P2PRequestHandler callback)
 {
   return GNUNET_OK;
@@ -382,7 +382,7 @@
 
 
 static void *
-GNUNET_CORE_request_service (const char *name)
+request_service (const char *name)
 {
   return NULL;
 }
@@ -394,10 +394,10 @@
 
   memset (&capi, 0, sizeof (GNUNET_CoreAPIForPlugins));
   capi.cron = GNUNET_cron_create (NULL);
-  capi.GNUNET_CORE_p2p_inject_message = &handleHelper;
-  capi.GNUNET_CORE_request_service = &GNUNET_CORE_request_service;
-  capi.registerHandler = &GNUNET_CORE_p2p_register_handler;
-  capi.unregisterHandler = &GNUNET_CORE_p2p_unregister_handler;
+  capi.p2p_inject_message = &handleHelper;
+  capi.request_service = &request_service;
+  capi.registerHandler = &p2p_register_handler;
+  capi.unregisterHandler = &p2p_unregister_handler;
   provide_module_fragmentation (&capi);
 
   fprintf (stderr, ".");

Modified: GNUnet/src/applications/pingpong/pingpong.c
===================================================================
--- GNUnet/src/applications/pingpong/pingpong.c 2007-12-15 10:10:30 UTC (rev 
5910)
+++ GNUnet/src/applications/pingpong/pingpong.c 2007-12-15 10:15:06 UTC (rev 
5911)
@@ -166,8 +166,8 @@
 }
 
 static int
-GNUNET_CORE_connection_send_plaintext (const GNUNET_PeerIdentity * peer,
-                                       const P2P_pingpong_MESSAGE * msg)
+connection_send_plaintext (const GNUNET_PeerIdentity * peer,
+                          const P2P_pingpong_MESSAGE * msg)
 {
   GNUNET_TSession *mytsession;
   int ret;
@@ -235,7 +235,7 @@
                                               (char *) &pong,
                                               sizeof (P2P_pingpong_MESSAGE));
   if (ret != GNUNET_OK)
-    ret = GNUNET_CORE_connection_send_plaintext (sender, &pong);
+    ret = connection_send_plaintext (sender, &pong);
   if (ret == GNUNET_OK)
     {
       if (stats != NULL)
@@ -469,7 +469,7 @@
   if (usePlaintext == GNUNET_YES)
     {
       if (GNUNET_OK !=
-          GNUNET_CORE_connection_send_plaintext (receiver,
+          connection_send_plaintext (receiver,
                                                  (const P2P_pingpong_MESSAGE
                                                   *) pmsg))
         {

Modified: GNUnet/src/applications/testbed/testbed.c
===================================================================
--- GNUnet/src/applications/testbed/testbed.c   2007-12-15 10:10:30 UTC (rev 
5910)
+++ GNUnet/src/applications/testbed/testbed.c   2007-12-15 10:15:06 UTC (rev 
5911)
@@ -160,7 +160,7 @@
       coreAPI->cs_send_to_client (client, &reply->header.header);
       GNUNET_GE_LOG (ectx,
                      GNUNET_GE_DEBUG | GNUNET_GE_REQUEST | GNUNET_GE_USER,
-                     "%s: returning from GNUNET_CORE_cs_send_to_client\n",
+                     "%s: returning from cs_send_to_client\n",
                      __FUNCTION__);
       GNUNET_free (helo);
       GNUNET_free (reply);
@@ -1414,7 +1414,7 @@
   GNUNET_GE_ASSERT (ectx,
                     GNUNET_SYSERR !=
                     capi->
-                    GNUNET_CORE_cs_register_exit_handler
+                    cs_exit_handler_register
                     (&testbedClientExitHandler));
   GNUNET_GE_ASSERT (ectx,
                     GNUNET_SYSERR !=

Modified: GNUnet/src/transports/test.c
===================================================================
--- GNUnet/src/transports/test.c        2007-12-15 10:10:30 UTC (rev 5910)
+++ GNUnet/src/transports/test.c        2007-12-15 10:15:06 UTC (rev 5911)
@@ -81,7 +81,7 @@
 };
 
 static void *
-GNUNET_CORE_request_service (const char *name)
+request_service (const char *name)
 {
   /* we expect only "stats" to be requested... */
   if (0 != strcmp (name, "stats"))
@@ -90,7 +90,7 @@
 }
 
 static int
-GNUNET_CORE_connection_assert_tsession_unused (GNUNET_TSession * tsession)
+connection_assert_tsession_unused (GNUNET_TSession * tsession)
 {
   return GNUNET_OK;
 }
@@ -248,10 +248,10 @@
   api.cron = GNUNET_cron_create (api.ectx);
   api.myIdentity = &me;
   api.receive = &receive;
-  api.GNUNET_CORE_request_service = &GNUNET_CORE_request_service;
-  api.GNUNET_CORE_release_service = NULL;       /* not needed */
-  api.GNUNET_CORE_connection_assert_tsession_unused =
-    &GNUNET_CORE_connection_assert_tsession_unused;
+  api.request_service = &request_service;
+  api.release_service = NULL;       /* not needed */
+  api.connection_assert_tsession_unused =
+    &connection_assert_tsession_unused;
   GNUNET_cron_start (api.cron);
   res = GNUNET_OK;
   transport = init (&api);

Modified: GNUnet/src/transports/test_repeat.c
===================================================================
--- GNUnet/src/transports/test_repeat.c 2007-12-15 10:10:30 UTC (rev 5910)
+++ GNUnet/src/transports/test_repeat.c 2007-12-15 10:15:06 UTC (rev 5911)
@@ -83,7 +83,7 @@
 };
 
 static void *
-GNUNET_CORE_request_service (const char *name)
+request_service (const char *name)
 {
   /* we expect only "stats" to be requested... */
   if (0 != strcmp (name, "stats"))
@@ -92,7 +92,7 @@
 }
 
 static int
-GNUNET_CORE_connection_assert_tsession_unused (GNUNET_TSession * tsession)
+connection_assert_tsession_unused (GNUNET_TSession * tsession)
 {
   return GNUNET_OK;
 }
@@ -251,10 +251,10 @@
   api.cron = GNUNET_cron_create (api.ectx);
   api.myIdentity = &me;
   api.receive = &receive;
-  api.GNUNET_CORE_request_service = &GNUNET_CORE_request_service;
-  api.GNUNET_CORE_release_service = NULL;       /* not needed */
-  api.GNUNET_CORE_connection_assert_tsession_unused =
-    &GNUNET_CORE_connection_assert_tsession_unused;
+  api.request_service = &request_service;
+  api.release_service = NULL;       /* not needed */
+  api.connection_assert_tsession_unused =
+    &connection_assert_tsession_unused;
   GNUNET_cron_start (api.cron);
   res = GNUNET_OK;
   transport = init (&api);





reply via email to

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