gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r21926 - gnunet/src/ats gnunet/src/ats-test gnunet/src/bloc


From: gnunet
Subject: [GNUnet-SVN] r21926 - gnunet/src/ats gnunet/src/ats-test gnunet/src/block gnunet/src/chat gnunet/src/core gnunet/src/datacache gnunet/src/datastore gnunet/src/dht gnunet/src/dns gnunet/src/dv gnunet/src/exit gnunet/src/fs gnunet/src/gns gnunet/src/include gnunet/src/integration-tests gnunet/src/lockmanager gnunet/src/mesh gnunet/src/namestore gnunet/src/nse gnunet/src/peerinfo gnunet/src/regex gnunet/src/testing_old gnunet/src/topology gnunet/src/transport gnunet/src/util gnunet/src/vpn gnunet-gtk/src/fs gnunet-gtk/src/peerinfo gnunet-gtk/src/setup
Date: Tue, 12 Jun 2012 21:07:40 +0200

Author: grothoff
Date: 2012-06-12 21:07:40 +0200 (Tue, 12 Jun 2012)
New Revision: 21926

Modified:
   gnunet-gtk/src/fs/gnunet-fs-gtk_advertise-pseudonym.c
   gnunet-gtk/src/fs/gnunet-fs-gtk_common.c
   gnunet-gtk/src/fs/gnunet-fs-gtk_main-window-namespace-dropdown.c
   gnunet-gtk/src/fs/gnunet-fs-gtk_main-window-search.c
   gnunet-gtk/src/fs/gnunet-fs-gtk_namespace_manager.c
   gnunet-gtk/src/fs/gnunet-fs-gtk_publish-dialog.c
   gnunet-gtk/src/fs/gnunet-fs-gtk_unindex.c
   gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c
   gnunet-gtk/src/setup/gnunet-setup-datacache-config.c
   gnunet/src/ats-test/test_transport_ats.c
   gnunet/src/ats/gnunet-service-ats_addresses.c
   gnunet/src/ats/gnunet-service-ats_addresses_mlp.c
   gnunet/src/ats/gnunet-service-ats_reservations.c
   gnunet/src/block/block.c
   gnunet/src/block/plugin_block_template.c
   gnunet/src/block/plugin_block_test.c
   gnunet/src/block/test_block.c
   gnunet/src/chat/chat.c
   gnunet/src/chat/chat.h
   gnunet/src/chat/gnunet-chat.c
   gnunet/src/chat/gnunet-service-chat.c
   gnunet/src/chat/test_chat.c
   gnunet/src/chat/test_chat_private.c
   gnunet/src/core/core_api.c
   gnunet/src/core/gnunet-service-core_clients.c
   gnunet/src/core/gnunet-service-core_kx.c
   gnunet/src/core/gnunet-service-core_neighbours.c
   gnunet/src/core/gnunet-service-core_sessions.c
   gnunet/src/datacache/datacache.c
   gnunet/src/datacache/perf_datacache.c
   gnunet/src/datacache/plugin_datacache_mysql.c
   gnunet/src/datacache/plugin_datacache_postgres.c
   gnunet/src/datacache/plugin_datacache_sqlite.c
   gnunet/src/datacache/plugin_datacache_template.c
   gnunet/src/datacache/test_datacache.c
   gnunet/src/datacache/test_datacache_quota.c
   gnunet/src/datastore/datastore.h
   gnunet/src/datastore/datastore_api.c
   gnunet/src/datastore/gnunet-service-datastore.c
   gnunet/src/datastore/perf_datastore_api.c
   gnunet/src/datastore/perf_plugin_datastore.c
   gnunet/src/datastore/plugin_datastore_mysql.c
   gnunet/src/datastore/plugin_datastore_postgres.c
   gnunet/src/datastore/plugin_datastore_sqlite.c
   gnunet/src/datastore/plugin_datastore_template.c
   gnunet/src/datastore/test_datastore_api.c
   gnunet/src/datastore/test_datastore_api_management.c
   gnunet/src/datastore/test_plugin_datastore.c
   gnunet/src/dht/dht.h
   gnunet/src/dht/dht_api.c
   gnunet/src/dht/gnunet-dht-get.c
   gnunet/src/dht/gnunet-dht-monitor.c
   gnunet/src/dht/gnunet-dht-put.c
   gnunet/src/dht/gnunet-service-dht_clients.c
   gnunet/src/dht/gnunet-service-dht_clients.h
   gnunet/src/dht/gnunet-service-dht_datacache.c
   gnunet/src/dht/gnunet-service-dht_datacache.h
   gnunet/src/dht/gnunet-service-dht_hello.c
   gnunet/src/dht/gnunet-service-dht_neighbours.c
   gnunet/src/dht/gnunet-service-dht_neighbours.h
   gnunet/src/dht/gnunet-service-dht_routing.c
   gnunet/src/dht/gnunet-service-dht_routing.h
   gnunet/src/dht/plugin_block_dht.c
   gnunet/src/dht/test_dht_api.c
   gnunet/src/dht/test_dht_monitor.c
   gnunet/src/dht/test_dht_multipeer.c
   gnunet/src/dht/test_dht_topo.c
   gnunet/src/dht/test_dht_twopeer.c
   gnunet/src/dht/test_dht_twopeer_get_put.c
   gnunet/src/dht/test_dht_twopeer_path_tracking.c
   gnunet/src/dht/test_dht_twopeer_put_get.c
   gnunet/src/dns/plugin_block_dns.c
   gnunet/src/dv/dv_api.c
   gnunet/src/dv/gnunet-service-dv.c
   gnunet/src/exit/exit.h
   gnunet/src/exit/gnunet-daemon-exit.c
   gnunet/src/fs/fs.h
   gnunet/src/fs/fs_api.c
   gnunet/src/fs/fs_api.h
   gnunet/src/fs/fs_download.c
   gnunet/src/fs/fs_namespace.c
   gnunet/src/fs/fs_namespace_advertise.c
   gnunet/src/fs/fs_publish.c
   gnunet/src/fs/fs_publish_ksk.c
   gnunet/src/fs/fs_search.c
   gnunet/src/fs/fs_sharetree.c
   gnunet/src/fs/fs_unindex.c
   gnunet/src/fs/fs_uri.c
   gnunet/src/fs/gnunet-fs.c
   gnunet/src/fs/gnunet-pseudonym.c
   gnunet/src/fs/gnunet-service-fs.c
   gnunet/src/fs/gnunet-service-fs.h
   gnunet/src/fs/gnunet-service-fs_cp.c
   gnunet/src/fs/gnunet-service-fs_indexing.c
   gnunet/src/fs/gnunet-service-fs_indexing.h
   gnunet/src/fs/gnunet-service-fs_lc.c
   gnunet/src/fs/gnunet-service-fs_pe.c
   gnunet/src/fs/gnunet-service-fs_pr.c
   gnunet/src/fs/gnunet-service-fs_pr.h
   gnunet/src/fs/gnunet-service-fs_push.c
   gnunet/src/fs/gnunet-service-fs_put.c
   gnunet/src/fs/plugin_block_fs.c
   gnunet/src/fs/test_fs_namespace.c
   gnunet/src/gns/gnunet-service-gns.c
   gnunet/src/gns/gnunet-service-gns_resolver.c
   gnunet/src/gns/plugin_block_gns.c
   gnunet/src/gns/test_gns_dht_delegated_lookup.c
   gnunet/src/gns/test_gns_pseu_shorten.c
   gnunet/src/include/block_dns.h
   gnunet/src/include/block_fs.h
   gnunet/src/include/gnunet_block_lib.h
   gnunet/src/include/gnunet_block_plugin.h
   gnunet/src/include/gnunet_chat_service.h
   gnunet/src/include/gnunet_common.h
   gnunet/src/include/gnunet_constants.h
   gnunet/src/include/gnunet_container_lib.h
   gnunet/src/include/gnunet_crypto_lib.h
   gnunet/src/include/gnunet_datacache_lib.h
   gnunet/src/include/gnunet_datacache_plugin.h
   gnunet/src/include/gnunet_datastore_plugin.h
   gnunet/src/include/gnunet_datastore_service.h
   gnunet/src/include/gnunet_dht_service.h
   gnunet/src/include/gnunet_fs_service.h
   gnunet/src/include/gnunet_pseudonym_lib.h
   gnunet/src/include/gnunet_regex_lib.h
   gnunet/src/include/gnunet_vpn_service.h
   gnunet/src/integration-tests/connection_watchdog.c
   gnunet/src/lockmanager/gnunet-service-lockmanager.c
   gnunet/src/lockmanager/lockmanager_api.c
   gnunet/src/mesh/gnunet-service-mesh.c
   gnunet/src/mesh/gnunet-service-mesh_new.c
   gnunet/src/mesh/mesh_tunnel_tree.c
   gnunet/src/namestore/gnunet-service-namestore.c
   gnunet/src/namestore/test_namestore_api_remove_not_existing_record.c
   gnunet/src/namestore/test_namestore_api_zone_iteration.c
   gnunet/src/namestore/test_namestore_api_zone_iteration_stop.c
   gnunet/src/nse/gnunet-service-nse.c
   gnunet/src/peerinfo/gnunet-service-peerinfo.c
   gnunet/src/regex/regex.c
   gnunet/src/regex/test_regex_iterate_api.c
   gnunet/src/testing_old/testing_group.c
   gnunet/src/topology/gnunet-daemon-topology.c
   gnunet/src/transport/gnunet-service-transport_blacklist.c
   gnunet/src/transport/gnunet-service-transport_neighbours.c
   gnunet/src/transport/gnunet-service-transport_validation.c
   gnunet/src/transport/plugin_transport_tcp.c
   gnunet/src/transport/plugin_transport_udp.c
   gnunet/src/transport/plugin_transport_unix.c
   gnunet/src/transport/transport_api.c
   gnunet/src/util/common_logging.c
   gnunet/src/util/container_bloomfilter.c
   gnunet/src/util/container_multihashmap.c
   gnunet/src/util/crypto_hash.c
   gnunet/src/util/crypto_ksk.c
   gnunet/src/util/crypto_rsa.c
   gnunet/src/util/perf_crypto_hash.c
   gnunet/src/util/pseudonym.c
   gnunet/src/util/test_container_bloomfilter.c
   gnunet/src/util/test_container_multihashmap.c
   gnunet/src/util/test_crypto_hash.c
   gnunet/src/util/test_crypto_ksk.c
   gnunet/src/util/test_pseudonym.c
   gnunet/src/vpn/gnunet-service-vpn.c
   gnunet/src/vpn/gnunet-vpn.c
   gnunet/src/vpn/vpn.h
   gnunet/src/vpn/vpn_api.c
Log:
-consistently use struct GNUNET_HashCode

Modified: gnunet/src/ats/gnunet-service-ats_addresses.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_addresses.c       2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/ats/gnunet-service-ats_addresses.c       2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -98,7 +98,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-update_bw_simple_it (void *cls, const GNUNET_HashCode * key, void *value)
+update_bw_simple_it (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct ATS_Address *aa = value;
 
@@ -219,7 +219,7 @@
 
 
 static int
-compare_address_it (void *cls, const GNUNET_HashCode * key, void *value)
+compare_address_it (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct CompareAddressContext *cac = cls;
   struct ATS_Address *aa = value;
@@ -289,7 +289,7 @@
 
 
 static int
-compare_address_session_it (void *cls, const GNUNET_HashCode * key, void 
*value)
+compare_address_session_it (void *cls, const struct GNUNET_HashCode * key, 
void *value)
 {
   struct CompareAddressContext *cac = cls;
   struct ATS_Address *aa = value;
@@ -444,7 +444,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-destroy_by_session_id (void *cls, const GNUNET_HashCode * key, void *value)
+destroy_by_session_id (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   const struct ATS_Address *info = cls;
   struct ATS_Address *aa = value;
@@ -539,7 +539,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-find_address_it (void *cls, const GNUNET_HashCode * key, void *value)
+find_address_it (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct ATS_Address **ap = cls;
   struct ATS_Address *aa = (struct ATS_Address *) value;
@@ -761,7 +761,7 @@
 
 
 static int
-reset_address_it (void *cls, const GNUNET_HashCode * key, void *value)
+reset_address_it (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct ATS_Address *aa = value;
 
@@ -903,7 +903,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-free_address_it (void *cls, const GNUNET_HashCode * key, void *value)
+free_address_it (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct ATS_Address *aa = value;
 

Modified: gnunet/src/ats/gnunet-service-ats_addresses_mlp.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_addresses_mlp.c   2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/ats/gnunet-service-ats_addresses_mlp.c   2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -278,7 +278,7 @@
  * @return GNUNET_OK to continue
  */
 static int
-create_constraint_it (void *cls, const GNUNET_HashCode * key, void *value)
+create_constraint_it (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct GAS_MLP_Handle *mlp = cls;
   struct ATS_Address *address = value;
@@ -674,7 +674,7 @@
  * @return GNUNET_OK to continue
  */
 static int
-create_columns_it (void *cls, const GNUNET_HashCode * key, void *value)
+create_columns_it (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct GAS_MLP_Handle *mlp = cls;
   struct ATS_Address *address = value;
@@ -1706,7 +1706,7 @@
 }
 
 static int
-mlp_get_preferred_address_it (void *cls, const GNUNET_HashCode * key, void 
*value)
+mlp_get_preferred_address_it (void *cls, const struct GNUNET_HashCode * key, 
void *value)
 {
 
   struct ATS_PreferedAddress *aa = (struct ATS_PreferedAddress *) cls;

Modified: gnunet/src/ats/gnunet-service-ats_reservations.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_reservations.c    2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/ats/gnunet-service-ats_reservations.c    2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -135,7 +135,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-free_tracker (void *cls, const GNUNET_HashCode * key, void *value)
+free_tracker (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct GNUNET_BANDWIDTH_Tracker *tracker = value;
 

Modified: gnunet/src/ats-test/test_transport_ats.c
===================================================================
--- gnunet/src/ats-test/test_transport_ats.c    2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/ats-test/test_transport_ats.c    2012-06-12 19:07:40 UTC (rev 
21926)
@@ -148,7 +148,7 @@
   if (99 == strlen (section))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Peer '%s`\n", section);
-    GNUNET_HashCode h;
+    struct GNUNET_HashCode h;
     int res = GNUNET_CRYPTO_hash_from_string (section, &h);
 
     GNUNET_log (GNUNET_ERROR_TYPE_INFO, "HASH '%s` %i\n", GNUNET_h2s (&h), 
res);

Modified: gnunet/src/block/block.c
===================================================================
--- gnunet/src/block/block.c    2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/block/block.c    2012-06-12 19:07:40 UTC (rev 21926)
@@ -78,10 +78,10 @@
  * @param hc where to store the result.
  */
 void
-GNUNET_BLOCK_mingle_hash (const GNUNET_HashCode * in, uint32_t mingle_number,
-                          GNUNET_HashCode * hc)
+GNUNET_BLOCK_mingle_hash (const struct GNUNET_HashCode * in, uint32_t 
mingle_number,
+                          struct GNUNET_HashCode * hc)
 {
-  GNUNET_HashCode m;
+  struct GNUNET_HashCode m;
 
   GNUNET_CRYPTO_hash (&mingle_number, sizeof (uint32_t), &m);
   GNUNET_CRYPTO_hash_xor (&m, in, hc);
@@ -204,7 +204,7 @@
 enum GNUNET_BLOCK_EvaluationResult
 GNUNET_BLOCK_evaluate (struct GNUNET_BLOCK_Context *ctx,
                        enum GNUNET_BLOCK_Type type,
-                       const GNUNET_HashCode * query,
+                       const struct GNUNET_HashCode * query,
                        struct GNUNET_CONTAINER_BloomFilter **bf,
                        int32_t bf_mutator, const void *xquery,
                        size_t xquery_size, const void *reply_block,
@@ -233,7 +233,7 @@
 int
 GNUNET_BLOCK_get_key (struct GNUNET_BLOCK_Context *ctx,
                       enum GNUNET_BLOCK_Type type, const void *block,
-                      size_t block_size, GNUNET_HashCode * key)
+                      size_t block_size, struct GNUNET_HashCode * key)
 {
   struct GNUNET_BLOCK_PluginFunctions *plugin = find_plugin (ctx, type);
 
@@ -285,11 +285,11 @@
  */
 struct GNUNET_CONTAINER_BloomFilter *
 GNUNET_BLOCK_construct_bloomfilter (int32_t bf_mutator,
-                                    const GNUNET_HashCode * seen_results,
+                                    const struct GNUNET_HashCode * 
seen_results,
                                     unsigned int seen_results_count)
 {
   struct GNUNET_CONTAINER_BloomFilter *bf;
-  GNUNET_HashCode mhash;
+  struct GNUNET_HashCode mhash;
   unsigned int i;
   size_t nsize;
 

Modified: gnunet/src/block/plugin_block_template.c
===================================================================
--- gnunet/src/block/plugin_block_template.c    2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/block/plugin_block_template.c    2012-06-12 19:07:40 UTC (rev 
21926)
@@ -47,7 +47,7 @@
  */
 static enum GNUNET_BLOCK_EvaluationResult
 block_plugin_template_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
-                                const GNUNET_HashCode * query,
+                                const struct GNUNET_HashCode * query,
                                 struct GNUNET_CONTAINER_BloomFilter **bf,
                                 int32_t bf_mutator, const void *xquery,
                                 size_t xquery_size, const void *reply_block,
@@ -92,7 +92,7 @@
 static int
 block_plugin_template_get_key (void *cls, enum GNUNET_BLOCK_Type type,
                                const void *block, size_t block_size,
-                               GNUNET_HashCode * key)
+                              struct GNUNET_HashCode * key)
 {
   return GNUNET_SYSERR;
 }

Modified: gnunet/src/block/plugin_block_test.c
===================================================================
--- gnunet/src/block/plugin_block_test.c        2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/block/plugin_block_test.c        2012-06-12 19:07:40 UTC (rev 
21926)
@@ -54,14 +54,14 @@
  */
 static enum GNUNET_BLOCK_EvaluationResult
 block_plugin_test_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
-                            const GNUNET_HashCode * query,
+                            const struct GNUNET_HashCode * query,
                             struct GNUNET_CONTAINER_BloomFilter **bf,
                             int32_t bf_mutator, const void *xquery,
                             size_t xquery_size, const void *reply_block,
                             size_t reply_block_size)
 {
-  GNUNET_HashCode chash;
-  GNUNET_HashCode mhash;
+  struct GNUNET_HashCode chash;
+  struct GNUNET_HashCode mhash;
 
   if (type != GNUNET_BLOCK_TYPE_TEST)
     return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED;
@@ -106,7 +106,7 @@
 static int
 block_plugin_test_get_key (void *cls, enum GNUNET_BLOCK_Type type,
                            const void *block, size_t block_size,
-                           GNUNET_HashCode * key)
+                           struct GNUNET_HashCode * key)
 {
   /* always fails since there is no fixed relationship between
    * keys and values for test values */

Modified: gnunet/src/block/test_block.c
===================================================================
--- gnunet/src/block/test_block.c       2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/block/test_block.c       2012-06-12 19:07:40 UTC (rev 21926)
@@ -32,7 +32,7 @@
 static int
 test_fs (struct GNUNET_BLOCK_Context *ctx)
 {
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   char block[4];
 
   memset (block, 1, sizeof (block));

Modified: gnunet/src/chat/chat.c
===================================================================
--- gnunet/src/chat/chat.c      2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/chat/chat.c      2012-06-12 19:07:40 UTC (rev 21926)
@@ -92,7 +92,7 @@
   /**
    * Member ID (pseudonym).
    */
-  GNUNET_HashCode id;
+  struct GNUNET_HashCode id;
 
 };
 
@@ -224,8 +224,8 @@
   struct ReceiveNotificationMessage *received_msg;
   struct ConfirmationReceiptMessage *receipt;
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey;
-  GNUNET_HashCode id;
-  const GNUNET_HashCode *sender;
+  struct GNUNET_HashCode id;
+  const struct GNUNET_HashCode *sender;
   struct GNUNET_CONTAINER_MetaData *meta;
   struct GNUNET_CHAT_SendReceiptContext *src;
   struct MemberList *pos;
@@ -308,7 +308,7 @@
     prev = NULL;
     pos = room->members;
     while ((NULL != pos) &&
-           (0 != memcmp (&pos->id, &id, sizeof (GNUNET_HashCode))))
+           (0 != memcmp (&pos->id, &id, sizeof (struct GNUNET_HashCode))))
     {
       prev = pos;
       pos = pos->next;
@@ -379,7 +379,7 @@
       while ((NULL != pos) &&
              (0 !=
               memcmp (&pos->id, &received_msg->sender,
-                      sizeof (GNUNET_HashCode))))
+                      sizeof (struct GNUNET_HashCode))))
         pos = pos->next;
       GNUNET_assert (NULL != pos);
       sender = &received_msg->sender;
@@ -649,7 +649,7 @@
                        GNUNET_CHAT_MemberListCallback memberCallback,
                        void *member_cls,
                        GNUNET_CHAT_MessageConfirmation confirmationCallback,
-                       void *confirmation_cls, GNUNET_HashCode * me)
+                       void *confirmation_cls, struct GNUNET_HashCode * me)
 {
   struct GNUNET_CHAT_Room *chat_room;
   struct GNUNET_CRYPTO_RsaPrivateKey *priv_key;
@@ -755,7 +755,7 @@
       GNUNET_TIME_absolute_hton (GNUNET_TIME_absolute_get ());
   msg_to_send->reserved = htonl (0);
   if (NULL == smc->receiver)
-    memset (&msg_to_send->target, 0, sizeof (GNUNET_HashCode));
+    memset (&msg_to_send->target, 0, sizeof (struct GNUNET_HashCode));
   else
     GNUNET_CRYPTO_hash (smc->receiver,
                         sizeof (struct 
GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded),

Modified: gnunet/src/chat/chat.h
===================================================================
--- gnunet/src/chat/chat.h      2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/chat/chat.h      2012-06-12 19:07:40 UTC (rev 21926)
@@ -80,7 +80,7 @@
    * Hash of the public key of the pseudonym of the sender of the message.
    * Should be all zeros for anonymous.
    */
-  GNUNET_HashCode sender;
+  struct GNUNET_HashCode sender;
 
   /**
    * The encrypted session key.
@@ -136,7 +136,7 @@
   /**
    * Who should receive this message?  Set to all zeros for "everyone".
    */
-  GNUNET_HashCode target;
+  struct GNUNET_HashCode target;
 
 };
 
@@ -189,17 +189,17 @@
   /**
    * Who is confirming the receipt?
    */
-  GNUNET_HashCode target;
+  struct GNUNET_HashCode target;
 
   /**
    * Who is the author of the chat message?
    */
-  GNUNET_HashCode author;
+  struct GNUNET_HashCode author;
 
   /**
    * Hash of the (possibly encrypted) content.
    */
-  GNUNET_HashCode content;
+  struct GNUNET_HashCode content;
 
 };
 
@@ -406,12 +406,12 @@
    * Hash of the public key of the pseudonym of the sender of the message
    * Should be all zeros for anonymous.
    */
-  GNUNET_HashCode sender;
+  struct GNUNET_HashCode sender;
 
   /**
    * Who should receive this message?  Set to all zeros for "everyone".
    */
-  GNUNET_HashCode target;
+  struct GNUNET_HashCode target;
 
   /**
    * The encrypted session key.
@@ -465,17 +465,17 @@
   /**
    * Who is confirming the receipt?
    */
-  GNUNET_HashCode target;
+  struct GNUNET_HashCode target;
 
   /**
    * Who is the author of the chat message?
    */
-  GNUNET_HashCode author;
+  struct GNUNET_HashCode author;
 
   /**
    * Hash of the (possibly encrypted) content.
    */
-  GNUNET_HashCode content;
+  struct GNUNET_HashCode content;
 
 };
 GNUNET_NETWORK_STRUCT_END

Modified: gnunet/src/chat/gnunet-chat.c
===================================================================
--- gnunet/src/chat/gnunet-chat.c       2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/chat/gnunet-chat.c       2012-06-12 19:07:40 UTC (rev 21926)
@@ -110,7 +110,7 @@
  */
 static int
 receive_cb (void *cls, struct GNUNET_CHAT_Room *room,
-            const GNUNET_HashCode * sender,
+            const struct GNUNET_HashCode * sender,
             const struct GNUNET_CONTAINER_MetaData *member_info,
             const char *message, struct GNUNET_TIME_Absolute timestamp,
             enum GNUNET_CHAT_MsgOptions options)
@@ -199,7 +199,7 @@
 confirmation_cb (void *cls, struct GNUNET_CHAT_Room *room,
                  uint32_t orig_seq_number,
                  struct GNUNET_TIME_Absolute timestamp,
-                 const GNUNET_HashCode * receiver)
+                 const struct GNUNET_HashCode * receiver)
 {
   char *nick;
   char *unique_nick;
@@ -238,7 +238,7 @@
   char *nick;
   char *non_unique_nick;
   int nick_is_a_dup;
-  GNUNET_HashCode id;
+  struct GNUNET_HashCode id;
   struct UserList *pos;
   struct UserList *prev;
 
@@ -304,7 +304,7 @@
 {
   char *my_name;
   int my_name_is_a_dup;
-  GNUNET_HashCode me;
+  struct GNUNET_HashCode me;
 
   if (arg[0] == '#')
     arg++;                      /* ignore first hash */
@@ -343,7 +343,7 @@
 {
   char *my_name;
   int my_name_is_a_dup;
-  GNUNET_HashCode me;
+  struct GNUNET_HashCode me;
 
   GNUNET_CHAT_leave_room (room);
   free_user_list ();
@@ -383,7 +383,7 @@
   char *unique_name;
   int name_is_a_dup;
   struct UserList *pos;
-  GNUNET_HashCode pid;
+  struct GNUNET_HashCode pid;
 
   FPRINTF (stdout, _("Users in room `%s': "), room_name);
   pos = users;
@@ -424,8 +424,8 @@
 do_send_pm (const char *msg, const void *xtra)
 {
   char *user;
-  GNUNET_HashCode uid;
-  GNUNET_HashCode pid;
+  struct GNUNET_HashCode uid;
+  struct GNUNET_HashCode pid;
   uint32_t seq;
   struct UserList *pos;
 
@@ -451,7 +451,7 @@
     GNUNET_CRYPTO_hash (&pos->pkey,
                         sizeof (struct 
GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded),
                         &pid);
-    if (0 == memcmp (&pid, &uid, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (&pid, &uid, sizeof (struct GNUNET_HashCode)))
       break;
     pos = pos->next;
   }
@@ -661,7 +661,7 @@
 run (void *cls, char *const *args, const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *c)
 {
-  GNUNET_HashCode me;
+  struct GNUNET_HashCode me;
   char *my_name;
   int my_name_is_a_dup;
 

Modified: gnunet/src/chat/gnunet-service-chat.c
===================================================================
--- gnunet/src/chat/gnunet-service-chat.c       2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/chat/gnunet-service-chat.c       2012-06-12 19:07:40 UTC (rev 
21926)
@@ -69,7 +69,7 @@
   /**
    * Hash of the public key (for convenience).
    */
-  GNUNET_HashCode id;
+  struct GNUNET_HashCode id;
 
   /**
    * Options which the client is willing to receive.
@@ -117,7 +117,7 @@
   /**
    * Hash of the message.
    */
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
 
 };
 
@@ -162,7 +162,7 @@
 remember_anonymous_message (const struct P2PReceiveNotificationMessage
                             *p2p_rnmsg)
 {
-  static GNUNET_HashCode hash;
+  static struct GNUNET_HashCode hash;
   struct AnonymousMessage *anon_msg;
   struct AnonymousMessage *prev;
   int anon_list_len;
@@ -192,13 +192,13 @@
 static int
 lookup_anonymous_message (const struct P2PReceiveNotificationMessage 
*p2p_rnmsg)
 {
-  static GNUNET_HashCode hash;
+  static struct GNUNET_HashCode hash;
   struct AnonymousMessage *anon_msg;
 
   GNUNET_CRYPTO_hash (p2p_rnmsg, ntohs (p2p_rnmsg->header.size), &hash);
   anon_msg = anonymous_list_head;
   while ((NULL != anon_msg) &&
-         (0 != memcmp (&anon_msg->hash, &hash, sizeof (GNUNET_HashCode))))
+         (0 != memcmp (&anon_msg->hash, &hash, sizeof (struct 
GNUNET_HashCode))))
     anon_msg = anon_msg->next;
   return (NULL != anon_msg);
 }
@@ -244,7 +244,7 @@
  * Ask to send a message notification to the peer.
  */
 static int
-send_message_noficiation (void *cls, const GNUNET_HashCode * key, void *value)
+send_message_noficiation (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct P2PReceiveNotificationMessage *msg = cls;
   struct ConnectedPeer *cp = value;
@@ -280,7 +280,7 @@
 handle_transmit_request (void *cls, struct GNUNET_SERVER_Client *client,
                          const struct GNUNET_MessageHeader *message)
 {
-  static GNUNET_HashCode all_zeros;
+  static struct GNUNET_HashCode all_zeros;
   const struct TransmitRequestMessage *trmsg;
   struct ReceiveNotificationMessage *rnmsg;
   struct P2PReceiveNotificationMessage *p2p_rnmsg;
@@ -349,7 +349,7 @@
   is_anon = (0 != (ntohl (trmsg->msg_options) & GNUNET_CHAT_MSG_ANONYMOUS));
   if (is_anon)
   {
-    memset (&rnmsg->sender, 0, sizeof (GNUNET_HashCode));
+    memset (&rnmsg->sender, 0, sizeof (struct GNUNET_HashCode));
     rnmsg->sequence_number = 0;
   }
   else
@@ -364,7 +364,7 @@
                 "Encrypting the session key using the public key of '%s'\n",
                 GNUNET_h2s (&trmsg->target));
 #endif
-    if (0 == memcmp (&all_zeros, &trmsg->target, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (&all_zeros, &trmsg->target, sizeof (struct 
GNUNET_HashCode)))
     {
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                   "Malformed message: private, but no target\n");
@@ -377,7 +377,7 @@
     target = client_list_head;
     while ((NULL != target) &&
            (0 !=
-            memcmp (&target->id, &trmsg->target, sizeof (GNUNET_HashCode))))
+            memcmp (&target->id, &trmsg->target, sizeof (struct 
GNUNET_HashCode))))
       target = target->next;
     if (NULL == target)
     {
@@ -416,7 +416,7 @@
         (pos->client != client))
     {
       if (((!is_priv) ||
-           (0 == memcmp (&trmsg->target, &pos->id, sizeof (GNUNET_HashCode))))
+           (0 == memcmp (&trmsg->target, &pos->id, sizeof (struct 
GNUNET_HashCode))))
           && (0 == (ntohl (trmsg->msg_options) & (~pos->msg_options))))
       {
         GNUNET_SERVER_notification_context_unicast (nc, pos->client,
@@ -521,7 +521,7 @@
  * Ask to send a join notification to the peer.
  */
 static int
-send_join_noficiation (void *cls, const GNUNET_HashCode * key, void *value)
+send_join_noficiation (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct ChatClient *entry = cls;
   struct ConnectedPeer *cp = value;
@@ -703,7 +703,7 @@
  * Ask to send a confirmation receipt to the peer.
  */
 static int
-send_confirmation_receipt (void *cls, const GNUNET_HashCode * key, void *value)
+send_confirmation_receipt (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct P2PConfirmationReceiptMessage *receipt = cls;
   struct ConnectedPeer *cp = value;
@@ -754,7 +754,7 @@
   author = client_list_head;
   while ((NULL != author) &&
          (0 !=
-          memcmp (&receipt->author, &author->id, sizeof (GNUNET_HashCode))))
+          memcmp (&receipt->author, &author->id, sizeof (struct 
GNUNET_HashCode))))
     author = author->next;
   if (NULL == author)
   {
@@ -767,7 +767,7 @@
   target = client_list_head;
   while ((NULL != target) &&
          (0 !=
-          memcmp (&receipt->target, &target->id, sizeof (GNUNET_HashCode))))
+          memcmp (&receipt->target, &target->id, sizeof (struct 
GNUNET_HashCode))))
     target = target->next;
   if (NULL == target)
   {
@@ -880,7 +880,7 @@
  * Ask to send a leave notification to the peer.
  */
 static int
-send_leave_noficiation (void *cls, const GNUNET_HashCode * key, void *value)
+send_leave_noficiation (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct ChatClient *entry = cls;
   struct ConnectedPeer *cp = value;
@@ -1000,7 +1000,7 @@
   struct ChatClient *new_entry;
   struct ChatClient *entry;
   struct JoinNotificationMessage *jnmsg;
-  GNUNET_HashCode id;
+  struct GNUNET_HashCode id;
 
   GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Got P2P join notification\n");
   if (ntohs (message->size) <= sizeof (struct P2PJoinNotificationMessage))
@@ -1025,7 +1025,7 @@
   entry = client_list_head;
   while (NULL != entry)
   {
-    if (0 == memcmp (&entry->id, &id, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (&entry->id, &id, sizeof (struct GNUNET_HashCode)))
     {
 #if DEBUG_CHAT_SERVICE
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -1109,7 +1109,7 @@
                                unsigned int atsi_count)
 {
   const struct P2PLeaveNotificationMessage *p2p_lnmsg;
-  GNUNET_HashCode id;
+  struct GNUNET_HashCode id;
   struct ChatClient *pos;
   struct ChatClient *prev;
   struct ChatClient *entry;
@@ -1124,7 +1124,7 @@
   prev = NULL;
   while (NULL != pos)
   {
-    if (0 == memcmp (&pos->id, &id, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (&pos->id, &id, sizeof (struct GNUNET_HashCode)))
       break;
     prev = pos;
     pos = pos->next;
@@ -1195,7 +1195,7 @@
   struct ReceiveNotificationMessage *rnmsg;
   struct ChatClient *sender;
   struct ChatClient *pos;
-  static GNUNET_HashCode all_zeros;
+  static struct GNUNET_HashCode all_zeros;
   int is_priv;
   int is_anon;
   uint16_t msg_len;
@@ -1246,7 +1246,7 @@
     sender = client_list_head;
     while ((NULL != sender) &&
            (0 !=
-            memcmp (&sender->id, &p2p_rnmsg->sender, sizeof 
(GNUNET_HashCode))))
+            memcmp (&sender->id, &p2p_rnmsg->sender, sizeof (struct 
GNUNET_HashCode))))
       sender = sender->next;
     if (NULL == sender)
     {
@@ -1287,7 +1287,7 @@
   rnmsg->reserved = htonl (0);
   rnmsg->timestamp = p2p_rnmsg->timestamp;
   is_priv =
-      (0 != memcmp (&all_zeros, &p2p_rnmsg->target, sizeof (GNUNET_HashCode)));
+      (0 != memcmp (&all_zeros, &p2p_rnmsg->target, sizeof (struct 
GNUNET_HashCode)));
   if (is_priv)
     memcpy (&rnmsg->encrypted_key, &p2p_rnmsg->encrypted_key,
             sizeof (struct GNUNET_CRYPTO_RsaEncryptedData));
@@ -1300,7 +1300,7 @@
     {
       if (((!is_priv) ||
            (0 ==
-            memcmp (&p2p_rnmsg->target, &pos->id, sizeof (GNUNET_HashCode)))) 
&&
+            memcmp (&p2p_rnmsg->target, &pos->id, sizeof (struct 
GNUNET_HashCode)))) &&
           (0 == (ntohl (p2p_rnmsg->msg_options) & (~pos->msg_options))))
       {
         GNUNET_SERVER_notification_context_unicast (nc, pos->client,
@@ -1396,7 +1396,7 @@
   target = client_list_head;
   while ((NULL != target) &&
          (0 !=
-          memcmp (&target->id, &p2p_crmsg->target, sizeof (GNUNET_HashCode))))
+          memcmp (&target->id, &p2p_crmsg->target, sizeof (struct 
GNUNET_HashCode))))
     target = target->next;
   if (NULL == target)
   {
@@ -1420,7 +1420,7 @@
   author = client_list_head;
   while ((NULL != author) &&
          (0 !=
-          memcmp (&author->id, &p2p_crmsg->author, sizeof (GNUNET_HashCode))))
+          memcmp (&author->id, &p2p_crmsg->author, sizeof (struct 
GNUNET_HashCode))))
     author = author->next;
   if (NULL == author)
   {
@@ -1563,7 +1563,7 @@
  * @return GNUNET_YES (we should continue to iterate)
  */
 static int
-clean_peer (void *cls, const GNUNET_HashCode * key, void *value)
+clean_peer (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct ConnectedPeer *cp;
   const struct GNUNET_PeerIdentity *peer =
@@ -1595,7 +1595,7 @@
     return;
   GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Peer disconnected: %s\n",
               GNUNET_i2s (peer));
-  clean_peer (NULL, (const GNUNET_HashCode *) peer, NULL);
+  clean_peer (NULL, (const struct GNUNET_HashCode *) peer, NULL);
 }
 
 

Modified: gnunet/src/chat/test_chat.c
===================================================================
--- gnunet/src/chat/test_chat.c 2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/chat/test_chat.c 2012-06-12 19:07:40 UTC (rev 21926)
@@ -58,7 +58,7 @@
 {
   struct GNUNET_CONTAINER_MetaData *meta;
 
-  GNUNET_HashCode *sender;
+  struct GNUNET_HashCode *sender;
 
   char *msg;
 
@@ -80,9 +80,9 @@
 
 static struct PeerContext p2;
 
-static GNUNET_HashCode alice;
+static struct GNUNET_HashCode alice;
 
-static GNUNET_HashCode bob;
+static struct GNUNET_HashCode bob;
 
 static struct GNUNET_CHAT_Room *alice_room;
 
@@ -201,7 +201,7 @@
                 enum GNUNET_CHAT_MsgOptions options)
 {
   struct Wanted *want = cls;
-  GNUNET_HashCode sender;
+  struct GNUNET_HashCode sender;
 
 #if VERBOSE
   printf ("%s - told that %s has %s\n", want->me,
@@ -213,7 +213,7 @@
   GNUNET_CRYPTO_hash (member_id,
                       sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded),
                       &sender);
-  if ((0 == memcmp (&sender, want->sender, sizeof (GNUNET_HashCode))) &&
+  if ((0 == memcmp (&sender, want->sender, sizeof (struct GNUNET_HashCode))) &&
       (((member_info == NULL) && (want->meta == NULL)) ||
        ((member_info != NULL) && (want->meta != NULL) &&
         (GNUNET_CONTAINER_meta_data_test_equal (member_info, want->meta)))) &&
@@ -234,7 +234,7 @@
 
 static int
 receive_cb (void *cls, struct GNUNET_CHAT_Room *room,
-            const GNUNET_HashCode * sender,
+            const struct GNUNET_HashCode * sender,
             const struct GNUNET_CONTAINER_MetaData *meta, const char *message,
             struct GNUNET_TIME_Absolute timestamp,
             enum GNUNET_CHAT_MsgOptions options)
@@ -250,7 +250,7 @@
   if ((0 == strcmp (message, want->msg)) &&
       (((sender == NULL) && (want->sender == NULL)) ||
        ((sender != NULL) && (want->sender != NULL) &&
-        (0 == memcmp (sender, want->sender, sizeof (GNUNET_HashCode))))) &&
+        (0 == memcmp (sender, want->sender, sizeof (struct 
GNUNET_HashCode))))) &&
       (GNUNET_CONTAINER_meta_data_test_equal (meta, want->meta)) &&
       (options == want->opt) &&
       /* Not == since the library sets the actual timestamp, so it may be
@@ -275,7 +275,7 @@
 confirmation_cb (void *cls, struct GNUNET_CHAT_Room *room,
                  uint32_t orig_seq_number,
                  struct GNUNET_TIME_Absolute timestamp,
-                 const GNUNET_HashCode * receiver)
+                 const struct GNUNET_HashCode * receiver)
 {
   struct Wanted *want = cls;
 
@@ -285,7 +285,7 @@
                                                   EXTRACTOR_METATYPE_TITLE),
           orig_seq_number);
 #endif
-  if ((0 == memcmp (receiver, want->sender, sizeof (GNUNET_HashCode))) &&
+  if ((0 == memcmp (receiver, want->sender, sizeof (struct GNUNET_HashCode))) 
&&
       (orig_seq_number == want->sequence_number) &&
       (timestamp.abs_value >= want->timestamp.abs_value))
   {

Modified: gnunet/src/chat/test_chat_private.c
===================================================================
--- gnunet/src/chat/test_chat_private.c 2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/chat/test_chat_private.c 2012-06-12 19:07:40 UTC (rev 21926)
@@ -56,7 +56,7 @@
 {
   struct GNUNET_CONTAINER_MetaData *meta;
 
-  GNUNET_HashCode *sender;
+  struct GNUNET_HashCode *sender;
 
   /**
    * Alternative meta/sender is used when we expect join/leave notification
@@ -64,7 +64,7 @@
    */
   struct GNUNET_CONTAINER_MetaData *meta2;
 
-  GNUNET_HashCode *sender2;
+  struct GNUNET_HashCode *sender2;
 
   char *msg;
 
@@ -86,11 +86,11 @@
 
 static struct PeerContext p3;
 
-static GNUNET_HashCode alice;
+static struct GNUNET_HashCode alice;
 
-static GNUNET_HashCode bob;
+static struct GNUNET_HashCode bob;
 
-static GNUNET_HashCode carol;
+static struct GNUNET_HashCode carol;
 
 static struct GNUNET_CHAT_Room *alice_room;
 
@@ -220,7 +220,7 @@
                 enum GNUNET_CHAT_MsgOptions options)
 {
   struct Wanted *want = cls;
-  GNUNET_HashCode sender;
+  struct GNUNET_HashCode sender;
 
 #if VERBOSE
   printf ("%s - told that %s has %s\n", want->me,
@@ -233,9 +233,9 @@
                       sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded),
                       &sender);
   /* entertain both primary and an alternative sender/meta */
-  if (((0 == memcmp (&sender, want->sender, sizeof (GNUNET_HashCode))) ||
+  if (((0 == memcmp (&sender, want->sender, sizeof (struct GNUNET_HashCode))) 
||
        ((want->sender2 != NULL) &&
-        (0 == memcmp (&sender, want->sender2, sizeof (GNUNET_HashCode))))) &&
+        (0 == memcmp (&sender, want->sender2, sizeof (struct 
GNUNET_HashCode))))) &&
       (((member_info == NULL) && (want->meta == NULL)) ||
        ((member_info != NULL) &&
         (((want->meta != NULL) &&
@@ -246,7 +246,7 @@
   {
     /* remember Bob's public key, we need it to send private message */
     if (NULL == bob_public_key &&
-        (0 == memcmp (&bob, want->sender, sizeof (GNUNET_HashCode))))
+        (0 == memcmp (&bob, want->sender, sizeof (struct GNUNET_HashCode))))
       bob_public_key =
           GNUNET_memdup (member_id,
                          sizeof (struct
@@ -254,7 +254,7 @@
     if (want->sender2 != NULL)
     {
       /* flush alternative sender */
-      if (0 == memcmp (&sender, want->sender, sizeof (GNUNET_HashCode)))
+      if (0 == memcmp (&sender, want->sender, sizeof (struct GNUNET_HashCode)))
       {
         want->sender = want->sender2;
         want->meta = want->meta2;
@@ -277,7 +277,7 @@
 
 static int
 receive_cb (void *cls, struct GNUNET_CHAT_Room *room,
-            const GNUNET_HashCode * sender,
+            const struct GNUNET_HashCode * sender,
             const struct GNUNET_CONTAINER_MetaData *meta, const char *message,
             struct GNUNET_TIME_Absolute timestamp,
             enum GNUNET_CHAT_MsgOptions options)
@@ -294,7 +294,7 @@
   if ((want->msg != NULL) && (0 == strcmp (message, want->msg)) &&
       (((sender == NULL) && (want->sender == NULL)) ||
        ((sender != NULL) && (want->sender != NULL) &&
-        (0 == memcmp (sender, want->sender, sizeof (GNUNET_HashCode))))) &&
+        (0 == memcmp (sender, want->sender, sizeof (struct 
GNUNET_HashCode))))) &&
       (GNUNET_CONTAINER_meta_data_test_equal (meta, want->meta)) &&
       (options == want->opt) &&
       /* Not == since the library sets the actual timestamp, so it may be

Modified: gnunet/src/core/core_api.c
===================================================================
--- gnunet/src/core/core_api.c  2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/core/core_api.c  2012-06-12 19:07:40 UTC (rev 21926)
@@ -357,7 +357,7 @@
  * @return GNUNET_YES (continue)
  */
 static int
-disconnect_and_free_peer_entry (void *cls, const GNUNET_HashCode * key,
+disconnect_and_free_peer_entry (void *cls, const struct GNUNET_HashCode * key,
                                 void *value)
 {
   struct GNUNET_CORE_Handle *h = cls;

Modified: gnunet/src/core/gnunet-service-core_clients.c
===================================================================
--- gnunet/src/core/gnunet-service-core_clients.c       2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/core/gnunet-service-core_clients.c       2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -559,7 +559,7 @@
  * @return GNUNET_YES (continue iteration)
  */
 static int
-destroy_active_client_request (void *cls, const GNUNET_HashCode * key,
+destroy_active_client_request (void *cls, const struct GNUNET_HashCode * key,
                                void *value)
 {
   struct GSC_ClientActiveRequest *car = value;

Modified: gnunet/src/core/gnunet-service-core_kx.c
===================================================================
--- gnunet/src/core/gnunet-service-core_kx.c    2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/core/gnunet-service-core_kx.c    2012-06-12 19:07:40 UTC (rev 
21926)
@@ -207,7 +207,7 @@
    * (excluding this value itself) will be encrypted and authenticated.
    * ENCRYPTED_HEADER_SIZE must be set to the offset of the *next* field.
    */
-  GNUNET_HashCode hmac;
+  struct GNUNET_HashCode hmac;
 
   /**
    * Sequence number, in network byte order.  This field
@@ -1513,7 +1513,7 @@
 {
   const struct EncryptedMessage *m;
   struct EncryptedMessage *pt;  /* plaintext */
-  GNUNET_HashCode ph;
+  struct GNUNET_HashCode ph;
   uint32_t snum;
   struct GNUNET_TIME_Absolute t;
   struct GNUNET_CRYPTO_AesInitializationVector iv;
@@ -1550,7 +1550,7 @@
                    kx->decrypt_key_created);
   GNUNET_CRYPTO_hmac (&auth_key, &m->sequence_number,
                       size - ENCRYPTED_HEADER_SIZE, &ph);
-  if (0 != memcmp (&ph, &m->hmac, sizeof (GNUNET_HashCode)))
+  if (0 != memcmp (&ph, &m->hmac, sizeof (struct GNUNET_HashCode)))
   {
     /* checksum failed */
     GNUNET_break_op (0);

Modified: gnunet/src/core/gnunet-service-core_neighbours.c
===================================================================
--- gnunet/src/core/gnunet-service-core_neighbours.c    2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/core/gnunet-service-core_neighbours.c    2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -486,7 +486,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-free_neighbour_helper (void *cls, const GNUNET_HashCode * key, void *value)
+free_neighbour_helper (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct Neighbour *n = value;
 

Modified: gnunet/src/core/gnunet-service-core_sessions.c
===================================================================
--- gnunet/src/core/gnunet-service-core_sessions.c      2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/core/gnunet-service-core_sessions.c      2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -283,7 +283,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-notify_client_about_session (void *cls, const GNUNET_HashCode * key,
+notify_client_about_session (void *cls, const struct GNUNET_HashCode * key,
                              void *value)
 {
   struct GSC_Client *client = cls;
@@ -549,7 +549,7 @@
  * @return always GNUNET_OK
  */
 static int
-do_send_message (void *cls, const GNUNET_HashCode * key, void *value)
+do_send_message (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   const struct GNUNET_MessageHeader *hdr = cls;
   struct Session *session = value;
@@ -642,7 +642,7 @@
  */
 #include "core.h"
 static int
-queue_connect_message (void *cls, const GNUNET_HashCode * key, void *value)
+queue_connect_message (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct GNUNET_SERVER_TransmitContext *tc = cls;
   struct Session *session = value;
@@ -795,7 +795,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-free_session_helper (void *cls, const GNUNET_HashCode * key, void *value)
+free_session_helper (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct Session *session = value;
 

Modified: gnunet/src/datacache/datacache.c
===================================================================
--- gnunet/src/datacache/datacache.c    2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/datacache/datacache.c    2012-06-12 19:07:40 UTC (rev 21926)
@@ -103,7 +103,7 @@
  * @param size number of bytes that were made available
  */
 static void
-env_delete_notify (void *cls, const GNUNET_HashCode * key, size_t size)
+env_delete_notify (void *cls, const struct GNUNET_HashCode * key, size_t size)
 {
   struct GNUNET_DATACACHE_Handle *h = cls;
 
@@ -233,7 +233,7 @@
  */
 int
 GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h,
-                      const GNUNET_HashCode * key, size_t size,
+                      const struct GNUNET_HashCode * key, size_t size,
                       const char *data, enum GNUNET_BLOCK_Type type,
                       struct GNUNET_TIME_Absolute discard_time)
 {
@@ -270,7 +270,7 @@
  */
 unsigned int
 GNUNET_DATACACHE_get (struct GNUNET_DATACACHE_Handle *h,
-                      const GNUNET_HashCode * key, enum GNUNET_BLOCK_Type type,
+                      const struct GNUNET_HashCode * key, enum 
GNUNET_BLOCK_Type type,
                       GNUNET_DATACACHE_Iterator iter, void *iter_cls)
 {
   GNUNET_STATISTICS_update (h->stats, gettext_noop ("# requests received"), 1,

Modified: gnunet/src/datacache/perf_datacache.c
===================================================================
--- gnunet/src/datacache/perf_datacache.c       2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/datacache/perf_datacache.c       2012-06-12 19:07:40 UTC (rev 
21926)
@@ -45,10 +45,10 @@
 
 static int
 checkIt (void *cls, struct GNUNET_TIME_Absolute exp,
-         const GNUNET_HashCode * key, size_t size, const char *data,
+         const struct GNUNET_HashCode * key, size_t size, const char *data,
          enum GNUNET_BLOCK_Type type)
 {
-  if ((size == sizeof (GNUNET_HashCode)) && (0 == memcmp (data, cls, size)))
+  if ((size == sizeof (struct GNUNET_HashCode)) && (0 == memcmp (data, cls, 
size)))
     found++;
   return GNUNET_OK;
 }
@@ -59,8 +59,8 @@
      const struct GNUNET_CONFIGURATION_Handle *cfg)
 {
   struct GNUNET_DATACACHE_Handle *h;
-  GNUNET_HashCode k;
-  GNUNET_HashCode n;
+  struct GNUNET_HashCode k;
+  struct GNUNET_HashCode n;
   struct GNUNET_TIME_Absolute exp;
   struct GNUNET_TIME_Absolute start;
   unsigned int i;
@@ -76,14 +76,14 @@
   }
   exp = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS);
   start = GNUNET_TIME_absolute_get ();
-  memset (&k, 0, sizeof (GNUNET_HashCode));
+  memset (&k, 0, sizeof (struct GNUNET_HashCode));
   for (i = 0; i < ITERATIONS; i++)
   {
     if (0 == i % (ITERATIONS / 80))
       FPRINTF (stderr, "%s",  ".");
-    GNUNET_CRYPTO_hash (&k, sizeof (GNUNET_HashCode), &n);
+    GNUNET_CRYPTO_hash (&k, sizeof (struct GNUNET_HashCode), &n);
     ASSERT (GNUNET_OK ==
-            GNUNET_DATACACHE_put (h, &k, sizeof (GNUNET_HashCode),
+            GNUNET_DATACACHE_put (h, &k, sizeof (struct GNUNET_HashCode),
                                   (const char *) &n, 1 + i % 16, exp));
     k = n;
   }
@@ -96,12 +96,12 @@
           GNUNET_TIME_absolute_get_duration (start).rel_value / ITERATIONS,
           "ms/item");
   start = GNUNET_TIME_absolute_get ();
-  memset (&k, 0, sizeof (GNUNET_HashCode));
+  memset (&k, 0, sizeof (struct GNUNET_HashCode));
   for (i = 0; i < ITERATIONS; i++)
   {
     if (0 == i % (ITERATIONS / 80))
       FPRINTF (stderr, "%s",  ".");
-    GNUNET_CRYPTO_hash (&k, sizeof (GNUNET_HashCode), &n);
+    GNUNET_CRYPTO_hash (&k, sizeof (struct GNUNET_HashCode), &n);
     GNUNET_DATACACHE_get (h, &k, 1 + i % 16, &checkIt, &n);
     k = n;
   }

Modified: gnunet/src/datacache/plugin_datacache_mysql.c
===================================================================
--- gnunet/src/datacache/plugin_datacache_mysql.c       2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/datacache/plugin_datacache_mysql.c       2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -87,7 +87,7 @@
 /**
  * Estimate of the per-entry overhead (including indices).
  */
-#define OVERHEAD ((4*2+4*2+8*2+8*2+sizeof(GNUNET_HashCode)*5+8))
+#define OVERHEAD ((4*2+4*2+8*2+8*2+sizeof(struct GNUNET_HashCode)*5+8))
 
 /**
  * Die with an error message that indicates
@@ -190,7 +190,7 @@
  * @return 0 on error, number of bytes used otherwise
  */
 static size_t
-mysql_plugin_put (void *cls, const GNUNET_HashCode * key, size_t size,
+mysql_plugin_put (void *cls, const struct GNUNET_HashCode * key, size_t size,
                   const char *data, enum GNUNET_BLOCK_Type type,
                   struct GNUNET_TIME_Absolute discard_time)
 {
@@ -202,7 +202,7 @@
   unsigned long long v_now;
   unsigned long long v_discard_time;
   unsigned int v_type;
-  GNUNET_HashCode vhash;
+  struct GNUNET_HashCode vhash;
   int ret;
 
   if (size > GNUNET_SERVER_MAX_MESSAGE_SIZE)
@@ -211,8 +211,8 @@
   now = GNUNET_TIME_absolute_get ();
 
   /* first try UPDATE */
-  h_length = sizeof (GNUNET_HashCode);
-  k_length = sizeof (GNUNET_HashCode);
+  h_length = sizeof (struct GNUNET_HashCode);
+  k_length = sizeof (struct GNUNET_HashCode);
   v_length = size;
   v_type = type;
   v_now = (unsigned long long) now.abs_value;
@@ -221,15 +221,15 @@
       GNUNET_MYSQL_statement_run_prepared (plugin->mc, plugin->update_value, 
NULL,
                               MYSQL_TYPE_LONGLONG, &v_now, GNUNET_YES,
                               MYSQL_TYPE_LONGLONG, &v_discard_time, GNUNET_YES,
-                              MYSQL_TYPE_BLOB, key, sizeof (GNUNET_HashCode),
+                              MYSQL_TYPE_BLOB, key, sizeof (struct 
GNUNET_HashCode),
                               &k_length, MYSQL_TYPE_BLOB, &vhash,
-                              sizeof (GNUNET_HashCode), &h_length,
+                              sizeof (struct GNUNET_HashCode), &h_length,
                               MYSQL_TYPE_LONG, &v_type, GNUNET_YES, -1))
     return GNUNET_OK;
 
   /* now try INSERT */
-  h_length = sizeof (GNUNET_HashCode);
-  k_length = sizeof (GNUNET_HashCode);
+  h_length = sizeof (struct GNUNET_HashCode);
+  k_length = sizeof (struct GNUNET_HashCode);
   v_length = size;
   if (GNUNET_OK !=
       (ret =
@@ -237,9 +237,9 @@
                                MYSQL_TYPE_LONG, &type, GNUNET_YES,
                                MYSQL_TYPE_LONGLONG, &v_now, GNUNET_YES,
                                MYSQL_TYPE_LONGLONG, &v_discard_time, 
GNUNET_YES,
-                               MYSQL_TYPE_BLOB, key, sizeof (GNUNET_HashCode),
+                               MYSQL_TYPE_BLOB, key, sizeof (struct 
GNUNET_HashCode),
                                &k_length, MYSQL_TYPE_BLOB, &vhash,
-                               sizeof (GNUNET_HashCode), &h_length,
+                               sizeof (struct GNUNET_HashCode), &h_length,
                                MYSQL_TYPE_BLOB, data, (unsigned long) size,
                                &v_length, -1)))
   {
@@ -270,7 +270,7 @@
  * @return the number of results found
  */
 static unsigned int
-mysql_plugin_get (void *cls, const GNUNET_HashCode * key,
+mysql_plugin_get (void *cls, const struct GNUNET_HashCode * key,
                   enum GNUNET_BLOCK_Type type, GNUNET_DATACACHE_Iterator iter,
                   void *iter_cls)
 {
@@ -290,7 +290,7 @@
   char buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE];
 
   now = GNUNET_TIME_absolute_get ();
-  h_length = sizeof (GNUNET_HashCode);
+  h_length = sizeof (struct GNUNET_HashCode);
   v_length = sizeof (buffer);
   total = -1;
   memset (rbind, 0, sizeof (rbind));
@@ -303,7 +303,7 @@
        (ret =
         GNUNET_MYSQL_statement_run_prepared_select (plugin->mc, 
plugin->count_value, 1, rbind,
                                        return_ok, NULL, MYSQL_TYPE_BLOB, key,
-                                       sizeof (GNUNET_HashCode), &h_length,
+                                       sizeof (struct GNUNET_HashCode), 
&h_length,
                                        MYSQL_TYPE_LONG, &v_type, GNUNET_YES,
                                        MYSQL_TYPE_LONGLONG, &v_now, GNUNET_YES,
                                        -1))) || (-1 == total))
@@ -332,7 +332,7 @@
         (ret =
          GNUNET_MYSQL_statement_run_prepared_select (plugin->mc, 
plugin->select_value, 2, rbind,
                                         return_ok, NULL, MYSQL_TYPE_BLOB, key,
-                                        sizeof (GNUNET_HashCode), &h_length,
+                                        sizeof (struct GNUNET_HashCode), 
&h_length,
                                         MYSQL_TYPE_LONG, &v_type, GNUNET_YES,
                                         MYSQL_TYPE_LONGLONG, &v_now, 
GNUNET_YES,
                                         MYSQL_TYPE_LONG, &off, GNUNET_YES, 
-1)))
@@ -364,24 +364,24 @@
 
   MYSQL_BIND rbind[5];
   unsigned int v_type;
-  GNUNET_HashCode v_key;
-  GNUNET_HashCode vhash;
+  struct GNUNET_HashCode v_key;
+  struct GNUNET_HashCode vhash;
   unsigned long k_length;
   unsigned long h_length;
   unsigned long v_length;
   int ret;
   char buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE];
 
-  k_length = sizeof (GNUNET_HashCode);
-  h_length = sizeof (GNUNET_HashCode);
+  k_length = sizeof (struct GNUNET_HashCode);
+  h_length = sizeof (struct GNUNET_HashCode);
   v_length = sizeof (buffer);
   memset (rbind, 0, sizeof (rbind));
   rbind[0].buffer_type = MYSQL_TYPE_BLOB;
-  rbind[0].buffer_length = sizeof (GNUNET_HashCode);
+  rbind[0].buffer_length = sizeof (struct GNUNET_HashCode);
   rbind[0].length = &k_length;
   rbind[0].buffer = &v_key;
   rbind[1].buffer_type = MYSQL_TYPE_BLOB;
-  rbind[1].buffer_length = sizeof (GNUNET_HashCode);
+  rbind[1].buffer_length = sizeof (struct GNUNET_HashCode);
   rbind[1].length = &h_length;
   rbind[1].buffer = &vhash;
   rbind[2].buffer_type = MYSQL_TYPE_LONG;
@@ -399,9 +399,9 @@
        (ret =
         GNUNET_MYSQL_statement_run_prepared (plugin->mc, plugin->delete_value, 
NULL,
                                 MYSQL_TYPE_BLOB, &v_key,
-                                sizeof (GNUNET_HashCode), &k_length,
+                                sizeof (struct GNUNET_HashCode), &k_length,
                                 MYSQL_TYPE_BLOB, &vhash,
-                                sizeof (GNUNET_HashCode), &h_length,
+                                sizeof (struct GNUNET_HashCode), &h_length,
                                 MYSQL_TYPE_LONG, &v_type, GNUNET_YES,
                                 MYSQL_TYPE_BLOB, buffer,
                                 (unsigned long) sizeof (buffer), &v_length,

Modified: gnunet/src/datacache/plugin_datacache_postgres.c
===================================================================
--- gnunet/src/datacache/plugin_datacache_postgres.c    2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/datacache/plugin_datacache_postgres.c    2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -34,7 +34,7 @@
 /**
  * Per-entry overhead estimate
  */
-#define OVERHEAD (sizeof(GNUNET_HashCode) + 24)
+#define OVERHEAD (sizeof(struct GNUNET_HashCode) + 24)
 
 /**
  * Context for all functions in this plugin.
@@ -160,7 +160,7 @@
  * @return 0 on error, number of bytes used otherwise
  */
 static size_t
-postgres_plugin_put (void *cls, const GNUNET_HashCode * key, size_t size,
+postgres_plugin_put (void *cls, const struct GNUNET_HashCode * key, size_t 
size,
                      const char *data, enum GNUNET_BLOCK_Type type,
                      struct GNUNET_TIME_Absolute discard_time)
 {
@@ -178,7 +178,7 @@
   int paramLengths[] = {
     sizeof (btype),
     sizeof (bexpi),
-    sizeof (GNUNET_HashCode),
+    sizeof (struct GNUNET_HashCode),
     size
   };
   const int paramFormats[] = { 1, 1, 1, 1 };
@@ -206,7 +206,7 @@
  * @return the number of results found
  */
 static unsigned int
-postgres_plugin_get (void *cls, const GNUNET_HashCode * key,
+postgres_plugin_get (void *cls, const struct GNUNET_HashCode * key,
                      enum GNUNET_BLOCK_Type type,
                      GNUNET_DATACACHE_Iterator iter, void *iter_cls)
 {
@@ -218,7 +218,7 @@
     (const char *) &btype,
   };
   int paramLengths[] = {
-    sizeof (GNUNET_HashCode),
+    sizeof (struct GNUNET_HashCode),
     sizeof (btype),
   };
   const int paramFormats[] = { 1, 1 };
@@ -298,7 +298,7 @@
   struct Plugin *plugin = cls;
   uint32_t size;
   uint32_t oid;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   PGresult *res;
 
   res = PQexecPrepared (plugin->dbh, "getm", 0, NULL, NULL, NULL, 1);
@@ -319,7 +319,7 @@
   }
   if ((3 != PQnfields (res)) || (sizeof (size) != PQfsize (res, 0)) ||
       (sizeof (oid) != PQfsize (res, 1)) ||
-      (sizeof (GNUNET_HashCode) != PQgetlength (res, 0, 2)))
+      (sizeof (struct GNUNET_HashCode) != PQgetlength (res, 0, 2)))
   {
     GNUNET_break (0);
     PQclear (res);
@@ -327,7 +327,7 @@
   }
   size = ntohl (*(uint32_t *) PQgetvalue (res, 0, 0));
   oid = ntohl (*(uint32_t *) PQgetvalue (res, 0, 1));
-  memcpy (&key, PQgetvalue (res, 0, 2), sizeof (GNUNET_HashCode));
+  memcpy (&key, PQgetvalue (res, 0, 2), sizeof (struct GNUNET_HashCode));
   PQclear (res);
   if (GNUNET_OK != GNUNET_POSTGRES_delete_by_rowid (plugin->dbh, "delrow", 
oid))
     return GNUNET_SYSERR;

Modified: gnunet/src/datacache/plugin_datacache_sqlite.c
===================================================================
--- gnunet/src/datacache/plugin_datacache_sqlite.c      2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/datacache/plugin_datacache_sqlite.c      2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -37,7 +37,7 @@
  * How much overhead do we assume per entry in the
  * datacache?
  */
-#define OVERHEAD (sizeof(GNUNET_HashCode) + 32)
+#define OVERHEAD (sizeof(struct GNUNET_HashCode) + 32)
 
 /**
  * Context for all functions in this plugin.
@@ -98,7 +98,7 @@
  * @return 0 on error, number of bytes used otherwise
  */
 static size_t
-sqlite_plugin_put (void *cls, const GNUNET_HashCode * key, size_t size,
+sqlite_plugin_put (void *cls, const struct GNUNET_HashCode * key, size_t size,
                    const char *data, enum GNUNET_BLOCK_Type type,
                    struct GNUNET_TIME_Absolute discard_time)
 {
@@ -126,7 +126,7 @@
   if ((SQLITE_OK != sqlite3_bind_int (stmt, 1, type)) ||
       (SQLITE_OK != sqlite3_bind_int64 (stmt, 2, dval)) ||
       (SQLITE_OK !=
-       sqlite3_bind_blob (stmt, 3, key, sizeof (GNUNET_HashCode),
+       sqlite3_bind_blob (stmt, 3, key, sizeof (struct GNUNET_HashCode),
                           SQLITE_TRANSIENT)) ||
       (SQLITE_OK != sqlite3_bind_blob (stmt, 4, data, size, SQLITE_TRANSIENT)))
   {
@@ -161,7 +161,7 @@
  * @return the number of results found
  */
 static unsigned int
-sqlite_plugin_get (void *cls, const GNUNET_HashCode * key,
+sqlite_plugin_get (void *cls, const struct GNUNET_HashCode * key,
                    enum GNUNET_BLOCK_Type type, GNUNET_DATACACHE_Iterator iter,
                    void *iter_cls)
 {
@@ -192,7 +192,7 @@
   ntime = (int64_t) now.abs_value;
   GNUNET_assert (ntime >= 0);
   if ((SQLITE_OK !=
-       sqlite3_bind_blob (stmt, 1, key, sizeof (GNUNET_HashCode),
+       sqlite3_bind_blob (stmt, 1, key, sizeof (struct GNUNET_HashCode),
                           SQLITE_TRANSIENT)) ||
       (SQLITE_OK != sqlite3_bind_int (stmt, 2, type)) ||
       (SQLITE_OK != sqlite3_bind_int64 (stmt, 3, now.abs_value)))
@@ -239,7 +239,7 @@
       return cnt;
     }
     if ((SQLITE_OK !=
-         sqlite3_bind_blob (stmt, 1, key, sizeof (GNUNET_HashCode),
+         sqlite3_bind_blob (stmt, 1, key, sizeof (struct GNUNET_HashCode),
                             SQLITE_TRANSIENT)) ||
         (SQLITE_OK != sqlite3_bind_int (stmt, 2, type)) ||
         (SQLITE_OK != sqlite3_bind_int64 (stmt, 3, now.abs_value)))
@@ -287,7 +287,7 @@
   unsigned int dsize;
   sqlite3_stmt *stmt;
   sqlite3_stmt *dstmt;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
 
   LOG (GNUNET_ERROR_TYPE_DEBUG, "Processing `%s'\n", "DEL");
   stmt = NULL;
@@ -311,8 +311,8 @@
     return GNUNET_SYSERR;
   }
   rowid = sqlite3_column_int64 (stmt, 0);
-  GNUNET_assert (sqlite3_column_bytes (stmt, 1) == sizeof (GNUNET_HashCode));
-  memcpy (&hc, sqlite3_column_blob (stmt, 1), sizeof (GNUNET_HashCode));
+  GNUNET_assert (sqlite3_column_bytes (stmt, 1) == sizeof (struct 
GNUNET_HashCode));
+  memcpy (&hc, sqlite3_column_blob (stmt, 1), sizeof (struct GNUNET_HashCode));
   dsize = sqlite3_column_bytes (stmt, 2);
   if (SQLITE_OK != sqlite3_finalize (stmt))
     LOG_SQLITE (plugin->dbh, GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK,

Modified: gnunet/src/datacache/plugin_datacache_template.c
===================================================================
--- gnunet/src/datacache/plugin_datacache_template.c    2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/datacache/plugin_datacache_template.c    2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -52,7 +52,7 @@
  * @return 0 on error, number of bytes used otherwise
  */
 static size_t
-template_plugin_put (void *cls, const GNUNET_HashCode * key, size_t size,
+template_plugin_put (void *cls, const struct GNUNET_HashCode * key, size_t 
size,
                      const char *data, enum GNUNET_BLOCK_Type type,
                      struct GNUNET_TIME_Absolute discard_time)
 {
@@ -73,7 +73,7 @@
  * @return the number of results found
  */
 static unsigned int
-template_plugin_get (void *cls, const GNUNET_HashCode * key,
+template_plugin_get (void *cls, const struct GNUNET_HashCode * key,
                      enum GNUNET_BLOCK_Type type,
                      GNUNET_DATACACHE_Iterator iter, void *iter_cls)
 {

Modified: gnunet/src/datacache/test_datacache.c
===================================================================
--- gnunet/src/datacache/test_datacache.c       2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/datacache/test_datacache.c       2012-06-12 19:07:40 UTC (rev 
21926)
@@ -39,10 +39,10 @@
 
 static int
 checkIt (void *cls, struct GNUNET_TIME_Absolute exp,
-         const GNUNET_HashCode * key, size_t size, const char *data,
+         const struct GNUNET_HashCode * key, size_t size, const char *data,
          enum GNUNET_BLOCK_Type type)
 {
-  if (size != sizeof (GNUNET_HashCode))
+  if (size != sizeof (struct GNUNET_HashCode))
   {
     GNUNET_break (0);
     ok = 2;
@@ -61,8 +61,8 @@
      const struct GNUNET_CONFIGURATION_Handle *cfg)
 {
   struct GNUNET_DATACACHE_Handle *h;
-  GNUNET_HashCode k;
-  GNUNET_HashCode n;
+  struct GNUNET_HashCode k;
+  struct GNUNET_HashCode n;
   struct GNUNET_TIME_Absolute exp;
   unsigned int i;
 
@@ -77,27 +77,27 @@
   }
   exp = GNUNET_TIME_absolute_get ();
   exp.abs_value += 5 * 60 * 1000;
-  memset (&k, 0, sizeof (GNUNET_HashCode));
+  memset (&k, 0, sizeof (struct GNUNET_HashCode));
   for (i = 0; i < 100; i++)
   {
-    GNUNET_CRYPTO_hash (&k, sizeof (GNUNET_HashCode), &n);
+    GNUNET_CRYPTO_hash (&k, sizeof (struct GNUNET_HashCode), &n);
     ASSERT (GNUNET_OK ==
-            GNUNET_DATACACHE_put (h, &k, sizeof (GNUNET_HashCode),
+            GNUNET_DATACACHE_put (h, &k, sizeof (struct GNUNET_HashCode),
                                   (const char *) &n, 1 + i % 16, exp));
     k = n;
   }
-  memset (&k, 0, sizeof (GNUNET_HashCode));
+  memset (&k, 0, sizeof (struct GNUNET_HashCode));
   for (i = 0; i < 100; i++)
   {
-    GNUNET_CRYPTO_hash (&k, sizeof (GNUNET_HashCode), &n);
+    GNUNET_CRYPTO_hash (&k, sizeof (struct GNUNET_HashCode), &n);
     ASSERT (1 == GNUNET_DATACACHE_get (h, &k, 1 + i % 16, &checkIt, &n));
     k = n;
   }
 
-  memset (&k, 42, sizeof (GNUNET_HashCode));
-  GNUNET_CRYPTO_hash (&k, sizeof (GNUNET_HashCode), &n);
+  memset (&k, 42, sizeof (struct GNUNET_HashCode));
+  GNUNET_CRYPTO_hash (&k, sizeof (struct GNUNET_HashCode), &n);
   ASSERT (GNUNET_OK ==
-          GNUNET_DATACACHE_put (h, &k, sizeof (GNUNET_HashCode),
+          GNUNET_DATACACHE_put (h, &k, sizeof (struct GNUNET_HashCode),
                                 (const char *) &n, 792,
                                 GNUNET_TIME_UNIT_FOREVER_ABS));
   ASSERT (0 != GNUNET_DATACACHE_get (h, &k, 792, &checkIt, &n));

Modified: gnunet/src/datacache/test_datacache_quota.c
===================================================================
--- gnunet/src/datacache/test_datacache_quota.c 2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/datacache/test_datacache_quota.c 2012-06-12 19:07:40 UTC (rev 
21926)
@@ -47,8 +47,8 @@
      const struct GNUNET_CONFIGURATION_Handle *cfg)
 {
   struct GNUNET_DATACACHE_Handle *h;
-  GNUNET_HashCode k;
-  GNUNET_HashCode n;
+  struct GNUNET_HashCode k;
+  struct GNUNET_HashCode n;
   unsigned int i;
   unsigned int j;
   char buf[3200];
@@ -64,11 +64,11 @@
   }
   exp = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS);
   memset (buf, 1, sizeof (buf));
-  memset (&k, 0, sizeof (GNUNET_HashCode));
+  memset (&k, 0, sizeof (struct GNUNET_HashCode));
   for (i = 0; i < 10; i++)
   {
     FPRINTF (stderr, "%s",  ".");
-    GNUNET_CRYPTO_hash (&k, sizeof (GNUNET_HashCode), &n);
+    GNUNET_CRYPTO_hash (&k, sizeof (struct GNUNET_HashCode), &n);
     for (j = i; j < sizeof (buf); j += 10)
     {
       exp.abs_value++;
@@ -79,11 +79,11 @@
     k = n;
   }
   FPRINTF (stderr, "%s",  "\n");
-  memset (&k, 0, sizeof (GNUNET_HashCode));
+  memset (&k, 0, sizeof (struct GNUNET_HashCode));
   for (i = 0; i < 10; i++)
   {
     FPRINTF (stderr, "%s",  ".");
-    GNUNET_CRYPTO_hash (&k, sizeof (GNUNET_HashCode), &n);
+    GNUNET_CRYPTO_hash (&k, sizeof (struct GNUNET_HashCode), &n);
     if (i < 2)
       ASSERT (0 == GNUNET_DATACACHE_get (h, &k, 1 + i, NULL, NULL));
     if (i == 9)

Modified: gnunet/src/datastore/datastore.h
===================================================================
--- gnunet/src/datastore/datastore.h    2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/datastore/datastore.h    2012-06-12 19:07:40 UTC (rev 21926)
@@ -111,7 +111,7 @@
   /**
    * Type is GNUNET_MESSAGE_TYPE_DATASTORE_GET.  Size
    * can either be "sizeof(struct GetMessage)" or
-   * "sizeof(struct GetMessage) - sizeof(GNUNET_HashCode)"!
+   * "sizeof(struct GetMessage) - sizeof(struct GNUNET_HashCode)"!
    */
   struct GNUNET_MessageHeader header;
 
@@ -129,7 +129,7 @@
    * Desired key (optional).  Check the "size" of the
    * header to see if the key is actually present.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
 };
 
@@ -252,7 +252,7 @@
   /**
    * Key under which the item can be found.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
 };
 GNUNET_NETWORK_STRUCT_END

Modified: gnunet/src/datastore/datastore_api.c
===================================================================
--- gnunet/src/datastore/datastore_api.c        2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/datastore/datastore_api.c        2012-06-12 19:07:40 UTC (rev 
21926)
@@ -836,7 +836,7 @@
  */
 struct GNUNET_DATASTORE_QueueEntry *
 GNUNET_DATASTORE_put (struct GNUNET_DATASTORE_Handle *h, uint32_t rid,
-                      const GNUNET_HashCode * key, size_t size,
+                      const struct GNUNET_HashCode * key, size_t size,
                       const void *data, enum GNUNET_BLOCK_Type type,
                       uint32_t priority, uint32_t anonymity,
                       uint32_t replication,
@@ -1087,7 +1087,7 @@
  */
 struct GNUNET_DATASTORE_QueueEntry *
 GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h,
-                         const GNUNET_HashCode * key, size_t size,
+                         const struct GNUNET_HashCode * key, size_t size,
                          const void *data, unsigned int queue_priority,
                          unsigned int max_queue_size,
                          struct GNUNET_TIME_Relative timeout,
@@ -1381,7 +1381,7 @@
  */
 struct GNUNET_DATASTORE_QueueEntry *
 GNUNET_DATASTORE_get_key (struct GNUNET_DATASTORE_Handle *h, uint64_t offset,
-                          const GNUNET_HashCode * key,
+                          const struct GNUNET_HashCode * key,
                           enum GNUNET_BLOCK_Type type,
                           unsigned int queue_priority,
                           unsigned int max_queue_size,
@@ -1420,7 +1420,7 @@
   else
   {
     gm->header.size =
-        htons (sizeof (struct GetMessage) - sizeof (GNUNET_HashCode));
+        htons (sizeof (struct GetMessage) - sizeof (struct GNUNET_HashCode));
   }
   process_queue (h);
   return qe;

Modified: gnunet/src/datastore/gnunet-service-datastore.c
===================================================================
--- gnunet/src/datastore/gnunet-service-datastore.c     2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/datastore/gnunet-service-datastore.c     2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -316,7 +316,7 @@
  *         GNUNET_NO to delete the item and continue (if supported)
  */
 static int
-expired_processor (void *cls, const GNUNET_HashCode * key, uint32_t size,
+expired_processor (void *cls, const struct GNUNET_HashCode * key, uint32_t 
size,
                    const void *data, enum GNUNET_BLOCK_Type type,
                    uint32_t priority, uint32_t anonymity,
                    struct GNUNET_TIME_Absolute expiration, uint64_t uid)
@@ -394,7 +394,7 @@
  *         GNUNET_NO to delete the item and continue (if supported)
  */
 static int
-quota_processor (void *cls, const GNUNET_HashCode * key, uint32_t size,
+quota_processor (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
                  const void *data, enum GNUNET_BLOCK_Type type,
                  uint32_t priority, uint32_t anonymity,
                  struct GNUNET_TIME_Absolute expiration, uint64_t uid)
@@ -581,7 +581,7 @@
  *         GNUNET_NO to delete the item and continue (if supported)
  */
 static int
-transmit_item (void *cls, const GNUNET_HashCode * key, uint32_t size,
+transmit_item (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
                const void *data, enum GNUNET_BLOCK_Type type, uint32_t 
priority,
                uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
                uint64_t uid)
@@ -871,7 +871,7 @@
  *         GNUNET_NO to delete the item
  */
 static int
-check_present (void *cls, const GNUNET_HashCode * key, uint32_t size,
+check_present (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
                const void *data, enum GNUNET_BLOCK_Type type, uint32_t 
priority,
                uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
                uint64_t uid)
@@ -930,7 +930,7 @@
   int rid;
   struct ReservationList *pos;
   struct PutContext *pc;
-  GNUNET_HashCode vhash;
+  struct GNUNET_HashCode vhash;
   uint32_t size;
 
   if ((dm == NULL) || (ntohl (dm->type) == 0))
@@ -993,7 +993,7 @@
 
   size = ntohs (message->size);
   if ((size != sizeof (struct GetMessage)) &&
-      (size != sizeof (struct GetMessage) - sizeof (GNUNET_HashCode)))
+      (size != sizeof (struct GetMessage) - sizeof (struct GNUNET_HashCode)))
   {
     GNUNET_break (0);
     GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);
@@ -1120,7 +1120,7 @@
  * in to be deleted (by returning GNUNET_NO).
  */
 static int
-remove_callback (void *cls, const GNUNET_HashCode * key, uint32_t size,
+remove_callback (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
                  const void *data, enum GNUNET_BLOCK_Type type,
                  uint32_t priority, uint32_t anonymity,
                  struct GNUNET_TIME_Absolute expiration, uint64_t uid)
@@ -1160,7 +1160,7 @@
                const struct GNUNET_MessageHeader *message)
 {
   const struct DataMessage *dm = check_data (message);
-  GNUNET_HashCode vhash;
+  struct GNUNET_HashCode vhash;
 
   if (dm == NULL)
   {
@@ -1428,7 +1428,7 @@
  */
 static void
 add_key_to_bloomfilter (void *cls,
-                       const GNUNET_HashCode *key,
+                       const struct GNUNET_HashCode *key,
                        unsigned int count)
 {
   struct GNUNET_CONTAINER_BloomFilter *bf = cls;

Modified: gnunet/src/datastore/perf_datastore_api.c
===================================================================
--- gnunet/src/datastore/perf_datastore_api.c   2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/datastore/perf_datastore_api.c   2012-06-12 19:07:40 UTC (rev 
21926)
@@ -171,7 +171,7 @@
 
 
 static void
-delete_value (void *cls, const GNUNET_HashCode * key, size_t size,
+delete_value (void *cls, const struct GNUNET_HashCode * key, size_t size,
               const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
               uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
               uint64_t uid)
@@ -196,7 +196,7 @@
 {
   struct CpsRunContext *crc = cls;
   size_t size;
-  static GNUNET_HashCode key;
+  static struct GNUNET_HashCode key;
   static char data[65536];
   int i;
   int k;
@@ -206,7 +206,7 @@
   switch (crc->phase)
   {
   case RP_PUT:
-    memset (&key, 256 - crc->i, sizeof (GNUNET_HashCode));
+    memset (&key, 256 - crc->i, sizeof (struct GNUNET_HashCode));
     i = crc->j;
     k = crc->i;
     /* most content is 32k */
@@ -214,7 +214,7 @@
     if (GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 16) == 0) /* but 
some of it is less! */
       size = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 32 * 1024);
     crc->size = size = size - (size & 7);       /* always multiple of 8 */
-    GNUNET_CRYPTO_hash (&key, sizeof (GNUNET_HashCode), &key);
+    GNUNET_CRYPTO_hash (&key, sizeof (struct GNUNET_HashCode), &key);
     memset (data, i, size);
     if (i > 255)
       memset (data, i - 255, size / 2);
@@ -298,7 +298,7 @@
      const struct GNUNET_CONFIGURATION_Handle *cfg)
 {
   struct CpsRunContext *crc;
-  static GNUNET_HashCode zkey;
+  static struct GNUNET_HashCode zkey;
 
   datastore = GNUNET_DATASTORE_connect (cfg);
   start_time = GNUNET_TIME_absolute_get ();

Modified: gnunet/src/datastore/perf_plugin_datastore.c
===================================================================
--- gnunet/src/datastore/perf_plugin_datastore.c        2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/datastore/perf_plugin_datastore.c        2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -103,7 +103,7 @@
 {
   char value[65536];
   size_t size;
-  static GNUNET_HashCode key;
+  static struct GNUNET_HashCode key;
   static int ic;
   char *msg;
   unsigned int prio;
@@ -116,7 +116,7 @@
 
   /* generate random key */
   key.bits[0] = (unsigned int) GNUNET_TIME_absolute_get ().abs_value;
-  GNUNET_CRYPTO_hash (&key, sizeof (GNUNET_HashCode), &key);
+  GNUNET_CRYPTO_hash (&key, sizeof (struct GNUNET_HashCode), &key);
   memset (value, i, size);
   if (i > 255)
     memset (value, i - 255, size / 2);
@@ -149,7 +149,7 @@
 
 
 static int
-iterate_zeros (void *cls, const GNUNET_HashCode * key, uint32_t size,
+iterate_zeros (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
                const void *data, enum GNUNET_BLOCK_Type type, uint32_t 
priority,
                uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
                uint64_t uid)
@@ -196,7 +196,7 @@
 
 
 static int
-expiration_get (void *cls, const GNUNET_HashCode * key, uint32_t size,
+expiration_get (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
                 const void *data, enum GNUNET_BLOCK_Type type,
                 uint32_t priority, uint32_t anonymity,
                 struct GNUNET_TIME_Absolute expiration, uint64_t uid)
@@ -241,7 +241,7 @@
 
 
 static int
-replication_get (void *cls, const GNUNET_HashCode * key, uint32_t size,
+replication_get (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
                  const void *data, enum GNUNET_BLOCK_Type type,
                  uint32_t priority, uint32_t anonymity,
                  struct GNUNET_TIME_Absolute expiration, uint64_t uid)

Modified: gnunet/src/datastore/plugin_datastore_mysql.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_mysql.c       2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/datastore/plugin_datastore_mysql.c       2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -281,7 +281,7 @@
  * @return GNUNET_OK on success
  */
 static int
-mysql_plugin_put (void *cls, const GNUNET_HashCode * key, uint32_t size,
+mysql_plugin_put (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
                   const void *data, enum GNUNET_BLOCK_Type type,
                   uint32_t priority, uint32_t anonymity, uint32_t replication,
                   struct GNUNET_TIME_Absolute expiration, char **msg)
@@ -297,15 +297,15 @@
   unsigned long hashSize;
   unsigned long hashSize2;
   unsigned long lsize;
-  GNUNET_HashCode vhash;
+  struct GNUNET_HashCode vhash;
 
   if (size > MAX_DATUM_SIZE)
   {
     GNUNET_break (0);
     return GNUNET_SYSERR;
   }
-  hashSize = sizeof (GNUNET_HashCode);
-  hashSize2 = sizeof (GNUNET_HashCode);
+  hashSize = sizeof (struct GNUNET_HashCode);
+  hashSize2 = sizeof (struct GNUNET_HashCode);
   lsize = size;
   GNUNET_CRYPTO_hash (data, size, &vhash);
   if (GNUNET_OK !=
@@ -403,11 +403,11 @@
   unsigned long size;
   unsigned long long uid;
   char value[GNUNET_DATASTORE_MAX_VALUE_SIZE];
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   struct GNUNET_TIME_Absolute expiration;
   MYSQL_BIND rbind[7];
 
-  hashSize = sizeof (GNUNET_HashCode);
+  hashSize = sizeof (struct GNUNET_HashCode);
   memset (rbind, 0, sizeof (rbind));
   rbind[0].buffer_type = MYSQL_TYPE_LONG;
   rbind[0].buffer = &type;
@@ -442,8 +442,8 @@
     return;
   }
   GNUNET_assert (size <= sizeof (value));
-  if ((rbind[4].buffer_length != sizeof (GNUNET_HashCode)) ||
-      (hashSize != sizeof (GNUNET_HashCode)))
+  if ((rbind[4].buffer_length != sizeof (struct GNUNET_HashCode)) ||
+      (hashSize != sizeof (struct GNUNET_HashCode)))
   {
     GNUNET_break (0);
     proc (proc_cls, NULL, 0, NULL, 0, 0, 0, GNUNET_TIME_UNIT_ZERO_ABS, 0);
@@ -486,8 +486,8 @@
  * @param proc_cls closure for proc
  */
 static void
-mysql_plugin_get_key (void *cls, uint64_t offset, const GNUNET_HashCode * key,
-                      const GNUNET_HashCode * vhash,
+mysql_plugin_get_key (void *cls, uint64_t offset, const struct GNUNET_HashCode 
* key,
+                      const struct GNUNET_HashCode * vhash,
                       enum GNUNET_BLOCK_Type type, PluginDatumProcessor proc,
                       void *proc_cls)
 {
@@ -501,8 +501,8 @@
 
   GNUNET_assert (key != NULL);
   GNUNET_assert (NULL != proc);
-  hashSize = sizeof (GNUNET_HashCode);
-  hashSize2 = sizeof (GNUNET_HashCode);
+  hashSize = sizeof (struct GNUNET_HashCode);
+  hashSize2 = sizeof (struct GNUNET_HashCode);
   memset (cbind, 0, sizeof (cbind));
   total = -1;
   cbind[0].buffer_type = MYSQL_TYPE_LONGLONG;
@@ -669,7 +669,7 @@
  *         GNUNET_NO to delete the item and continue (if supported)
  */
 static int
-repl_proc (void *cls, const GNUNET_HashCode * key, uint32_t size,
+repl_proc (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
            const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
            uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
            uint64_t uid)
@@ -763,7 +763,7 @@
   const char *query = "SELECT hash FROM gn090";
   int ret;
   MYSQL_STMT *statement;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   MYSQL_BIND cbind[1];
   unsigned long length;
  
@@ -808,7 +808,7 @@
   }
   while (0 == (ret = mysql_stmt_fetch (statement)))
   {
-    if (sizeof (GNUNET_HashCode) == length)
+    if (sizeof (struct GNUNET_HashCode) == length)
       proc (proc_cls, &key, 1);    
   }
   if (ret != MYSQL_NO_DATA)
@@ -869,7 +869,7 @@
  *         GNUNET_NO to delete the item and continue (if supported)
  */
 static int
-expi_proc (void *cls, const GNUNET_HashCode * key, uint32_t size,
+expi_proc (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
            const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
            uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
            uint64_t uid)

Modified: gnunet/src/datastore/plugin_datastore_postgres.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_postgres.c    2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/datastore/plugin_datastore_postgres.c    2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -270,14 +270,14 @@
  * @return GNUNET_OK on success
  */
 static int
-postgres_plugin_put (void *cls, const GNUNET_HashCode * key, uint32_t size,
+postgres_plugin_put (void *cls, const struct GNUNET_HashCode * key, uint32_t 
size,
                      const void *data, enum GNUNET_BLOCK_Type type,
                      uint32_t priority, uint32_t anonymity,
                      uint32_t replication,
                      struct GNUNET_TIME_Absolute expiration, char **msg)
 {
   struct Plugin *plugin = cls;
-  GNUNET_HashCode vhash;
+  struct GNUNET_HashCode vhash;
   PGresult *ret;
   uint32_t btype = htonl (type);
   uint32_t bprio = htonl (priority);
@@ -301,8 +301,8 @@
     sizeof (bprio),
     sizeof (banon),
     sizeof (bexpi),
-    sizeof (GNUNET_HashCode),
-    sizeof (GNUNET_HashCode),
+    sizeof (struct GNUNET_HashCode),
+    sizeof (struct GNUNET_HashCode),
     size
   };
   const int paramFormats[] = { 1, 1, 1, 1, 1, 1, 1, 1 };
@@ -345,7 +345,7 @@
   uint32_t size;
   unsigned int rowid;
   struct GNUNET_TIME_Absolute expiration_time;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   if (GNUNET_OK !=
       GNUNET_POSTGRES_check_result_ (plugin->dbh, res, PGRES_TUPLES_OK, 
"PQexecPrepared", "select",
@@ -380,7 +380,7 @@
       (sizeof (uint32_t) != PQfsize (res, 1)) ||
       (sizeof (uint32_t) != PQfsize (res, 2)) ||
       (sizeof (uint64_t) != PQfsize (res, 3)) ||
-      (sizeof (GNUNET_HashCode) != PQgetlength (res, 0, 4)))
+      (sizeof (struct GNUNET_HashCode) != PQgetlength (res, 0, 4)))
   {
     GNUNET_break (0);
     PQclear (res);
@@ -394,7 +394,7 @@
   anonymity = ntohl (*(uint32_t *) PQgetvalue (res, 0, 2));
   expiration_time.abs_value =
       GNUNET_ntohll (*(uint64_t *) PQgetvalue (res, 0, 3));
-  memcpy (&key, PQgetvalue (res, 0, 4), sizeof (GNUNET_HashCode));
+  memcpy (&key, PQgetvalue (res, 0, 4), sizeof (struct GNUNET_HashCode));
   size = PQgetlength (res, 0, 5);
   GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "datastore-postgres",
                    "Found result of size %u bytes and type %u in database\n",
@@ -443,8 +443,8 @@
  */
 static void
 postgres_plugin_get_key (void *cls, uint64_t offset,
-                         const GNUNET_HashCode * key,
-                         const GNUNET_HashCode * vhash,
+                         const struct GNUNET_HashCode * key,
+                         const struct GNUNET_HashCode * vhash,
                          enum GNUNET_BLOCK_Type type, PluginDatumProcessor 
proc,
                          void *proc_cls)
 {
@@ -461,14 +461,14 @@
 
   GNUNET_assert (key != NULL);
   paramValues[0] = (const char *) key;
-  paramLengths[0] = sizeof (GNUNET_HashCode);
+  paramLengths[0] = sizeof (struct GNUNET_HashCode);
   btype = htonl (type);
   if (type != 0)
   {
     if (vhash != NULL)
     {
       paramValues[1] = (const char *) vhash;
-      paramLengths[1] = sizeof (GNUNET_HashCode);
+      paramLengths[1] = sizeof (struct GNUNET_HashCode);
       paramValues[2] = (const char *) &btype;
       paramLengths[2] = sizeof (btype);
       paramValues[3] = (const char *) &blimit_off;
@@ -499,7 +499,7 @@
     if (vhash != NULL)
     {
       paramValues[1] = (const char *) vhash;
-      paramLengths[1] = sizeof (GNUNET_HashCode);
+      paramLengths[1] = sizeof (struct GNUNET_HashCode);
       paramValues[2] = (const char *) &blimit_off;
       paramLengths[2] = sizeof (blimit_off);
       nparams = 3;
@@ -628,7 +628,7 @@
  *         GNUNET_NO to delete the item and continue (if supported)
  */
 static int
-repl_proc (void *cls, const GNUNET_HashCode * key, uint32_t size,
+repl_proc (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
            const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
            uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
            uint64_t uid)
@@ -792,16 +792,16 @@
   struct Plugin *plugin = cls;
   int ret;
   int i;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   PGresult * res;
 
   res = PQexecPrepared (plugin->dbh, "get_keys", 0, NULL, NULL, NULL, 1);
   ret = PQntuples (res);
   for (i=0;i<ret;i++)
   {
-    if (sizeof (GNUNET_HashCode) != PQgetlength (res, i, 0))
+    if (sizeof (struct GNUNET_HashCode) != PQgetlength (res, i, 0))
     {
-      memcpy (&key, PQgetvalue (res, i, 0), sizeof (GNUNET_HashCode));
+      memcpy (&key, PQgetvalue (res, i, 0), sizeof (struct GNUNET_HashCode));
       proc (proc_cls, &key, 1);    
     }
   }

Modified: gnunet/src/datastore/plugin_datastore_sqlite.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_sqlite.c      2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/datastore/plugin_datastore_sqlite.c      2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -480,7 +480,7 @@
  * @return GNUNET_OK on success
  */
 static int
-sqlite_plugin_put (void *cls, const GNUNET_HashCode * key, uint32_t size,
+sqlite_plugin_put (void *cls, const struct GNUNET_HashCode * key, uint32_t 
size,
                    const void *data, enum GNUNET_BLOCK_Type type,
                    uint32_t priority, uint32_t anonymity, uint32_t replication,
                    struct GNUNET_TIME_Absolute expiration, char **msg)
@@ -489,7 +489,7 @@
   int n;
   int ret;
   sqlite3_stmt *stmt;
-  GNUNET_HashCode vhash;
+  struct GNUNET_HashCode vhash;
   uint64_t rvalue;
 
   if (size > MAX_ITEM_SIZE)
@@ -510,10 +510,10 @@
       (SQLITE_OK != sqlite3_bind_int64 (stmt, 5, expiration.abs_value)) ||
       (SQLITE_OK != sqlite3_bind_int64 (stmt, 6, rvalue)) ||
       (SQLITE_OK !=
-       sqlite3_bind_blob (stmt, 7, key, sizeof (GNUNET_HashCode),
+       sqlite3_bind_blob (stmt, 7, key, sizeof (struct GNUNET_HashCode),
                           SQLITE_TRANSIENT)) ||
       (SQLITE_OK !=
-       sqlite3_bind_blob (stmt, 8, &vhash, sizeof (GNUNET_HashCode),
+       sqlite3_bind_blob (stmt, 8, &vhash, sizeof (struct GNUNET_HashCode),
                           SQLITE_TRANSIENT)) ||
       (SQLITE_OK != sqlite3_bind_blob (stmt, 9, data, size, SQLITE_TRANSIENT)))
   {
@@ -648,7 +648,7 @@
   case SQLITE_ROW:
     size = sqlite3_column_bytes (stmt, 5);
     rowid = sqlite3_column_int64 (stmt, 6);
-    if (sqlite3_column_bytes (stmt, 4) != sizeof (GNUNET_HashCode))
+    if (sqlite3_column_bytes (stmt, 4) != sizeof (struct GNUNET_HashCode))
     {
       GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "sqlite",
                        _
@@ -768,8 +768,8 @@
  * @param proc_cls closure for proc
  */
 static void
-sqlite_plugin_get_key (void *cls, uint64_t offset, const GNUNET_HashCode * key,
-                       const GNUNET_HashCode * vhash,
+sqlite_plugin_get_key (void *cls, uint64_t offset, const struct 
GNUNET_HashCode * key,
+                       const struct GNUNET_HashCode * vhash,
                        enum GNUNET_BLOCK_Type type, PluginDatumProcessor proc,
                        void *proc_cls)
 {
@@ -796,11 +796,11 @@
   }
   sqoff = 1;
   ret =
-      sqlite3_bind_blob (stmt, sqoff++, key, sizeof (GNUNET_HashCode),
+      sqlite3_bind_blob (stmt, sqoff++, key, sizeof (struct GNUNET_HashCode),
                          SQLITE_TRANSIENT);
   if ((vhash != NULL) && (ret == SQLITE_OK))
     ret =
-        sqlite3_bind_blob (stmt, sqoff++, vhash, sizeof (GNUNET_HashCode),
+        sqlite3_bind_blob (stmt, sqoff++, vhash, sizeof (struct 
GNUNET_HashCode),
                            SQLITE_TRANSIENT);
   if ((type != 0) && (ret == SQLITE_OK))
     ret = sqlite3_bind_int (stmt, sqoff++, type);
@@ -845,11 +845,11 @@
   }
   sqoff = 1;
   ret =
-      sqlite3_bind_blob (stmt, sqoff++, key, sizeof (GNUNET_HashCode),
+      sqlite3_bind_blob (stmt, sqoff++, key, sizeof (struct GNUNET_HashCode),
                          SQLITE_TRANSIENT);
   if ((vhash != NULL) && (ret == SQLITE_OK))
     ret =
-        sqlite3_bind_blob (stmt, sqoff++, vhash, sizeof (GNUNET_HashCode),
+        sqlite3_bind_blob (stmt, sqoff++, vhash, sizeof (struct 
GNUNET_HashCode),
                            SQLITE_TRANSIENT);
   if ((type != 0) && (ret == SQLITE_OK))
     ret = sqlite3_bind_int (stmt, sqoff++, type);
@@ -916,7 +916,7 @@
  *         GNUNET_NO to delete the item
  */
 static int
-repl_proc (void *cls, const GNUNET_HashCode * key, uint32_t size,
+repl_proc (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
            const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
            uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
            uint64_t uid)
@@ -1076,7 +1076,7 @@
                        void *proc_cls)
 {
   struct Plugin *plugin = cls;
-  const GNUNET_HashCode *key;
+  const struct GNUNET_HashCode *key;
   sqlite3_stmt *stmt;
   int ret;
 
@@ -1090,7 +1090,7 @@
   while (SQLITE_ROW == (ret = sqlite3_step (stmt)))
   {
     key = sqlite3_column_blob (stmt, 1);
-    if (sizeof (GNUNET_HashCode) == sqlite3_column_bytes (stmt, 1))
+    if (sizeof (struct GNUNET_HashCode) == sqlite3_column_bytes (stmt, 1))
       proc (proc_cls, key, 1);
   }
   if (SQLITE_DONE != ret)

Modified: gnunet/src/datastore/plugin_datastore_template.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_template.c    2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/datastore/plugin_datastore_template.c    2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -71,7 +71,7 @@
  * @return GNUNET_OK on success
  */
 static int
-template_plugin_put (void *cls, const GNUNET_HashCode * key, uint32_t size,
+template_plugin_put (void *cls, const struct GNUNET_HashCode * key, uint32_t 
size,
                      const void *data, enum GNUNET_BLOCK_Type type,
                      uint32_t priority, uint32_t anonymity,
                      uint32_t replication,
@@ -103,8 +103,8 @@
  */
 static void
 template_plugin_get_key (void *cls, uint64_t offset,
-                         const GNUNET_HashCode * key,
-                         const GNUNET_HashCode * vhash,
+                         const struct GNUNET_HashCode * key,
+                         const struct GNUNET_HashCode * vhash,
                          enum GNUNET_BLOCK_Type type, PluginDatumProcessor 
proc,
                          void *proc_cls)
 {

Modified: gnunet/src/datastore/test_datastore_api.c
===================================================================
--- gnunet/src/datastore/test_datastore_api.c   2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/datastore/test_datastore_api.c   2012-06-12 19:07:40 UTC (rev 
21926)
@@ -119,7 +119,7 @@
 
 struct CpsRunContext
 {
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   int i;
   int rid;
   const struct GNUNET_CONFIGURATION_Handle *cfg;
@@ -171,7 +171,7 @@
 
 
 static void
-check_value (void *cls, const GNUNET_HashCode * key, size_t size,
+check_value (void *cls, const struct GNUNET_HashCode * key, size_t size,
              const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
              uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
              uint64_t uid)
@@ -217,7 +217,7 @@
 
 
 static void
-delete_value (void *cls, const GNUNET_HashCode * key, size_t size,
+delete_value (void *cls, const struct GNUNET_HashCode * key, size_t size,
               const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
               uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
               uint64_t uid)
@@ -237,7 +237,7 @@
 
 
 static void
-check_nothing (void *cls, const GNUNET_HashCode * key, size_t size,
+check_nothing (void *cls, const struct GNUNET_HashCode * key, size_t size,
                const void *data, enum GNUNET_BLOCK_Type type, uint32_t 
priority,
                uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
                uint64_t uid)
@@ -253,7 +253,7 @@
 
 
 static void
-check_multiple (void *cls, const GNUNET_HashCode * key, size_t size,
+check_multiple (void *cls, const struct GNUNET_HashCode * key, size_t size,
                 const void *data, enum GNUNET_BLOCK_Type type,
                 uint32_t priority, uint32_t anonymity,
                 struct GNUNET_TIME_Absolute expiration, uint64_t uid)
@@ -285,7 +285,7 @@
 
 
 static void
-check_update (void *cls, const GNUNET_HashCode * key, size_t size,
+check_update (void *cls, const struct GNUNET_HashCode * key, size_t size,
               const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
               uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
               uint64_t uid)
@@ -467,7 +467,7 @@
      const struct GNUNET_CONFIGURATION_Handle *cfg)
 {
   struct CpsRunContext *crc;
-  static GNUNET_HashCode zkey;
+  static struct GNUNET_HashCode zkey;
 
   crc = GNUNET_malloc (sizeof (struct CpsRunContext));
   crc->cfg = cfg;

Modified: gnunet/src/datastore/test_datastore_api_management.c
===================================================================
--- gnunet/src/datastore/test_datastore_api_management.c        2012-06-12 
19:02:54 UTC (rev 21925)
+++ gnunet/src/datastore/test_datastore_api_management.c        2012-06-12 
19:07:40 UTC (rev 21926)
@@ -51,7 +51,7 @@
 
 struct CpsRunContext
 {
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   int i;
   int found;
   const struct GNUNET_CONFIGURATION_Handle *cfg;
@@ -138,7 +138,7 @@
 
 
 static void
-check_value (void *cls, const GNUNET_HashCode * key, size_t size,
+check_value (void *cls, const struct GNUNET_HashCode * key, size_t size,
              const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
              uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
              uint64_t uid)
@@ -170,7 +170,7 @@
 
 
 static void
-check_nothing (void *cls, const GNUNET_HashCode * key, size_t size,
+check_nothing (void *cls, const struct GNUNET_HashCode * key, size_t size,
                const void *data, enum GNUNET_BLOCK_Type type, uint32_t 
priority,
                uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
                uint64_t uid)
@@ -262,7 +262,7 @@
      const struct GNUNET_CONFIGURATION_Handle *cfg)
 {
   struct CpsRunContext *crc;
-  static GNUNET_HashCode zkey;
+  static struct GNUNET_HashCode zkey;
 
   crc = GNUNET_malloc (sizeof (struct CpsRunContext));
   crc->cfg = cfg;

Modified: gnunet/src/datastore/test_plugin_datastore.c
===================================================================
--- gnunet/src/datastore/test_plugin_datastore.c        2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/datastore/test_plugin_datastore.c        2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -84,11 +84,11 @@
 
 
 static void
-gen_key (int i, GNUNET_HashCode * key)
+gen_key (int i, struct GNUNET_HashCode * key)
 {
-  memset (key, 0, sizeof (GNUNET_HashCode));
+  memset (key, 0, sizeof (struct GNUNET_HashCode));
   key->bits[0] = (unsigned int) i;
-  GNUNET_CRYPTO_hash (key, sizeof (GNUNET_HashCode), key);
+  GNUNET_CRYPTO_hash (key, sizeof (struct GNUNET_HashCode), key);
 }
 
 
@@ -97,7 +97,7 @@
 {
   char value[65536];
   size_t size;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   char *msg;
   unsigned int prio;
 
@@ -147,7 +147,7 @@
 
 
 static int
-iterate_one_shot (void *cls, const GNUNET_HashCode * key, uint32_t size,
+iterate_one_shot (void *cls, const struct GNUNET_HashCode * key, uint32_t size,
                   const void *data, enum GNUNET_BLOCK_Type type,
                   uint32_t priority, uint32_t anonymity,
                   struct GNUNET_TIME_Absolute expiration, uint64_t uid)
@@ -218,7 +218,7 @@
   int j;
   unsigned long long os;
   unsigned long long cs;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
   {

Modified: gnunet/src/dht/dht.h
===================================================================
--- gnunet/src/dht/dht.h        2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dht/dht.h        2012-06-12 19:07:40 UTC (rev 21926)
@@ -60,7 +60,7 @@
   /**
    * Key of this request
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
 };
 
@@ -95,7 +95,7 @@
   /**
    * The key to search for
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /**
    * Unique ID identifying this request, if 0 then
@@ -148,7 +148,7 @@
   /**
    * The key that was searched for
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /* put path, get path and actual data are copied to end of this dealy do */
 
@@ -193,7 +193,7 @@
   /**
    * The key to store the value under.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /* DATA copied to end of this message */
 
@@ -268,7 +268,7 @@
   /**
    * The key to store the value under.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /* put path (if tracked) */
 
@@ -315,7 +315,7 @@
   /**
    * The key to filter messages by.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 };
 
 
@@ -358,7 +358,7 @@
   /**
    * The key to store the value under.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /* get path (if tracked) */
 
@@ -397,7 +397,7 @@
   /**
    * The key of the corresponding GET request.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /* put path (if tracked) */
 

Modified: gnunet/src/dht/dht_api.c
===================================================================
--- gnunet/src/dht/dht_api.c    2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dht/dht_api.c    2012-06-12 19:07:40 UTC (rev 21926)
@@ -175,7 +175,7 @@
   /**
    * Key that this get request is for
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /**
    * Unique identifier for this request (for key collisions).
@@ -213,7 +213,7 @@
   /**
    * Key being looked for, NULL == all.
    */
-  GNUNET_HashCode *key;
+  struct GNUNET_HashCode *key;
 
   /**
    * Callback for each received message of type get.
@@ -362,7 +362,7 @@
  * @return GNUNET_YES (always)
  */
 static int
-add_request_to_pending (void *cls, const GNUNET_HashCode * key, void *value)
+add_request_to_pending (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct GNUNET_DHT_Handle *handle = cls;
   struct GNUNET_DHT_GetHandle *rh = value;
@@ -577,7 +577,7 @@
  *         GNUNET_NO if the reply is malformed
  */
 static int
-process_reply (void *cls, const GNUNET_HashCode * key, void *value)
+process_reply (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   const struct GNUNET_DHT_ClientResultMessage *dht_msg = cls;
   struct GNUNET_DHT_GetHandle *get_handle = value;
@@ -648,7 +648,7 @@
 
     type_ok = (GNUNET_BLOCK_TYPE_ANY == h->type) || (h->type == 
ntohl(msg->type));
     key_ok = (NULL == h->key) || (0 == memcmp (h->key, &msg->key,
-                                              sizeof (GNUNET_HashCode)));
+                                              sizeof (struct 
GNUNET_HashCode)));
     if (type_ok && key_ok && (NULL != h->get_cb))
       h->get_cb (h->cb_cls,
                 ntohl (msg->options),
@@ -699,7 +699,7 @@
 
     type_ok = (GNUNET_BLOCK_TYPE_ANY == h->type) || (h->type == 
ntohl(msg->type));
     key_ok = (NULL == h->key) || (0 == memcmp (h->key, &msg->key,
-                                              sizeof (GNUNET_HashCode)));
+                                              sizeof (struct 
GNUNET_HashCode)));
     if (type_ok && key_ok && (NULL != h->get_resp_cb))
       h->get_resp_cb (h->cb_cls,
                       (enum GNUNET_BLOCK_Type) ntohl(msg->type),
@@ -749,7 +749,7 @@
 
     type_ok = (GNUNET_BLOCK_TYPE_ANY == h->type) || (h->type == 
ntohl(msg->type));
     key_ok = (NULL == h->key) || (0 == memcmp (h->key, &msg->key,
-                                              sizeof (GNUNET_HashCode)));
+                                              sizeof (struct 
GNUNET_HashCode)));
     if (type_ok && key_ok && (NULL != h->put_cb))
       h->put_cb (h->cb_cls,
                  ntohl (msg->options),
@@ -1040,7 +1040,7 @@
  * @param cont_cls closure for cont
  */
 struct GNUNET_DHT_PutHandle *
-GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle, const GNUNET_HashCode * key,
+GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle, const struct GNUNET_HashCode 
* key,
                 uint32_t desired_replication_level,
                 enum GNUNET_DHT_RouteOption options,
                 enum GNUNET_BLOCK_Type type, size_t size, const char *data,
@@ -1148,7 +1148,7 @@
  */
 struct GNUNET_DHT_GetHandle *
 GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle,
-                      enum GNUNET_BLOCK_Type type, const GNUNET_HashCode * key,
+                      enum GNUNET_BLOCK_Type type, const struct 
GNUNET_HashCode * key,
                       uint32_t desired_replication_level,
                       enum GNUNET_DHT_RouteOption options, const void *xquery,
                       size_t xquery_size, GNUNET_DHT_GetIterator iter,
@@ -1266,7 +1266,7 @@
 struct GNUNET_DHT_MonitorHandle *
 GNUNET_DHT_monitor_start (struct GNUNET_DHT_Handle *handle,
                           enum GNUNET_BLOCK_Type type,
-                          const GNUNET_HashCode *key,
+                          const struct GNUNET_HashCode *key,
                           GNUNET_DHT_MonitorGetCB get_cb,
                           GNUNET_DHT_MonitorGetRespCB get_resp_cb,
                           GNUNET_DHT_MonitorPutCB put_cb,
@@ -1287,8 +1287,8 @@
   h->dht_handle = handle;
   if (NULL != key)
   {
-    h->key = GNUNET_malloc (sizeof(GNUNET_HashCode));
-    memcpy (h->key, key, sizeof(GNUNET_HashCode));
+    h->key = GNUNET_malloc (sizeof(struct GNUNET_HashCode));
+    memcpy (h->key, key, sizeof(struct GNUNET_HashCode));
   }
 
   pending = GNUNET_malloc (sizeof (struct GNUNET_DHT_MonitorStartStopMessage) +
@@ -1305,7 +1305,7 @@
   m->put = htons(NULL != put_cb);
   if (NULL != key) {
     m->filter_key = htons(1);
-    memcpy (&m->key, key, sizeof(GNUNET_HashCode));
+    memcpy (&m->key, key, sizeof(struct GNUNET_HashCode));
   }
   GNUNET_CONTAINER_DLL_insert (handle->pending_head, handle->pending_tail,
                                pending);
@@ -1347,7 +1347,7 @@
   m->put = htons(NULL != handle->put_cb);
   if (NULL != handle->key) {
     m->filter_key = htons(1);
-    memcpy (&m->key, handle->key, sizeof(GNUNET_HashCode));
+    memcpy (&m->key, handle->key, sizeof(struct GNUNET_HashCode));
   }
   GNUNET_CONTAINER_DLL_insert (handle->dht_handle->pending_head,
                                handle->dht_handle->pending_tail,

Modified: gnunet/src/dht/gnunet-dht-get.c
===================================================================
--- gnunet/src/dht/gnunet-dht-get.c     2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dht/gnunet-dht-get.c     2012-06-12 19:07:40 UTC (rev 21926)
@@ -122,7 +122,7 @@
  */
 static void
 get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
-                     const GNUNET_HashCode * key,
+                     const struct GNUNET_HashCode * key,
                      const struct GNUNET_PeerIdentity *get_path,
                      unsigned int get_path_length,
                      const struct GNUNET_PeerIdentity *put_path,
@@ -148,7 +148,7 @@
      const struct GNUNET_CONFIGURATION_Handle *c)
 {
   struct GNUNET_TIME_Relative timeout;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   cfg = c;
 

Modified: gnunet/src/dht/gnunet-dht-monitor.c
===================================================================
--- gnunet/src/dht/gnunet-dht-monitor.c 2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dht/gnunet-dht-monitor.c 2012-06-12 19:07:40 UTC (rev 21926)
@@ -131,7 +131,7 @@
               uint32_t desired_replication_level,
               unsigned int path_length,
               const struct GNUNET_PeerIdentity *path,
-              const GNUNET_HashCode * key)
+              const struct GNUNET_HashCode * key)
 {
   FPRINTF (stdout, "Result %d, operation: %s, type %d\n Key: %s",
            result_count,
@@ -163,7 +163,7 @@
                    const struct GNUNET_PeerIdentity *put_path,
                    unsigned int put_path_length,
                    struct GNUNET_TIME_Absolute exp,
-                   const GNUNET_HashCode * key,
+                   const struct GNUNET_HashCode * key,
                    const void *data,
                    size_t size)
 {
@@ -201,7 +201,7 @@
               unsigned int path_length,
               const struct GNUNET_PeerIdentity *path,
               struct GNUNET_TIME_Absolute exp,
-              const GNUNET_HashCode * key,
+              const struct GNUNET_HashCode * key,
               const void *data,
               size_t size)
 {
@@ -228,7 +228,7 @@
      const struct GNUNET_CONFIGURATION_Handle *c)
 {
   struct GNUNET_TIME_Relative timeout;
-  GNUNET_HashCode *key;
+  struct GNUNET_HashCode *key;
 
   cfg = c;
 
@@ -248,7 +248,7 @@
     block_type = GNUNET_BLOCK_TYPE_TEST;
 
   if (query_key != NULL) {
-    key = GNUNET_malloc (sizeof(GNUNET_HashCode));
+    key = GNUNET_malloc (sizeof(struct GNUNET_HashCode));
     GNUNET_CRYPTO_hash (query_key, strlen (query_key), key);
   }
   else

Modified: gnunet/src/dht/gnunet-dht-put.c
===================================================================
--- gnunet/src/dht/gnunet-dht-put.c     2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dht/gnunet-dht-put.c     2012-06-12 19:07:40 UTC (rev 21926)
@@ -135,7 +135,7 @@
 {
   struct GNUNET_TIME_Relative timeout;
   struct GNUNET_TIME_Absolute expiration;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   cfg = c;
 

Modified: gnunet/src/dht/gnunet-service-dht_clients.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht_clients.c 2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/dht/gnunet-service-dht_clients.c 2012-06-12 19:07:40 UTC (rev 
21926)
@@ -111,7 +111,7 @@
   /**
    * The key this request was about
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /**
    * Client responsible for the request.
@@ -126,7 +126,7 @@
   /**
    * Replies we have already seen for this request.
    */
-  GNUNET_HashCode *seen_replies;
+  struct GNUNET_HashCode *seen_replies;
 
   /**
    * Pointer to this nodes heap location in the retry-heap (for fast removal)
@@ -201,7 +201,7 @@
   /**
    * Key of data of interest, NULL for all.
    */
-  GNUNET_HashCode         *key;
+  struct GNUNET_HashCode         *key;
 
   /**
    * Flag whether to notify about GET messages.
@@ -322,7 +322,7 @@
  * @return GNUNET_YES (we should continue to iterate)
  */
 static int
-remove_client_records (void *cls, const GNUNET_HashCode * key, void *value)
+remove_client_records (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct ClientList *client = cls;
   struct ClientQueryRecord *record = value;
@@ -646,7 +646,7 @@
  * @return GNUNET_YES (we should continue to iterate)
  */
 static int
-remove_by_unique_id (void *cls, const GNUNET_HashCode * key, void *value)
+remove_by_unique_id (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   const struct RemoveByUniqueIdContext *ctx = cls;
   struct ClientQueryRecord *record = value;
@@ -718,8 +718,8 @@
       r->key = NULL;
   else
   {
-    r->key = GNUNET_malloc (sizeof (GNUNET_HashCode));
-    memcpy (r->key, &msg->key, sizeof (GNUNET_HashCode));
+    r->key = GNUNET_malloc (sizeof (struct GNUNET_HashCode));
+    memcpy (r->key, &msg->key, sizeof (struct GNUNET_HashCode));
   }
   GNUNET_CONTAINER_DLL_insert (monitor_head, monitor_tail, r);
   GNUNET_SERVER_receive_done (client, GNUNET_OK);
@@ -751,7 +751,7 @@
     else
     {
         keys_match = (0 != ntohs(msg->filter_key)
-                      && !memcmp(r->key, &msg->key, sizeof(GNUNET_HashCode)));
+                      && !memcmp(r->key, &msg->key, sizeof(struct 
GNUNET_HashCode)));
     }
     if (find_active_client(client) == r->client
         && ntohl(msg->type) == r->type
@@ -898,7 +898,7 @@
  *         if the result is mal-formed, GNUNET_NO
  */
 static int
-forward_reply (void *cls, const GNUNET_HashCode * key, void *value)
+forward_reply (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct ForwardReplyContext *frc = cls;
   struct ClientQueryRecord *record = value;
@@ -906,7 +906,7 @@
   struct GNUNET_DHT_ClientResultMessage *reply;
   enum GNUNET_BLOCK_EvaluationResult eval;
   int do_free;
-  GNUNET_HashCode ch;
+  struct GNUNET_HashCode ch;
   unsigned int i;
 
   if ((record->type != GNUNET_BLOCK_TYPE_ANY) && (record->type != frc->type))
@@ -922,7 +922,7 @@
   }
   GNUNET_CRYPTO_hash (frc->data, frc->data_size, &ch);
   for (i = 0; i < record->seen_replies_count; i++)
-    if (0 == memcmp (&record->seen_replies[i], &ch, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (&record->seen_replies[i], &ch, sizeof (struct 
GNUNET_HashCode)))
     {
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                   "Duplicate reply, not passing request for key %s to local 
client\n",
@@ -1017,7 +1017,7 @@
  */
 void
 GDS_CLIENTS_handle_reply (struct GNUNET_TIME_Absolute expiration,
-                          const GNUNET_HashCode * key,
+                          const struct GNUNET_HashCode * key,
                           unsigned int get_path_length,
                           const struct GNUNET_PeerIdentity *get_path,
                           unsigned int put_path_length,
@@ -1104,7 +1104,7 @@
                          uint32_t desired_replication_level, 
                          unsigned int path_length,
                          const struct GNUNET_PeerIdentity *path,
-                         const GNUNET_HashCode * key)
+                         const struct GNUNET_HashCode * key)
 {
   struct ClientMonitorRecord *m;
   struct ClientList **cl;
@@ -1116,7 +1116,7 @@
   {
     if ((GNUNET_BLOCK_TYPE_ANY == m->type || m->type == type) &&
         (NULL == m->key ||
-         memcmp (key, m->key, sizeof(GNUNET_HashCode)) == 0))
+         memcmp (key, m->key, sizeof(struct GNUNET_HashCode)) == 0))
     {
       struct PendingMessage *pm;
       struct GNUNET_DHT_MonitorGetMessage *mmsg;
@@ -1145,7 +1145,7 @@
       mmsg->hop_count = htonl(hop_count);
       mmsg->desired_replication_level = htonl(desired_replication_level);
       mmsg->get_path_length = htonl(path_length);
-      memcpy (&mmsg->key, key, sizeof (GNUNET_HashCode));
+      memcpy (&mmsg->key, key, sizeof (struct GNUNET_HashCode));
       msg_path = (struct GNUNET_PeerIdentity *) &mmsg[1];
       if (path_length > 0)
         memcpy (msg_path, path,
@@ -1178,7 +1178,7 @@
                               const struct GNUNET_PeerIdentity *put_path,
                               unsigned int put_path_length,
                               struct GNUNET_TIME_Absolute exp,
-                              const GNUNET_HashCode * key,
+                              const struct GNUNET_HashCode * key,
                               const void *data,
                               size_t size)
 {
@@ -1192,7 +1192,7 @@
   {
     if ((GNUNET_BLOCK_TYPE_ANY == m->type || m->type == type) &&
         (NULL == m->key ||
-         memcmp (key, m->key, sizeof(GNUNET_HashCode)) == 0))
+         memcmp (key, m->key, sizeof(struct GNUNET_HashCode)) == 0))
     {
       struct PendingMessage *pm;
       struct GNUNET_DHT_MonitorGetRespMessage *mmsg;
@@ -1232,7 +1232,7 @@
         memcpy (path, get_path,
                 get_path_length * sizeof (struct GNUNET_PeerIdentity));
       mmsg->expiration_time = GNUNET_TIME_absolute_hton(exp);
-      memcpy (&mmsg->key, key, sizeof (GNUNET_HashCode));
+      memcpy (&mmsg->key, key, sizeof (struct GNUNET_HashCode));
       if (size > 0)
         memcpy (&path[get_path_length], data, size);
       add_pending_message (m->client, pm);
@@ -1265,7 +1265,7 @@
                          unsigned int path_length,
                          const struct GNUNET_PeerIdentity *path,
                          struct GNUNET_TIME_Absolute exp,
-                         const GNUNET_HashCode * key,
+                         const struct GNUNET_HashCode * key,
                          const void *data,
                          size_t size)
 {
@@ -1279,7 +1279,7 @@
   {
     if ((GNUNET_BLOCK_TYPE_ANY == m->type || m->type == type) &&
         (NULL == m->key ||
-         memcmp (key, m->key, sizeof(GNUNET_HashCode)) == 0))
+         memcmp (key, m->key, sizeof(struct GNUNET_HashCode)) == 0))
     {
       struct PendingMessage *pm;
       struct GNUNET_DHT_MonitorPutMessage *mmsg;
@@ -1316,7 +1316,7 @@
                 path_length * sizeof (struct GNUNET_PeerIdentity));
       }
       mmsg->expiration_time = GNUNET_TIME_absolute_hton(exp);
-      memcpy (&mmsg->key, key, sizeof (GNUNET_HashCode));
+      memcpy (&mmsg->key, key, sizeof (struct GNUNET_HashCode));
       if (size > 0)
         memcpy (&msg_path[path_length], data, size);
       add_pending_message (m->client, pm);

Modified: gnunet/src/dht/gnunet-service-dht_clients.h
===================================================================
--- gnunet/src/dht/gnunet-service-dht_clients.h 2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/dht/gnunet-service-dht_clients.h 2012-06-12 19:07:40 UTC (rev 
21926)
@@ -47,7 +47,7 @@
  */
 void
 GDS_CLIENTS_handle_reply (struct GNUNET_TIME_Absolute expiration,
-                          const GNUNET_HashCode * key,
+                          const struct GNUNET_HashCode * key,
                           unsigned int get_path_length,
                           const struct GNUNET_PeerIdentity *get_path,
                           unsigned int put_path_length,
@@ -75,7 +75,7 @@
                          uint32_t desired_replication_level, 
                          unsigned int path_length,
                          const struct GNUNET_PeerIdentity *path,
-                         const GNUNET_HashCode * key);
+                         const struct GNUNET_HashCode * key);
 
 /**
  * Check if some client is monitoring GET RESP messages and notify
@@ -98,7 +98,7 @@
                               const struct GNUNET_PeerIdentity *put_path,
                               unsigned int put_path_length,
                               struct GNUNET_TIME_Absolute exp,
-                              const GNUNET_HashCode * key,
+                              const struct GNUNET_HashCode * key,
                               const void *data,
                               size_t size);
 
@@ -125,7 +125,7 @@
                          unsigned int path_length,
                          const struct GNUNET_PeerIdentity *path,
                          struct GNUNET_TIME_Absolute exp,
-                         const GNUNET_HashCode * key,
+                         const struct GNUNET_HashCode * key,
                          const void *data,
                          size_t size);
 

Modified: gnunet/src/dht/gnunet-service-dht_datacache.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht_datacache.c       2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/dht/gnunet-service-dht_datacache.c       2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -74,7 +74,7 @@
  */
 void
 GDS_DATACACHE_handle_put (struct GNUNET_TIME_Absolute expiration,
-                          const GNUNET_HashCode * key,
+                          const struct GNUNET_HashCode * key,
                           unsigned int put_path_length,
                           const struct GNUNET_PeerIdentity *put_path,
                           enum GNUNET_BLOCK_Type type, size_t data_size,
@@ -131,7 +131,7 @@
   /**
    * The key this request was about
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /**
    * Number of bytes in xquery.
@@ -165,7 +165,7 @@
  */
 static int
 datacache_get_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
-                        const GNUNET_HashCode * key, size_t size,
+                        const struct GNUNET_HashCode * key, size_t size,
                         const char *data, enum GNUNET_BLOCK_Type type)
 {
   struct GetRequestContext *ctx = cls;
@@ -255,7 +255,7 @@
  * @return evaluation result for the local replies
  */
 enum GNUNET_BLOCK_EvaluationResult
-GDS_DATACACHE_handle_get (const GNUNET_HashCode * key,
+GDS_DATACACHE_handle_get (const struct GNUNET_HashCode * key,
                           enum GNUNET_BLOCK_Type type, const void *xquery,
                           size_t xquery_size,
                           struct GNUNET_CONTAINER_BloomFilter **reply_bf,

Modified: gnunet/src/dht/gnunet-service-dht_datacache.h
===================================================================
--- gnunet/src/dht/gnunet-service-dht_datacache.h       2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/dht/gnunet-service-dht_datacache.h       2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -44,7 +44,7 @@
  */
 void
 GDS_DATACACHE_handle_put (struct GNUNET_TIME_Absolute expiration,
-                          const GNUNET_HashCode * key,
+                          const struct GNUNET_HashCode * key,
                           unsigned int put_path_length,
                           const struct GNUNET_PeerIdentity *put_path,
                           enum GNUNET_BLOCK_Type type, size_t data_size,
@@ -63,7 +63,7 @@
  * @return evaluation result for the local replies
  */
 enum GNUNET_BLOCK_EvaluationResult
-GDS_DATACACHE_handle_get (const GNUNET_HashCode * key,
+GDS_DATACACHE_handle_get (const struct GNUNET_HashCode * key,
                           enum GNUNET_BLOCK_Type type, const void *xquery,
                           size_t xquery_size,
                           struct GNUNET_CONTAINER_BloomFilter **reply_bf,

Modified: gnunet/src/dht/gnunet-service-dht_hello.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht_hello.c   2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/dht/gnunet-service-dht_hello.c   2012-06-12 19:07:40 UTC (rev 
21926)
@@ -107,7 +107,7 @@
  * Free memory occopied by the HELLO.
  */
 static int
-free_hello (void *cls, const GNUNET_HashCode * key, void *hello)
+free_hello (void *cls, const struct GNUNET_HashCode * key, void *hello)
 {
   GNUNET_free (hello);
   return GNUNET_OK;

Modified: gnunet/src/dht/gnunet-service-dht_neighbours.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht_neighbours.c      2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/dht/gnunet-service-dht_neighbours.c      2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -52,7 +52,7 @@
 /**
  * How many buckets will we allow total.
  */
-#define MAX_BUCKETS sizeof (GNUNET_HashCode) * 8
+#define MAX_BUCKETS sizeof (struct GNUNET_HashCode) * 8
 
 /**
  * What is the maximum number of peers in a given bucket.
@@ -140,7 +140,7 @@
   /**
    * The key we are storing under.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /* put path (if tracked) */
 
@@ -182,7 +182,7 @@
   /**
    * The key of the corresponding GET request.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /* put path (if tracked) */
 
@@ -241,7 +241,7 @@
   /**
    * The key we are looking for.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /* xquery */
 
@@ -424,7 +424,7 @@
  *         on error (same hashcode)
  */
 static int
-find_bucket (const GNUNET_HashCode * hc)
+find_bucket (const struct GNUNET_HashCode * hc)
 {
   unsigned int bits;
 
@@ -518,10 +518,10 @@
  * @return GNUNET_YES (we should continue to iterate)
  */
 static int
-add_known_to_bloom (void *cls, const GNUNET_HashCode * key, void *value)
+add_known_to_bloom (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct BloomConstructorContext *ctx = cls;
-  GNUNET_HashCode mh;
+  struct GNUNET_HashCode mh;
 
   GNUNET_BLOCK_mingle_hash (key, ctx->bf_mutator, &mh);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -874,7 +874,7 @@
  *           the two hash codes increases
  */
 static unsigned int
-get_distance (const GNUNET_HashCode * target, const GNUNET_HashCode * have)
+get_distance (const struct GNUNET_HashCode * target, const struct 
GNUNET_HashCode * have)
 {
   unsigned int bucket;
   unsigned int msb;
@@ -911,7 +911,7 @@
    * mismatching bit at 'bucket' */
   lsb = 0;
   for (i = bucket + 1;
-       (i < sizeof (GNUNET_HashCode) * 8) && (i < bucket + 1 + 32 - 9); i++)
+       (i < sizeof (struct GNUNET_HashCode) * 8) && (i < bucket + 1 + 32 - 9); 
i++)
   {
     if (GNUNET_CRYPTO_hash_get_bit (target, i) !=
         GNUNET_CRYPTO_hash_get_bit (have, i))
@@ -934,7 +934,7 @@
  *         GNUNET_NO otherwise.
  */
 static int
-am_closest_peer (const GNUNET_HashCode * key,
+am_closest_peer (const struct GNUNET_HashCode * key,
                  const struct GNUNET_CONTAINER_BloomFilter *bloom)
 {
   int bits;
@@ -943,7 +943,7 @@
   int count;
   struct PeerInfo *pos;
 
-  if (0 == memcmp (&my_identity.hashPubKey, key, sizeof (GNUNET_HashCode)))
+  if (0 == memcmp (&my_identity.hashPubKey, key, sizeof (struct 
GNUNET_HashCode)))
     return GNUNET_YES;
   bucket_num = find_bucket (key);
   GNUNET_assert (bucket_num >= 0);
@@ -989,7 +989,7 @@
  * @return Peer to route to, or NULL on error
  */
 static struct PeerInfo *
-select_peer (const GNUNET_HashCode * key,
+select_peer (const struct GNUNET_HashCode * key,
              const struct GNUNET_CONTAINER_BloomFilter *bloom, uint32_t hops)
 {
   unsigned int bc;
@@ -1115,7 +1115,7 @@
  * @return number of peers returned in 'targets'.
  */
 static unsigned int
-get_target_peers (const GNUNET_HashCode * key,
+get_target_peers (const struct GNUNET_HashCode * key,
                   struct GNUNET_CONTAINER_BloomFilter *bloom,
                   uint32_t hop_count, uint32_t target_replication,
                   struct PeerInfo ***targets)
@@ -1185,7 +1185,7 @@
                            struct GNUNET_TIME_Absolute expiration_time,
                            uint32_t hop_count,
                            struct GNUNET_CONTAINER_BloomFilter *bf,
-                           const GNUNET_HashCode * key,
+                           const struct GNUNET_HashCode * key,
                            unsigned int put_path_length,
                            struct GNUNET_PeerIdentity *put_path,
                            const void *data, size_t data_size)
@@ -1295,7 +1295,7 @@
 GDS_NEIGHBOURS_handle_get (enum GNUNET_BLOCK_Type type,
                            enum GNUNET_DHT_RouteOption options,
                            uint32_t desired_replication_level,
-                           uint32_t hop_count, const GNUNET_HashCode * key,
+                           uint32_t hop_count, const struct GNUNET_HashCode * 
key,
                            const void *xquery, size_t xquery_size,
                            const struct GNUNET_CONTAINER_BloomFilter *reply_bf,
                            uint32_t reply_bf_mutator,
@@ -1405,7 +1405,7 @@
 GDS_NEIGHBOURS_handle_reply (const struct GNUNET_PeerIdentity *target,
                              enum GNUNET_BLOCK_Type type,
                              struct GNUNET_TIME_Absolute expiration_time,
-                             const GNUNET_HashCode * key,
+                             const struct GNUNET_HashCode * key,
                              unsigned int put_path_length,
                              const struct GNUNET_PeerIdentity *put_path,
                              unsigned int get_path_length,
@@ -1508,7 +1508,7 @@
   size_t payload_size;
   enum GNUNET_DHT_RouteOption options;
   struct GNUNET_CONTAINER_BloomFilter *bf;
-  GNUNET_HashCode test_key;
+  struct GNUNET_HashCode test_key;
 
   msize = ntohs (message->size);
   if (msize < sizeof (struct PeerPutMessage))
@@ -1541,7 +1541,7 @@
            &test_key))
   {
   case GNUNET_YES:
-    if (0 != memcmp (&test_key, &put->key, sizeof (GNUNET_HashCode)))
+    if (0 != memcmp (&test_key, &put->key, sizeof (struct GNUNET_HashCode)))
     {
       GNUNET_break_op (0);
       return GNUNET_YES;
@@ -1615,14 +1615,14 @@
  */
 static void
 handle_find_peer (const struct GNUNET_PeerIdentity *sender,
-                  const GNUNET_HashCode * key,
+                  const struct GNUNET_HashCode * key,
                   struct GNUNET_CONTAINER_BloomFilter *bf, uint32_t bf_mutator)
 {
   int bucket_idx;
   struct PeerBucket *bucket;
   struct PeerInfo *peer;
   unsigned int choice;
-  GNUNET_HashCode mhash;
+  struct GNUNET_HashCode mhash;
   const struct GNUNET_HELLO_Message *hello;
 
   /* first, check about our own HELLO */
@@ -1657,7 +1657,7 @@
   }
 
   /* then, also consider sending a random HELLO from the closest bucket */
-  if (0 == memcmp (&my_identity.hashPubKey, key, sizeof (GNUNET_HashCode)))
+  if (0 == memcmp (&my_identity.hashPubKey, key, sizeof (struct 
GNUNET_HashCode)))
     bucket_idx = closest_bucket;
   else
     bucket_idx = GNUNET_MIN (closest_bucket, find_bucket (key));

Modified: gnunet/src/dht/gnunet-service-dht_neighbours.h
===================================================================
--- gnunet/src/dht/gnunet-service-dht_neighbours.h      2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/dht/gnunet-service-dht_neighbours.h      2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -57,7 +57,7 @@
                            struct GNUNET_TIME_Absolute expiration_time,
                            uint32_t hop_count,
                            struct GNUNET_CONTAINER_BloomFilter *bf,
-                           const GNUNET_HashCode * key,
+                           const struct GNUNET_HashCode * key,
                            unsigned int put_path_length,
                            struct GNUNET_PeerIdentity *put_path,
                            const void *data, size_t data_size);
@@ -84,7 +84,7 @@
 GDS_NEIGHBOURS_handle_get (enum GNUNET_BLOCK_Type type,
                            enum GNUNET_DHT_RouteOption options,
                            uint32_t desired_replication_level,
-                           uint32_t hop_count, const GNUNET_HashCode * key,
+                           uint32_t hop_count, const struct GNUNET_HashCode * 
key,
                            const void *xquery, size_t xquery_size,
                            const struct GNUNET_CONTAINER_BloomFilter *reply_bf,
                            uint32_t reply_bf_mutator,
@@ -111,7 +111,7 @@
 GDS_NEIGHBOURS_handle_reply (const struct GNUNET_PeerIdentity *target,
                              enum GNUNET_BLOCK_Type type,
                              struct GNUNET_TIME_Absolute expiration_time,
-                             const GNUNET_HashCode * key,
+                             const struct GNUNET_HashCode * key,
                              unsigned int put_path_length,
                              const struct GNUNET_PeerIdentity *put_path,
                              unsigned int get_path_length,

Modified: gnunet/src/dht/gnunet-service-dht_routing.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht_routing.c 2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/dht/gnunet-service-dht_routing.c 2012-06-12 19:07:40 UTC (rev 
21926)
@@ -50,7 +50,7 @@
   /**
    * Key of this request.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /**
    * Position of this node in the min heap.
@@ -160,15 +160,15 @@
  *         GNUNET_SYSERR if the result is malformed or type unsupported
  */
 static int
-process (void *cls, const GNUNET_HashCode * key, void *value)
+process (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct ProcessContext *pc = cls;
   struct RecentRequest *rr = value;
   enum GNUNET_BLOCK_EvaluationResult eval;
   unsigned int gpl;
   unsigned int ppl;
-  GNUNET_HashCode hc;
-  const GNUNET_HashCode *eval_key;
+  struct GNUNET_HashCode hc;
+  const struct GNUNET_HashCode *eval_key;
 
   if ((rr->type != GNUNET_BLOCK_TYPE_ANY) && (rr->type != pc->type))
     return GNUNET_OK;           /* type missmatch */
@@ -266,7 +266,7 @@
 void
 GDS_ROUTING_process (enum GNUNET_BLOCK_Type type,
                      struct GNUNET_TIME_Absolute expiration_time,
-                     const GNUNET_HashCode * key, unsigned int put_path_length,
+                     const struct GNUNET_HashCode * key, unsigned int 
put_path_length,
                      const struct GNUNET_PeerIdentity *put_path,
                      unsigned int get_path_length,
                      const struct GNUNET_PeerIdentity *get_path,
@@ -339,7 +339,7 @@
 GDS_ROUTING_add (const struct GNUNET_PeerIdentity *sender,
                  enum GNUNET_BLOCK_Type type,
                  enum GNUNET_DHT_RouteOption options,
-                 const GNUNET_HashCode * key, const void *xquery,
+                 const struct GNUNET_HashCode * key, const void *xquery,
                  size_t xquery_size,
                  const struct GNUNET_CONTAINER_BloomFilter *reply_bf,
                  uint32_t reply_bf_mutator)

Modified: gnunet/src/dht/gnunet-service-dht_routing.h
===================================================================
--- gnunet/src/dht/gnunet-service-dht_routing.h 2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/dht/gnunet-service-dht_routing.h 2012-06-12 19:07:40 UTC (rev 
21926)
@@ -51,7 +51,7 @@
 void
 GDS_ROUTING_process (enum GNUNET_BLOCK_Type type,
                      struct GNUNET_TIME_Absolute expiration_time,
-                     const GNUNET_HashCode * key, unsigned int put_path_length,
+                     const struct GNUNET_HashCode * key, unsigned int 
put_path_length,
                      const struct GNUNET_PeerIdentity *put_path,
                      unsigned int get_path_length,
                      const struct GNUNET_PeerIdentity *get_path,
@@ -74,7 +74,7 @@
 GDS_ROUTING_add (const struct GNUNET_PeerIdentity *sender,
                  enum GNUNET_BLOCK_Type type,
                  enum GNUNET_DHT_RouteOption options,
-                 const GNUNET_HashCode * key, const void *xquery,
+                 const struct GNUNET_HashCode * key, const void *xquery,
                  size_t xquery_size,
                  const struct GNUNET_CONTAINER_BloomFilter *reply_bf,
                  uint32_t reply_bf_mutator);

Modified: gnunet/src/dht/plugin_block_dht.c
===================================================================
--- gnunet/src/dht/plugin_block_dht.c   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dht/plugin_block_dht.c   2012-06-12 19:07:40 UTC (rev 21926)
@@ -51,13 +51,13 @@
  */
 static enum GNUNET_BLOCK_EvaluationResult
 block_plugin_dht_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
-                           const GNUNET_HashCode * query,
+                           const struct GNUNET_HashCode * query,
                            struct GNUNET_CONTAINER_BloomFilter **bf,
                            int32_t bf_mutator, const void *xquery,
                            size_t xquery_size, const void *reply_block,
                            size_t reply_block_size)
 {
-  GNUNET_HashCode mhash;
+  struct GNUNET_HashCode mhash;
   const struct GNUNET_HELLO_Message *hello;
   struct GNUNET_PeerIdentity pid;
   const struct GNUNET_MessageHeader *msg;
@@ -122,7 +122,7 @@
 static int
 block_plugin_dht_get_key (void *cls, enum GNUNET_BLOCK_Type type,
                           const void *block, size_t block_size,
-                          GNUNET_HashCode * key)
+                          struct GNUNET_HashCode * key)
 {
   const struct GNUNET_MessageHeader *msg;
   const struct GNUNET_HELLO_Message *hello;

Modified: gnunet/src/dht/test_dht_api.c
===================================================================
--- gnunet/src/dht/test_dht_api.c       2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dht/test_dht_api.c       2012-06-12 19:07:40 UTC (rev 21926)
@@ -177,7 +177,7 @@
 
 static void
 test_get_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
-                   const GNUNET_HashCode * key,
+                   const struct GNUNET_HashCode * key,
                    const struct GNUNET_PeerIdentity *get_path,
                    unsigned int get_path_length,
                    const struct GNUNET_PeerIdentity *put_path,
@@ -201,9 +201,9 @@
 test_get (void *cls, int success)
 {
   struct PeerContext *peer = cls;
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
 
-  memset (&hash, 42, sizeof (GNUNET_HashCode));
+  memset (&hash, 42, sizeof (struct GNUNET_HashCode));
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Called test_get!\n");
 
@@ -238,11 +238,11 @@
 test_put (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   struct PeerContext *peer = cls;
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
   char *data;
   size_t data_size = 42;
 
-  memset (&hash, 42, sizeof (GNUNET_HashCode));
+  memset (&hash, 42, sizeof (struct GNUNET_HashCode));
   data = GNUNET_malloc (data_size);
   memset (data, 43, data_size);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Called test_put!\n");

Modified: gnunet/src/dht/test_dht_monitor.c
===================================================================
--- gnunet/src/dht/test_dht_monitor.c   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dht/test_dht_monitor.c   2012-06-12 19:07:40 UTC (rev 21926)
@@ -184,7 +184,7 @@
 
 static void
 dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
-                    const GNUNET_HashCode * key,
+                    const struct GNUNET_HashCode * key,
                     const struct GNUNET_PeerIdentity *get_path,
                     unsigned int get_path_length,
                     const struct GNUNET_PeerIdentity *put_path,
@@ -195,9 +195,9 @@
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "test: ************* FOUND!!! ***********\n");
-  if (sizeof (GNUNET_HashCode) == size)
+  if (sizeof (struct GNUNET_HashCode) == size)
   {
-    const GNUNET_HashCode *h = data;
+    const struct GNUNET_HashCode *h = data;
 
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test:   Contents: %s\n",
                 GNUNET_h2s_full (h));
@@ -314,7 +314,7 @@
                 uint32_t desired_replication_level,
                 unsigned int path_length,
                 const struct GNUNET_PeerIdentity *path,
-                const GNUNET_HashCode * key)
+                const struct GNUNET_HashCode * key)
 {
   const char *s_key;
   unsigned int i;
@@ -355,7 +355,7 @@
                 unsigned int path_length,
                 const struct GNUNET_PeerIdentity *path,
                 struct GNUNET_TIME_Absolute exp,
-                const GNUNET_HashCode * key,
+                const struct GNUNET_HashCode * key,
                 const void *data,
                 size_t size)
 {
@@ -397,7 +397,7 @@
                 const struct GNUNET_PeerIdentity *put_path,
                 unsigned int put_path_length,
                 struct GNUNET_TIME_Absolute exp,
-                const GNUNET_HashCode * key,
+                const struct GNUNET_HashCode * key,
                 const void *data,
                 size_t size)
 {

Modified: gnunet/src/dht/test_dht_multipeer.c
===================================================================
--- gnunet/src/dht/test_dht_multipeer.c 2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dht/test_dht_multipeer.c 2012-06-12 19:07:40 UTC (rev 21926)
@@ -492,7 +492,7 @@
 get_stop_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   struct TestGetContext *test_get = cls;
-  GNUNET_HashCode search_key;   /* Key stored under */
+  struct GNUNET_HashCode search_key;   /* Key stored under */
   char original_data[TEST_DATA_SIZE];   /* Made up data to store */
 
   test_get->task = GNUNET_SCHEDULER_NO_TASK;
@@ -548,7 +548,7 @@
  */
 static void
 get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
-                     const GNUNET_HashCode * key,
+                     const struct GNUNET_HashCode * key,
                      const struct GNUNET_PeerIdentity *get_path,
                      unsigned int get_path_length,
                      const struct GNUNET_PeerIdentity *put_path,
@@ -556,7 +556,7 @@
                      size_t size, const void *data)
 {
   struct TestGetContext *test_get = cls;
-  GNUNET_HashCode search_key;   /* Key stored under */
+  struct GNUNET_HashCode search_key;   /* Key stored under */
   char original_data[TEST_DATA_SIZE];   /* Made up data to store */
 
   memset (original_data, test_get->uid, sizeof (original_data));
@@ -586,7 +586,7 @@
   }
 #endif
 
-  if ((0 != memcmp (&search_key, key, sizeof (GNUNET_HashCode))) ||
+  if ((0 != memcmp (&search_key, key, sizeof (struct GNUNET_HashCode))) ||
       (0 != memcmp (original_data, data, sizeof (original_data))))
   {
     FPRINTF (stderr, "%s",  "Key or data is not the same as was inserted!\n");
@@ -606,7 +606,7 @@
 do_get (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   struct TestGetContext *test_get = cls;
-  GNUNET_HashCode key;          /* Made up key to store data under */
+  struct GNUNET_HashCode key;          /* Made up key to store data under */
   char data[TEST_DATA_SIZE];    /* Made up data to store */
 
   if (outstanding_gets > MAX_OUTSTANDING_GETS)
@@ -700,7 +700,7 @@
 do_put (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   struct TestPutContext *test_put = cls;
-  GNUNET_HashCode key;          /* Made up key to store data under */
+  struct GNUNET_HashCode key;          /* Made up key to store data under */
   char data[TEST_DATA_SIZE];    /* Made up data to store */
 
   test_put->task = GNUNET_SCHEDULER_NO_TASK;

Modified: gnunet/src/dht/test_dht_topo.c
===================================================================
--- gnunet/src/dht/test_dht_topo.c      2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dht/test_dht_topo.c      2012-06-12 19:07:40 UTC (rev 21926)
@@ -190,7 +190,7 @@
 
 static void
 dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
-                    const GNUNET_HashCode * key,
+                    const struct GNUNET_HashCode * key,
                     const struct GNUNET_PeerIdentity *get_path,
                     unsigned int get_path_length,
                     const struct GNUNET_PeerIdentity *put_path,
@@ -199,9 +199,9 @@
 {
   int i;
 
-  if (sizeof (GNUNET_HashCode) == size)
+  if (sizeof (struct GNUNET_HashCode) == size)
   {
-    const GNUNET_HashCode *h = data;
+    const struct GNUNET_HashCode *h = data;
 
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "  Contents: %s\n",
                 GNUNET_h2s_full (h));

Modified: gnunet/src/dht/test_dht_twopeer.c
===================================================================
--- gnunet/src/dht/test_dht_twopeer.c   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dht/test_dht_twopeer.c   2012-06-12 19:07:40 UTC (rev 21926)
@@ -169,7 +169,7 @@
  */
 static void
 get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
-                     const GNUNET_HashCode * key,
+                     const struct GNUNET_HashCode * key,
                      const struct GNUNET_PeerIdentity *get_path,
                      unsigned int get_path_length,
                      const struct GNUNET_PeerIdentity *put_path,
@@ -179,7 +179,7 @@
   struct PeerGetContext *get_context = cls;
 
   if (0 !=
-      memcmp (&get_context->peer->hashPubKey, key, sizeof (GNUNET_HashCode)))
+      memcmp (&get_context->peer->hashPubKey, key, sizeof (struct 
GNUNET_HashCode)))
   {
     FPRINTF (stderr, "%s",  "??\n");
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,

Modified: gnunet/src/dht/test_dht_twopeer_get_put.c
===================================================================
--- gnunet/src/dht/test_dht_twopeer_get_put.c   2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/dht/test_dht_twopeer_get_put.c   2012-06-12 19:07:40 UTC (rev 
21926)
@@ -214,22 +214,22 @@
  */
 void
 get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
-                     const GNUNET_HashCode * key,
+                     const struct GNUNET_HashCode * key,
                      const struct GNUNET_PeerIdentity *get_path,
                      unsigned int get_path_size,
                      const struct GNUNET_PeerIdentity *put_path,
                      unsigned int put_path_size, enum GNUNET_BLOCK_Type type,
                      size_t size, const void *result_data)
 {
-  GNUNET_HashCode original_key; /* Key data was stored data under */
+  struct GNUNET_HashCode original_key; /* Key data was stored data under */
   char original_data[4];        /* Made up data that was stored */
 
-  memset (&original_key, 42, sizeof (GNUNET_HashCode)); /* Set the key to what 
it was set to previously */
+  memset (&original_key, 42, sizeof (struct GNUNET_HashCode)); /* Set the key 
to what it was set to previously */
   memset (original_data, 43, sizeof (original_data));
 
 #if DNS
   if ((sizeof (original_data) != size) ||
-      (0 != memcmp (&data.service_descriptor, key, sizeof (GNUNET_HashCode))) 
||
+      (0 != memcmp (&data.service_descriptor, key, sizeof (struct 
GNUNET_HashCode))) ||
       (0 != memcmp ((char *) &data, result_data, sizeof (original_data))))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
@@ -241,7 +241,7 @@
   }
 #else
   if ((sizeof (original_data) != size) ||
-      (0 != memcmp (&original_key, key, sizeof (GNUNET_HashCode))) ||
+      (0 != memcmp (&original_key, key, sizeof (struct GNUNET_HashCode))) ||
       (0 != memcmp (original_data, result_data, sizeof (original_data))))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
@@ -264,12 +264,12 @@
 static void
 do_get (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
-  GNUNET_HashCode key;          /* Key for data lookup */
+  struct GNUNET_HashCode key;          /* Key for data lookup */
 
 #if DNS
-  memcpy (&key, &data.service_descriptor, sizeof (GNUNET_HashCode));
+  memcpy (&key, &data.service_descriptor, sizeof (struct GNUNET_HashCode));
 #else
-  memset (&key, 42, sizeof (GNUNET_HashCode));  /* Set the key to the same 
thing as when data was inserted */
+  memset (&key, 42, sizeof (struct GNUNET_HashCode));  /* Set the key to the 
same thing as when data was inserted */
 #endif
   global_get_handle =
       GNUNET_DHT_get_start (peer2dht, 
@@ -305,10 +305,10 @@
 static void
 do_put (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
-  GNUNET_HashCode key;          /* Made up key to store data under */
+  struct GNUNET_HashCode key;          /* Made up key to store data under */
   char data[4];                 /* Made up data to store */
 
-  memset (&key, 42, sizeof (GNUNET_HashCode));  /* Set the key to something 
simple so we can issue GET request */
+  memset (&key, 42, sizeof (struct GNUNET_HashCode));  /* Set the key to 
something simple so we can issue GET request */
   memset (data, 43, sizeof (data));
 
   /* Insert the data at the first peer */

Modified: gnunet/src/dht/test_dht_twopeer_path_tracking.c
===================================================================
--- gnunet/src/dht/test_dht_twopeer_path_tracking.c     2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/dht/test_dht_twopeer_path_tracking.c     2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -193,23 +193,23 @@
  */
 static void
 get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
-                     const GNUNET_HashCode * key,
+                     const struct GNUNET_HashCode * key,
                      const struct GNUNET_PeerIdentity *get_path,
                      unsigned int get_path_length,
                      const struct GNUNET_PeerIdentity *put_path,
                      unsigned int put_path_length, enum GNUNET_BLOCK_Type type,
                      size_t size, const void *data)
 {
-  GNUNET_HashCode original_key; /* Key data was stored data under */
+  struct GNUNET_HashCode original_key; /* Key data was stored data under */
   char original_data[4];        /* Made up data that was stored */
 
-  memset (&original_key, 42, sizeof (GNUNET_HashCode)); /* Set the key to what 
it was set to previously */
+  memset (&original_key, 42, sizeof (struct GNUNET_HashCode)); /* Set the key 
to what it was set to previously */
   memset (original_data, 43, sizeof (original_data));
 #if VERBOSE
   unsigned int i;
 #endif
 
-  if ((0 != memcmp (&original_key, key, sizeof (GNUNET_HashCode))) ||
+  if ((0 != memcmp (&original_key, key, sizeof (struct GNUNET_HashCode))) ||
       (0 != memcmp (original_data, data, sizeof (original_data))))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -251,13 +251,13 @@
 static void
 put_finished (void *cls, int success)
 {
-  GNUNET_HashCode key;          /* Key for data lookup */
+  struct GNUNET_HashCode key;          /* Key for data lookup */
 
   GNUNET_SCHEDULER_cancel (die_task);
   die_task =
       GNUNET_SCHEDULER_add_delayed (GET_TIMEOUT, &end_badly,
                                     "waiting for get response (data not 
found)");
-  memset (&key, 42, sizeof (GNUNET_HashCode));  /* Set the key to the same 
thing as when data was inserted */
+  memset (&key, 42, sizeof (struct GNUNET_HashCode));  /* Set the key to the 
same thing as when data was inserted */
   global_get_handle =
       GNUNET_DHT_get_start (peer2dht, 
                             GNUNET_BLOCK_TYPE_TEST, &key, 1,
@@ -271,10 +271,10 @@
 static void
 do_put (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
-  GNUNET_HashCode key;          /* Made up key to store data under */
+  struct GNUNET_HashCode key;          /* Made up key to store data under */
   char data[4];                 /* Made up data to store */
 
-  memset (&key, 42, sizeof (GNUNET_HashCode));  /* Set the key to something 
simple so we can issue GET request */
+  memset (&key, 42, sizeof (struct GNUNET_HashCode));  /* Set the key to 
something simple so we can issue GET request */
   memset (data, 43, sizeof (data));
 
   /* Insert the data at the first peer */

Modified: gnunet/src/dht/test_dht_twopeer_put_get.c
===================================================================
--- gnunet/src/dht/test_dht_twopeer_put_get.c   2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/dht/test_dht_twopeer_put_get.c   2012-06-12 19:07:40 UTC (rev 
21926)
@@ -217,21 +217,21 @@
  */
 static void
 get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
-                     const GNUNET_HashCode * key,
+                     const struct GNUNET_HashCode * key,
                      const struct GNUNET_PeerIdentity *get_path,
                      unsigned int get_path_size,
                      const struct GNUNET_PeerIdentity *put_path,
                      unsigned int put_path_size, enum GNUNET_BLOCK_Type type,
                      size_t size, const void *result_data)
 {
-  GNUNET_HashCode original_key; /* Key data was stored data under */
+  struct GNUNET_HashCode original_key; /* Key data was stored data under */
   char original_data[4];        /* Made up data that was stored */
 
-  memset (&original_key, 42, sizeof (GNUNET_HashCode)); /* Set the key to what 
it was set to previously */
+  memset (&original_key, 42, sizeof (struct GNUNET_HashCode)); /* Set the key 
to what it was set to previously */
   memset (original_data, 43, sizeof (original_data));
 
   if ((sizeof (original_data) != size) ||
-      (0 != memcmp (&original_key, key, sizeof (GNUNET_HashCode))) ||
+      (0 != memcmp (&original_key, key, sizeof (struct GNUNET_HashCode))) ||
       (0 != memcmp (original_data, result_data, sizeof (original_data))))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
@@ -256,7 +256,7 @@
 static void
 put_finished (void *cls, int success)
 {
-  GNUNET_HashCode key;          /* Key for data lookup */
+  struct GNUNET_HashCode key;          /* Key for data lookup */
 
   put_op = NULL;
   GNUNET_SCHEDULER_cancel (die_task);
@@ -264,7 +264,7 @@
       GNUNET_SCHEDULER_add_delayed (GET_TIMEOUT, &end_badly,
                                     "waiting for get response (data not 
found)");
 
-  memset (&key, 42, sizeof (GNUNET_HashCode));  /* Set the key to the same 
thing as when data was inserted */
+  memset (&key, 42, sizeof (struct GNUNET_HashCode));  /* Set the key to the 
same thing as when data was inserted */
   global_get_handle =
       GNUNET_DHT_get_start (peer2dht, 
                             GNUNET_BLOCK_TYPE_TEST, &key, 1, 
GNUNET_DHT_RO_NONE,
@@ -278,10 +278,10 @@
 static void
 do_put (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
-  GNUNET_HashCode key;          /* Made up key to store data under */
+  struct GNUNET_HashCode key;          /* Made up key to store data under */
   char data[4];                 /* Made up data to store */
 
-  memset (&key, 42, sizeof (GNUNET_HashCode));  /* Set the key to something 
simple so we can issue GET request */
+  memset (&key, 42, sizeof (struct GNUNET_HashCode));  /* Set the key to 
something simple so we can issue GET request */
   memset (data, 43, sizeof (data));
 
   /* Insert the data at the first peer */

Modified: gnunet/src/dns/plugin_block_dns.c
===================================================================
--- gnunet/src/dns/plugin_block_dns.c   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dns/plugin_block_dns.c   2012-06-12 19:07:40 UTC (rev 21926)
@@ -48,7 +48,7 @@
  */
 static enum GNUNET_BLOCK_EvaluationResult
 block_plugin_dns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
-                           const GNUNET_HashCode * query,
+                           const struct GNUNET_HashCode * query,
                            struct GNUNET_CONTAINER_BloomFilter **bf,
                            int32_t bf_mutator, const void *xquery,
                            size_t xquery_size, const void *reply_block,
@@ -124,13 +124,13 @@
 static int
 block_plugin_dns_get_key (void *cls, enum GNUNET_BLOCK_Type type,
                           const void *block, size_t block_size,
-                          GNUNET_HashCode * key)
+                          struct GNUNET_HashCode * key)
 {
   if (type != GNUNET_BLOCK_TYPE_DNS)
     return GNUNET_SYSERR;
   const struct GNUNET_DNS_Record *rec = block;
 
-  memcpy (key, &rec->service_descriptor, sizeof (GNUNET_HashCode));
+  memcpy (key, &rec->service_descriptor, sizeof (struct GNUNET_HashCode));
   return GNUNET_OK;
 }
 

Modified: gnunet/src/dv/dv_api.c
===================================================================
--- gnunet/src/dv/dv_api.c      2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dv/dv_api.c      2012-06-12 19:07:40 UTC (rev 21926)
@@ -154,9 +154,9 @@
  * @param hash set to uid (extended with zeros)
  */
 static void
-hash_from_uid (uint32_t uid, GNUNET_HashCode * hash)
+hash_from_uid (uint32_t uid, struct GNUNET_HashCode * hash)
 {
-  memset (hash, 0, sizeof (GNUNET_HashCode));
+  memset (hash, 0, sizeof (struct GNUNET_HashCode));
   *((uint32_t *) hash) = uid;
 }
 
@@ -351,7 +351,7 @@
   char *sender_address;
   char *packed_msg;
   char *packed_msg_start;
-  GNUNET_HashCode uidhash;
+  struct GNUNET_HashCode uidhash;
   struct SendCallbackContext *send_ctx;
 
   if (msg == NULL)
@@ -459,7 +459,7 @@
   struct GNUNET_DV_SendMessage *msg;
   struct SendCallbackContext *send_ctx;
   char *end_of_message;
-  GNUNET_HashCode uidhash;
+  struct GNUNET_HashCode uidhash;
   int msize;
 
 #if DEBUG_DV_MESSAGES

Modified: gnunet/src/dv/gnunet-service-dv.c
===================================================================
--- gnunet/src/dv/gnunet-service-dv.c   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/dv/gnunet-service-dv.c   2012-06-12 19:07:40 UTC (rev 21926)
@@ -681,7 +681,7 @@
  * respective neighbor.
  */
 static int
-find_specific_id (void *cls, const GNUNET_HashCode * key, void *value)
+find_specific_id (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct FindIDContext *fdc = cls;
   struct DistantNeighbor *dn = value;
@@ -704,7 +704,7 @@
  * route.
  */
 static int
-find_distant_peer (void *cls, const GNUNET_HashCode * key, void *value)
+find_distant_peer (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct FindDestinationContext *fdc = cls;
   struct DistantNeighbor *distant = value;
@@ -1085,7 +1085,7 @@
  * @return GNUNET_YES to continue iteration, GNUNET_NO to stop
  */
 static int
-find_least_cost_peer (void *cls, const GNUNET_HashCode * key, void *value)
+find_least_cost_peer (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct FindLeastCostContext *find_context = cls;
   struct DistantNeighbor *dn = value;
@@ -1264,7 +1264,7 @@
  *         GNUNET_NO if not.
  */
 int
-checkPeerID (void *cls, const GNUNET_HashCode * key, void *value)
+checkPeerID (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct CheckPeerContext *ctx = cls;
   struct DistantNeighbor *distant = value;
@@ -1661,7 +1661,7 @@
  *         GNUNET_NO if not.
  */
 int
-print_neighbors (void *cls, const GNUNET_HashCode * key, void *abs_value)
+print_neighbors (void *cls, const struct GNUNET_HashCode * key, void 
*abs_value)
 {
   struct DistantNeighbor *distant_neighbor = abs_value;
   char my_shortname[5];
@@ -1849,7 +1849,7 @@
  *         GNUNET_NO if not.
  */
 int
-send_iterator (void *cls, const GNUNET_HashCode * key, void *abs_value)
+send_iterator (void *cls, const struct GNUNET_HashCode * key, void *abs_value)
 {
   struct DV_SendContext *send_context = cls;
   struct DistantNeighbor *distant_neighbor = abs_value;
@@ -2174,7 +2174,7 @@
  * @return GNUNET_YES to continue iteration, GNUNET_NO to stop
  */
 static int
-schedule_disconnect_messages (void *cls, const GNUNET_HashCode * key,
+schedule_disconnect_messages (void *cls, const struct GNUNET_HashCode * key,
                               void *value)
 {
   struct DisconnectContext *disconnect_context = cls;
@@ -2222,7 +2222,7 @@
  * @return GNUNET_YES to continue iteration, GNUNET_NO to stop
  */
 static int
-free_extended_neighbors (void *cls, const GNUNET_HashCode * key, void *value)
+free_extended_neighbors (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct DistantNeighbor *distant = value;
 
@@ -2240,7 +2240,7 @@
  * @return GNUNET_YES to continue iteration, GNUNET_NO to stop
  */
 static int
-free_direct_neighbors (void *cls, const GNUNET_HashCode * key, void *value)
+free_direct_neighbors (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct DirectNeighbor *direct = value;
 
@@ -2320,7 +2320,7 @@
  *         GNUNET_NO if not.
  */
 static int
-add_pkey_to_extended (void *cls, const GNUNET_HashCode * key, void *abs_value)
+add_pkey_to_extended (void *cls, const struct GNUNET_HashCode * key, void 
*abs_value)
 {
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *pkey = cls;
   struct DistantNeighbor *distant_neighbor = abs_value;
@@ -2348,7 +2348,7 @@
  *         GNUNET_NO if not.
  */
 static int
-update_matching_neighbors (void *cls, const GNUNET_HashCode * key, void *value)
+update_matching_neighbors (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct NeighborUpdateInfo *update_info = cls;
   struct DistantNeighbor *distant_neighbor = value;
@@ -2384,7 +2384,7 @@
  * @return GNUNET_YES to continue iteration, GNUNET_NO otherwise
  */
 static int
-add_distant_all_direct_neighbors (void *cls, const GNUNET_HashCode * key,
+add_distant_all_direct_neighbors (void *cls, const struct GNUNET_HashCode * 
key,
                                   void *value)
 {
   struct DirectNeighbor *direct = (struct DirectNeighbor *) value;
@@ -2837,7 +2837,7 @@
  * @return GNUNET_YES to continue iteration, GNUNET_NO otherwise
  */
 static int
-add_all_extended_peers (void *cls, const GNUNET_HashCode * key, void *value)
+add_all_extended_peers (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct NeighborSendContext *send_context = (struct NeighborSendContext *) 
cls;
   struct DistantNeighbor *distant = (struct DistantNeighbor *) value;
@@ -2875,7 +2875,7 @@
  *         GNUNET_NO if not.
  */
 static int
-gossip_all_to_all_iterator (void *cls, const GNUNET_HashCode * key,
+gossip_all_to_all_iterator (void *cls, const struct GNUNET_HashCode * key,
                             void *abs_value)
 {
   struct DirectNeighbor *direct = abs_value;
@@ -2922,7 +2922,7 @@
  * @return GNUNET_YES to continue iteration, GNUNET_NO otherwise
  */
 static int
-add_all_direct_neighbors (void *cls, const GNUNET_HashCode * key, void *value)
+add_all_direct_neighbors (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct DirectNeighbor *direct = (struct DirectNeighbor *) value;
   struct DirectNeighbor *to = (struct DirectNeighbor *) cls;

Modified: gnunet/src/exit/exit.h
===================================================================
--- gnunet/src/exit/exit.h      2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/exit/exit.h      2012-06-12 19:07:40 UTC (rev 21926)
@@ -49,7 +49,7 @@
   /**
    * Identification for the desired service.
    */
-  GNUNET_HashCode service_descriptor;
+  struct GNUNET_HashCode service_descriptor;
 
   /**
    * Skeleton of the TCP header to send.  Port numbers are to
@@ -142,7 +142,7 @@
   /**
    * Identification for the desired service.
    */
-  GNUNET_HashCode service_descriptor;
+  struct GNUNET_HashCode service_descriptor;
 
   /* followed by UDP payload */
 };
@@ -230,7 +230,7 @@
   /**
    * Identification for the desired service.
    */
-  GNUNET_HashCode service_descriptor;
+  struct GNUNET_HashCode service_descriptor;
 
   /**
    * ICMP header to use.

Modified: gnunet/src/exit/gnunet-daemon-exit.c
===================================================================
--- gnunet/src/exit/gnunet-daemon-exit.c        2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/exit/gnunet-daemon-exit.c        2012-06-12 19:07:40 UTC (rev 
21926)
@@ -189,7 +189,7 @@
   /**
    * Key this state has in the connections_map.
    */
-  GNUNET_HashCode state_key;
+  struct GNUNET_HashCode state_key;
 
   /**
    * Associated service record, or NULL for no service.
@@ -325,12 +325,12 @@
  * @param ri information about the connection
  */
 static void
-hash_redirect_info (GNUNET_HashCode *hash, 
+hash_redirect_info (struct GNUNET_HashCode *hash, 
                    const struct RedirectInformation *ri)
 {
   char *off;
 
-  memset (hash, 0, sizeof (GNUNET_HashCode));
+  memset (hash, 0, sizeof (struct GNUNET_HashCode));
   /* the GNUnet hashmap only uses the first sizeof(unsigned int) of the hash,
      so we put the IP address in there (and hope for few collisions) */
   off = (char*) hash;
@@ -389,10 +389,10 @@
                    uint16_t destination_port,
                    const void *local_ip,
                    uint16_t local_port,
-                   GNUNET_HashCode *state_key)
+                   struct GNUNET_HashCode *state_key)
 {
   struct RedirectInformation ri;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   struct TunnelState *state;
 
   if ( ( (af == AF_INET) && (protocol == IPPROTO_ICMP) ) ||
@@ -442,15 +442,15 @@
  */
 static struct LocalService *
 find_service (struct GNUNET_CONTAINER_MultiHashMap *service_map,
-             const GNUNET_HashCode *desc,
+             const struct GNUNET_HashCode *desc,
              uint16_t destination_port)
 {
-  char key[sizeof (GNUNET_HashCode) + sizeof (uint16_t)];
+  char key[sizeof (struct GNUNET_HashCode) + sizeof (uint16_t)];
 
   memcpy (&key[0], &destination_port, sizeof (uint16_t));
-  memcpy (&key[sizeof(uint16_t)], desc, sizeof (GNUNET_HashCode));
+  memcpy (&key[sizeof(uint16_t)], desc, sizeof (struct GNUNET_HashCode));
   return GNUNET_CONTAINER_multihashmap_get (service_map,
-                                           (GNUNET_HashCode *) key);
+                                           (struct GNUNET_HashCode *) key);
 }
 
 
@@ -464,7 +464,7 @@
  */
 static int
 free_service_record (void *cls,
-                    const GNUNET_HashCode *key,
+                    const struct GNUNET_HashCode *key,
                     void *value)
 {
   struct LocalService *service = value;
@@ -490,20 +490,20 @@
               uint16_t destination_port,
               struct LocalService *service)
 {
-  char key[sizeof (GNUNET_HashCode) + sizeof (uint16_t)];
-  GNUNET_HashCode desc;
+  char key[sizeof (struct GNUNET_HashCode) + sizeof (uint16_t)];
+  struct GNUNET_HashCode desc;
 
   GNUNET_CRYPTO_hash (name, strlen (name) + 1, &desc);
   service->name = GNUNET_strdup (name);
   memcpy (&key[0], &destination_port, sizeof (uint16_t));
-  memcpy (&key[sizeof(uint16_t)], &desc, sizeof (GNUNET_HashCode));
+  memcpy (&key[sizeof(uint16_t)], &desc, sizeof (struct GNUNET_HashCode));
   if (GNUNET_OK !=
       GNUNET_CONTAINER_multihashmap_put (service_map,
-                                        (GNUNET_HashCode *) key,
+                                        (struct GNUNET_HashCode *) key,
                                         service,
                                         
GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY))
   {
-    free_service_record (NULL, (GNUNET_HashCode *) key, service);
+    free_service_record (NULL, (struct GNUNET_HashCode *) key, service);
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                _("Got duplicate service records for `%s:%u'\n"),
                name,
@@ -1218,7 +1218,7 @@
 static void
 setup_state_record (struct TunnelState *state)
 {
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   struct TunnelState *s;
 
   /* generate fresh, unique address */
@@ -2733,7 +2733,7 @@
  */
 static int
 free_iterate (void *cls GNUNET_UNUSED,
-              const GNUNET_HashCode * hash GNUNET_UNUSED, void *value)
+              const struct GNUNET_HashCode * hash GNUNET_UNUSED, void *value)
 {
   GNUNET_free (value);
   return GNUNET_YES;

Modified: gnunet/src/fs/fs.h
===================================================================
--- gnunet/src/fs/fs.h  2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/fs.h  2012-06-12 19:07:40 UTC (rev 21926)
@@ -55,12 +55,12 @@
   /**
    * Hash of the original content, used for encryption.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /**
    * Hash of the encrypted content, used for querying.
    */
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
 };
 
 
@@ -112,7 +112,7 @@
   /**
    * Hash of the file that we would like to index.
    */
-  GNUNET_HashCode file_id;
+  struct GNUNET_HashCode file_id;
 
   /* this is followed by a 0-terminated
    * filename of a file with the hash
@@ -141,7 +141,7 @@
   /**
    * Hash of the indexed file.
    */
-  GNUNET_HashCode file_id;
+  struct GNUNET_HashCode file_id;
 
   /* this is followed by a 0-terminated
    * filename of a file with the hash
@@ -174,7 +174,7 @@
   /**
    * Hash of the file that we will unindex.
    */
-  GNUNET_HashCode file_id;
+  struct GNUNET_HashCode file_id;
 
 };
 
@@ -245,7 +245,7 @@
    * <p>
    * If the request is for a KBLOCK, "target" must be all zeros.
    */
-  GNUNET_HashCode target;
+  struct GNUNET_HashCode target;
 
   /**
    * Hash of the keyword (aka query) for KBLOCKs; Hash of
@@ -253,7 +253,7 @@
    * and hash of the identifier XORed with the target for
    * SBLOCKS (aka query).
    */
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
 
   /* this is followed by the hash codes of already-known
    * results (which should hence be excluded from what

Modified: gnunet/src/fs/fs_api.c
===================================================================
--- gnunet/src/fs/fs_api.c      2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/fs_api.c      2012-06-12 19:07:40 UTC (rev 21926)
@@ -819,7 +819,7 @@
     if ((GNUNET_OK != GNUNET_BIO_read_int64 (rh, &ret->data.file.file_size)) ||
         (GNUNET_OK !=
          GNUNET_BIO_read (rh, "fileid", &ret->data.file.file_id,
-                          sizeof (GNUNET_HashCode))))
+                          sizeof (struct GNUNET_HashCode))))
     {
       GNUNET_break (0);
       goto cleanup;
@@ -841,7 +841,7 @@
     if ((GNUNET_OK != GNUNET_BIO_read_int64 (rh, &ret->data.file.file_size)) ||
         (GNUNET_OK !=
          GNUNET_BIO_read (rh, "fileid", &ret->data.file.file_id,
-                          sizeof (GNUNET_HashCode))))
+                          sizeof (struct GNUNET_HashCode))))
     {
       GNUNET_break (0);
       goto cleanup;
@@ -1198,7 +1198,7 @@
     if ((GNUNET_OK != GNUNET_BIO_write_int64 (wh, fi->data.file.file_size)) ||
         (GNUNET_OK !=
          GNUNET_BIO_write (wh, &fi->data.file.file_id,
-                           sizeof (GNUNET_HashCode))))
+                           sizeof (struct GNUNET_HashCode))))
     {
       GNUNET_break (0);
       goto cleanup;
@@ -1575,7 +1575,7 @@
       (GNUNET_OK != GNUNET_BIO_write_int32 (wh, (uint32_t) uc->ksk_offset)) ||
       ((uc->state == UNINDEX_STATE_FS_NOTIFY) &&
        (GNUNET_OK !=
-        GNUNET_BIO_write (wh, &uc->file_id, sizeof (GNUNET_HashCode)))) ||
+        GNUNET_BIO_write (wh, &uc->file_id, sizeof (struct GNUNET_HashCode)))) 
||
       ((uc->state == UNINDEX_STATE_ERROR) &&
        (GNUNET_OK != GNUNET_BIO_write_string (wh, uc->emsg))))
   {
@@ -1875,7 +1875,7 @@
                                 sr->update_search !=
                                 NULL ? sr->update_search->serialization : 
NULL))
       || (GNUNET_OK != GNUNET_BIO_write_meta_data (wh, sr->meta)) ||
-      (GNUNET_OK != GNUNET_BIO_write (wh, &sr->key, sizeof (GNUNET_HashCode)))
+      (GNUNET_OK != GNUNET_BIO_write (wh, &sr->key, sizeof (struct 
GNUNET_HashCode)))
       || (GNUNET_OK != GNUNET_BIO_write_int32 (wh, sr->mandatory_missing)) ||
       (GNUNET_OK != GNUNET_BIO_write_int32 (wh, sr->optional_support)) ||
       (GNUNET_OK != GNUNET_BIO_write_int32 (wh, sr->availability_success)) ||
@@ -2045,7 +2045,7 @@
   case UNINDEX_STATE_FS_NOTIFY:
     if (GNUNET_OK !=
         GNUNET_BIO_read (rh, "unindex-hash", &uc->file_id,
-                         sizeof (GNUNET_HashCode)))
+                         sizeof (struct GNUNET_HashCode)))
     {
       GNUNET_break (0);
       goto cleanup;
@@ -2211,7 +2211,7 @@
           GNUNET_BIO_read_string (rh, "search-lnk", &update_srch, 16)) ||
       (GNUNET_OK != GNUNET_BIO_read_meta_data (rh, "result-meta", &sr->meta)) 
||
       (GNUNET_OK !=
-       GNUNET_BIO_read (rh, "result-key", &sr->key, sizeof (GNUNET_HashCode)))
+       GNUNET_BIO_read (rh, "result-key", &sr->key, sizeof (struct 
GNUNET_HashCode)))
       || (GNUNET_OK != GNUNET_BIO_read_int32 (rh, &sr->mandatory_missing)) ||
       (GNUNET_OK != GNUNET_BIO_read_int32 (rh, &sr->optional_support)) ||
       (GNUNET_OK != GNUNET_BIO_read_int32 (rh, &sr->availability_success)) ||
@@ -2346,7 +2346,7 @@
  * @return GNUNET_YES (we should continue to iterate)
  */
 static int
-signal_result_resume (void *cls, const GNUNET_HashCode * key, void *value)
+signal_result_resume (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct GNUNET_FS_SearchContext *sc = cls;
   struct GNUNET_FS_ProgressInfo pi;
@@ -2398,7 +2398,7 @@
  * @return GNUNET_YES (we should continue to iterate)
  */
 static int
-free_result (void *cls, const GNUNET_HashCode * key, void *value)
+free_result (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct GNUNET_FS_SearchResult *sr = value;
 

Modified: gnunet/src/fs/fs_api.h
===================================================================
--- gnunet/src/fs/fs_api.h      2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/fs_api.h      2012-06-12 19:07:40 UTC (rev 21926)
@@ -205,7 +205,7 @@
       /**
        * Hash of the public key for the namespace.
        */
-      GNUNET_HashCode namespace;
+      struct GNUNET_HashCode namespace;
 
       /**
        * Human-readable identifier chosen for this
@@ -333,7 +333,7 @@
        * over the entire file (when the indexing process is started).
        * Otherwise this field is not used.
        */
-      GNUNET_HashCode file_id;
+      struct GNUNET_HashCode file_id;
 
       /**
        * Size of the file (in bytes).
@@ -568,7 +568,7 @@
   /**
    * Key for the search result
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /**
    * ID of the task that will clean up the probe_ctx should it not
@@ -730,7 +730,7 @@
  * @param file_id computed hash, NULL on error
  */
 void
-GNUNET_FS_unindex_process_hash_ (void *cls, const GNUNET_HashCode * file_id);
+GNUNET_FS_unindex_process_hash_ (void *cls, const struct GNUNET_HashCode * 
file_id);
 
 
 /**
@@ -1384,12 +1384,12 @@
   /**
    * Current key for decrypting KBLocks from 'get_key' operation.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /**
    * Current query of 'get_key' operation.
    */
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
 
   /**
    * First content UID, 0 for none.
@@ -1424,7 +1424,7 @@
   /**
    * Hash of the file's contents (once computed).
    */
-  GNUNET_HashCode file_id;
+  struct GNUNET_HashCode file_id;
 
   /**
    * Current operatinonal phase.
@@ -1444,12 +1444,12 @@
    * Hash of the original keyword, also known as the
    * key (for decrypting the KBlock).
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /**
    * Hash of the public key, also known as the query.
    */
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
 
   /**
    * Map that contains a "struct GNUNET_FS_SearchResult" for each result that

Modified: gnunet/src/fs/fs_download.c
===================================================================
--- gnunet/src/fs/fs_download.c 2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/fs_download.c 2012-06-12 19:07:40 UTC (rev 21926)
@@ -153,7 +153,7 @@
   /**
    * Hash of data.
    */
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
 
   /**
    * Data found in P2P network.
@@ -198,7 +198,7 @@
  * @return GNUNET_YES (we should continue to iterate); unless serious error
  */
 static int
-process_result_with_request (void *cls, const GNUNET_HashCode * key,
+process_result_with_request (void *cls, const struct GNUNET_HashCode * key,
                              void *value);
 
 
@@ -225,7 +225,7 @@
   char enc[len];
   struct GNUNET_CRYPTO_AesSessionKey sk;
   struct GNUNET_CRYPTO_AesInitializationVector iv;
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
 
   GNUNET_CRYPTO_hash_to_aes_key (&chk->key, &sk, &iv);
   if (-1 == GNUNET_CRYPTO_aes_encrypt (block, len, &sk, &iv, enc))
@@ -234,7 +234,7 @@
     return GNUNET_SYSERR;
   }
   GNUNET_CRYPTO_hash (enc, len, &query);
-  if (0 != memcmp (&query, &chk->query, sizeof (GNUNET_HashCode)))
+  if (0 != memcmp (&query, &chk->query, sizeof (struct GNUNET_HashCode)))
   {
     GNUNET_break_op (0);
     return GNUNET_SYSERR;
@@ -624,7 +624,7 @@
 {
   uint64_t off;
   char block[DBLOCK_SIZE];
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   uint64_t total;
   size_t len;
   unsigned int i;
@@ -653,7 +653,7 @@
     return;                     /* failure */
   }
   GNUNET_CRYPTO_hash (block, len, &key);
-  if (0 != memcmp (&key, &dr->chk.key, sizeof (GNUNET_HashCode)))
+  if (0 != memcmp (&key, &dr->chk.key, sizeof (struct GNUNET_HashCode)))
     return;                     /* mismatch */
   if (GNUNET_OK !=
       encrypt_existing_match (dc, &dr->chk, dr, block, len, GNUNET_NO))
@@ -926,7 +926,7 @@
  * @return GNUNET_YES (we should continue to iterate); unless serious error
  */
 static int
-process_result_with_request (void *cls, const GNUNET_HashCode * key,
+process_result_with_request (void *cls, const struct GNUNET_HashCode * key,
                              void *value)
 {
   struct ProcessResultClosure *prc = cls;
@@ -1376,7 +1376,7 @@
  * @return GNUNET_OK
  */
 static int
-retry_entry (void *cls, const GNUNET_HashCode * key, void *entry)
+retry_entry (void *cls, const struct GNUNET_HashCode * key, void *entry)
 {
   struct GNUNET_FS_DownloadContext *dc = cls;
   struct DownloadRequest *dr = entry;

Modified: gnunet/src/fs/fs_namespace.c
===================================================================
--- gnunet/src/fs/fs_namespace.c        2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/fs_namespace.c        2012-06-12 19:07:40 UTC (rev 21926)
@@ -359,7 +359,7 @@
   struct ProcessNamespaceContext *pnc = cls;
   struct GNUNET_CRYPTO_RsaPrivateKey *key;
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pk;
-  GNUNET_HashCode id;
+  struct GNUNET_HashCode id;
   const char *name;
   const char *t;
 
@@ -470,7 +470,7 @@
             const char *msg)
 {
   struct GNUNET_FS_PublishSksContext *psc = cls;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
 
   psc->dqe = NULL;
   if (GNUNET_OK != success)
@@ -544,9 +544,9 @@
   struct SBlock *sb_enc;
   char *dest;
   struct GNUNET_CONTAINER_MetaData *mmeta;
-  GNUNET_HashCode key;          /* hash of thisId = key */
-  GNUNET_HashCode id;           /* hash of hc = identifier */
-  GNUNET_HashCode query;        /* id ^ nsid = DB query */
+  struct GNUNET_HashCode key;          /* hash of thisId = key */
+  struct GNUNET_HashCode id;           /* hash of hc = identifier */
+  struct GNUNET_HashCode query;        /* id ^ nsid = DB query */
 
   if (NULL == meta)
     mmeta = GNUNET_CONTAINER_meta_data_create ();
@@ -591,7 +591,7 @@
   size = sizeof (struct SBlock) + mdsize + slen + nidlen;
   sb_enc = GNUNET_malloc (size);
   GNUNET_CRYPTO_hash (identifier, idlen, &key);
-  GNUNET_CRYPTO_hash (&key, sizeof (GNUNET_HashCode), &id);
+  GNUNET_CRYPTO_hash (&key, sizeof (struct GNUNET_HashCode), &id);
   sks_uri = GNUNET_malloc (sizeof (struct GNUNET_FS_Uri));
   sks_uri->type = sks;
   GNUNET_CRYPTO_rsa_key_get_public (namespace->key, &sb_enc->subspace);
@@ -711,7 +711,7 @@
  *         GNUNET_NO if not.
  */
 static int
-process_update_node (void *cls, const GNUNET_HashCode * key, void *value)
+process_update_node (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct ProcessUpdateClosure *pc = cls;
   struct NamespaceUpdateNode *nsn = value;
@@ -774,11 +774,11 @@
  *         GNUNET_NO if not.
  */
 static int
-find_trees (void *cls, const GNUNET_HashCode * key, void *value)
+find_trees (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct FindTreeClosure *fc = cls;
   struct NamespaceUpdateNode *nsn = value;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
 
   if (nsn->nug == fc->nug)
   {
@@ -838,7 +838,7 @@
 {
   unsigned int i;
   unsigned int nug;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
   struct NamespaceUpdateNode *nsn;
   struct ProcessUpdateClosure pc;
   struct FindTreeClosure fc;

Modified: gnunet/src/fs/fs_namespace_advertise.c
===================================================================
--- gnunet/src/fs/fs_namespace_advertise.c      2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/fs/fs_namespace_advertise.c      2012-06-12 19:07:40 UTC (rev 
21926)
@@ -132,8 +132,8 @@
 {
   struct GNUNET_FS_AdvertisementContext *ac = cls;
   const char *keyword;
-  GNUNET_HashCode key;
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode key;
+  struct GNUNET_HashCode query;
   struct GNUNET_CRYPTO_AesSessionKey skey;
   struct GNUNET_CRYPTO_AesInitializationVector iv;
   struct GNUNET_CRYPTO_RsaPrivateKey *pk;

Modified: gnunet/src/fs/fs_publish.c
===================================================================
--- gnunet/src/fs/fs_publish.c  2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/fs_publish.c  2012-06-12 19:07:40 UTC (rev 21926)
@@ -658,7 +658,7 @@
  * @param res resulting hash, NULL on error
  */
 static void
-hash_for_index_cb (void *cls, const GNUNET_HashCode * res)
+hash_for_index_cb (void *cls, const struct GNUNET_HashCode * res)
 {
   struct GNUNET_FS_PublishContext *pc = cls;
   struct GNUNET_FS_FileInformation *p;

Modified: gnunet/src/fs/fs_publish_ksk.c
===================================================================
--- gnunet/src/fs/fs_publish_ksk.c      2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/fs_publish_ksk.c      2012-06-12 19:07:40 UTC (rev 21926)
@@ -172,8 +172,8 @@
 {
   struct GNUNET_FS_PublishKskContext *pkc = cls;
   const char *keyword;
-  GNUNET_HashCode key;
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode key;
+  struct GNUNET_HashCode query;
   struct GNUNET_CRYPTO_AesSessionKey skey;
   struct GNUNET_CRYPTO_AesInitializationVector iv;
   struct GNUNET_CRYPTO_RsaPrivateKey *pk;

Modified: gnunet/src/fs/fs_search.c
===================================================================
--- gnunet/src/fs/fs_search.c   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/fs_search.c   2012-06-12 19:07:40 UTC (rev 21926)
@@ -74,7 +74,7 @@
  *         GNUNET_OK otherwise
  */
 static int
-test_result_present (void *cls, const GNUNET_HashCode * key, void *value)
+test_result_present (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   const struct GNUNET_FS_Uri *uri = cls;
   struct GNUNET_FS_SearchResult *sr = value;
@@ -162,7 +162,7 @@
  * @return GNUNET_OK
  */
 static int
-get_result_present (void *cls, const GNUNET_HashCode * key, void *value)
+get_result_present (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct GetResultContext *grc = cls;
   struct GNUNET_FS_SearchResult *sr = value;
@@ -388,7 +388,7 @@
                     const struct GNUNET_FS_Uri *uri,
                     const struct GNUNET_CONTAINER_MetaData *meta)
 {
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   struct GNUNET_FS_SearchResult *sr;
   struct GetResultContext grc;
   int is_new;
@@ -477,7 +477,7 @@
                     const struct GNUNET_CONTAINER_MetaData *meta)
 {
   struct GNUNET_FS_Uri uu;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   struct GNUNET_FS_SearchResult *sr;
 
   /* check if new */
@@ -533,7 +533,7 @@
                            size_t edata_size,
                            char *data)
 { 
-  GNUNET_HashCode q;
+  struct GNUNET_HashCode q;
   struct GNUNET_CRYPTO_AesSessionKey skey;
   struct GNUNET_CRYPTO_AesInitializationVector iv;
   int i;
@@ -543,7 +543,7 @@
                       &q);
   /* find key */
   for (i = 0; i < sc->uri->data.ksk.keywordCount; i++)
-    if (0 == memcmp (&q, &sc->requests[i].query, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (&q, &sc->requests[i].query, sizeof (struct 
GNUNET_HashCode)))
       break;
   if (i == sc->uri->data.ksk.keywordCount)
   {
@@ -708,7 +708,7 @@
   const char *uris;
   size_t off;
   char *emsg;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   char *identifier;
 
   /* decrypt */
@@ -904,7 +904,7 @@
   /**
    * Where to store the keys.
    */
-  GNUNET_HashCode *xoff;
+  struct GNUNET_HashCode *xoff;
 
   /**
    * Search context we are iterating for.
@@ -928,7 +928,7 @@
  * @return GNUNET_OK to continue iterating
  */
 static int
-build_result_set (void *cls, const GNUNET_HashCode * key, void *value)
+build_result_set (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct MessageBuilderContext *mbc = cls;
   struct GNUNET_FS_SearchResult *sr = value;
@@ -960,7 +960,7 @@
  * @return GNUNET_OK to continue iterating
  */
 static int
-find_result_set (void *cls, const GNUNET_HashCode * key, void *value)
+find_result_set (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct MessageBuilderContext *mbc = cls;
   struct GNUNET_FS_SearchResult *sr = value;
@@ -990,8 +990,8 @@
   size_t msize;
   struct SearchMessage *sm;
   const char *identifier;
-  GNUNET_HashCode key;
-  GNUNET_HashCode idh;
+  struct GNUNET_HashCode key;
+  struct GNUNET_HashCode idh;
   unsigned int sqms;
   uint32_t options;
 
@@ -1004,7 +1004,7 @@
   mbc.skip_cnt = sc->search_request_map_offset;
   sm = buf;
   sm->header.type = htons (GNUNET_MESSAGE_TYPE_FS_START_SEARCH);
-  mbc.xoff = (GNUNET_HashCode *) & sm[1];
+  mbc.xoff = (struct GNUNET_HashCode *) & sm[1];
   options = SEARCH_MESSAGE_OPTION_NONE;
   if (0 != (sc->options & GNUNET_FS_SEARCH_OPTION_LOOPBACK_ONLY))
     options |= SEARCH_MESSAGE_OPTION_LOOPBACK_ONLY;
@@ -1017,7 +1017,7 @@
     GNUNET_CONTAINER_multihashmap_iterate (sc->master_result_map,
                                            &find_result_set, &mbc);
     sqms = mbc.put_cnt;
-    mbc.put_cnt = (size - msize) / sizeof (GNUNET_HashCode);
+    mbc.put_cnt = (size - msize) / sizeof (struct GNUNET_HashCode);
     mbc.put_cnt = GNUNET_MIN (mbc.put_cnt, sqms - mbc.skip_cnt);
     if (sc->search_request_map_offset < sqms)
       GNUNET_assert (mbc.put_cnt > 0);
@@ -1025,9 +1025,9 @@
     sm->header.size = htons (msize);
     sm->type = htonl (GNUNET_BLOCK_TYPE_ANY);
     sm->anonymity_level = htonl (sc->anonymity);
-    memset (&sm->target, 0, sizeof (GNUNET_HashCode));
+    memset (&sm->target, 0, sizeof (struct GNUNET_HashCode));
     sm->query = sc->requests[sc->keyword_offset].query;
-    msize += sizeof (GNUNET_HashCode) * mbc.put_cnt;
+    msize += sizeof (struct GNUNET_HashCode) * mbc.put_cnt;
     GNUNET_CONTAINER_multihashmap_iterate (sc->master_result_map,
                                            &build_result_set, &mbc);
     sm->header.size = htons (msize);
@@ -1058,15 +1058,15 @@
     sm->target = sc->uri->data.sks.namespace;
     identifier = sc->uri->data.sks.identifier;
     GNUNET_CRYPTO_hash (identifier, strlen (identifier), &key);
-    GNUNET_CRYPTO_hash (&key, sizeof (GNUNET_HashCode), &idh);
+    GNUNET_CRYPTO_hash (&key, sizeof (struct GNUNET_HashCode), &idh);
     GNUNET_CRYPTO_hash_xor (&idh, &sm->target, &sm->query);
-    mbc.put_cnt = (size - msize) / sizeof (GNUNET_HashCode);
+    mbc.put_cnt = (size - msize) / sizeof (struct GNUNET_HashCode);
     sqms = GNUNET_CONTAINER_multihashmap_size (sc->master_result_map);
     mbc.put_cnt = GNUNET_MIN (mbc.put_cnt, sqms - mbc.skip_cnt);
     mbc.keyword_offset = 0;
     if (sc->search_request_map_offset < sqms)
       GNUNET_assert (mbc.put_cnt > 0);
-    msize += sizeof (GNUNET_HashCode) * mbc.put_cnt;
+    msize += sizeof (struct GNUNET_HashCode) * mbc.put_cnt;
     GNUNET_CONTAINER_multihashmap_iterate (sc->master_result_map,
                                            &build_result_set, &mbc);
     sm->header.size = htons (msize);
@@ -1103,9 +1103,9 @@
   sqms =
       GNUNET_CONTAINER_multihashmap_size (sc->master_result_map) -
       sc->search_request_map_offset;
-  fit = (GNUNET_SERVER_MAX_MESSAGE_SIZE - 1 - size) / sizeof (GNUNET_HashCode);
+  fit = (GNUNET_SERVER_MAX_MESSAGE_SIZE - 1 - size) / sizeof (struct 
GNUNET_HashCode);
   fit = GNUNET_MIN (fit, sqms);
-  size += sizeof (GNUNET_HashCode) * fit;
+  size += sizeof (struct GNUNET_HashCode) * fit;
   GNUNET_CLIENT_notify_transmit_ready (sc->client, size,
                                        GNUNET_CONSTANTS_SERVICE_TIMEOUT,
                                        GNUNET_NO, &transmit_search_request, 
sc);
@@ -1220,7 +1220,7 @@
 {
   unsigned int i;
   const char *keyword;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pub;
   struct GNUNET_CRYPTO_RsaPrivateKey *pk;
 
@@ -1267,7 +1267,7 @@
  * @return GNUNET_OK
  */
 static int
-search_result_freeze_probes (void *cls, const GNUNET_HashCode * key,
+search_result_freeze_probes (void *cls, const struct GNUNET_HashCode * key,
                              void *value)
 {
   struct GNUNET_FS_SearchResult *sr = value;
@@ -1297,7 +1297,7 @@
  * @return GNUNET_OK
  */
 static int
-search_result_resume_probes (void *cls, const GNUNET_HashCode * key,
+search_result_resume_probes (void *cls, const struct GNUNET_HashCode * key,
                              void *value)
 {
   struct GNUNET_FS_SearchResult *sr = value;
@@ -1318,7 +1318,7 @@
  * @return GNUNET_OK
  */
 static int
-search_result_suspend (void *cls, const GNUNET_HashCode * key, void *value)
+search_result_suspend (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct GNUNET_FS_SearchContext *sc = cls;
   struct GNUNET_FS_SearchResult *sr = value;
@@ -1477,7 +1477,7 @@
  * @return GNUNET_OK
  */
 static int
-search_result_stop (void *cls, const GNUNET_HashCode * key, void *value)
+search_result_stop (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct GNUNET_FS_SearchContext *sc = cls;
   struct GNUNET_FS_SearchResult *sr = value;
@@ -1530,7 +1530,7 @@
  * @return GNUNET_OK
  */
 static int
-search_result_free (void *cls, const GNUNET_HashCode * key, void *value)
+search_result_free (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct GNUNET_FS_SearchResult *sr = value;
 

Modified: gnunet/src/fs/fs_sharetree.c
===================================================================
--- gnunet/src/fs/fs_sharetree.c        2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/fs_sharetree.c        2012-06-12 19:07:40 UTC (rev 21926)
@@ -162,7 +162,7 @@
 {
   struct GNUNET_CONTAINER_MultiHashMap *mcm = cls;
   struct KeywordCounter *cnt;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
   size_t klen;
 
   klen = strlen (keyword) + 1;
@@ -206,7 +206,7 @@
                     const char *data_mime_type, const char *data, size_t 
data_len)
 {
   struct GNUNET_CONTAINER_MultiHashMap *map = cls;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   struct MetaCounter *cnt;
 
   GNUNET_CRYPTO_hash (data, data_len, &key);
@@ -243,7 +243,7 @@
 {
   struct TrimContext *tc = cls;
   struct KeywordCounter *counter;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
   size_t klen;
 
   klen = strlen (keyword) + 1;
@@ -268,7 +268,7 @@
  * @return GNUNET_YES (always)
  */
 static int
-migrate_and_drop_keywords (void *cls, const GNUNET_HashCode * key, void *value)
+migrate_and_drop_keywords (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct TrimContext *tc = cls;
   struct KeywordCounter *counter = value;
@@ -299,7 +299,7 @@
  * @return GNUNET_YES (always)
  */
 static int
-migrate_and_drop_metadata (void *cls, const GNUNET_HashCode * key, void *value)
+migrate_and_drop_metadata (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct TrimContext *tc = cls;
   struct MetaCounter *counter = value;

Modified: gnunet/src/fs/fs_unindex.c
===================================================================
--- gnunet/src/fs/fs_unindex.c  2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/fs_unindex.c  2012-06-12 19:07:40 UTC (rev 21926)
@@ -437,7 +437,7 @@
  */
 static void
 process_kblock_for_unindex (void *cls,
-                           const GNUNET_HashCode * key,
+                           const struct GNUNET_HashCode * key,
                            size_t size, const void *data,
                            enum GNUNET_BLOCK_Type type,
                            uint32_t priority,
@@ -649,7 +649,7 @@
  * @param file_id computed hash, NULL on error
  */
 void
-GNUNET_FS_unindex_process_hash_ (void *cls, const GNUNET_HashCode * file_id)
+GNUNET_FS_unindex_process_hash_ (void *cls, const struct GNUNET_HashCode * 
file_id)
 {
   struct GNUNET_FS_UnindexContext *uc = cls;
 

Modified: gnunet/src/fs/fs_uri.c
===================================================================
--- gnunet/src/fs/fs_uri.c      2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/fs_uri.c      2012-06-12 19:07:40 UTC (rev 21926)
@@ -98,7 +98,7 @@
  * @param key wherer to store the unique key
  */
 void
-GNUNET_FS_uri_to_key (const struct GNUNET_FS_Uri *uri, GNUNET_HashCode * key)
+GNUNET_FS_uri_to_key (const struct GNUNET_FS_Uri *uri, struct GNUNET_HashCode 
* key)
 {
   switch (uri->type)
   {
@@ -121,7 +121,7 @@
                         key);
     break;
   default:
-    memset (key, 0, sizeof (GNUNET_HashCode));
+    memset (key, 0, sizeof (struct GNUNET_HashCode));
     break;
   }
 }
@@ -355,7 +355,7 @@
 uri_sks_parse (const char *s, char **emsg)
 {
   struct GNUNET_FS_Uri *ret;
-  GNUNET_HashCode namespace;
+  struct GNUNET_HashCode namespace;
   char *identifier;
   unsigned int pos;
   size_t slen;
@@ -963,7 +963,7 @@
  * @return an FS URI for the given namespace and identifier
  */
 struct GNUNET_FS_Uri *
-GNUNET_FS_uri_sks_create_from_nsid (GNUNET_HashCode * nsid, const char *id)
+GNUNET_FS_uri_sks_create_from_nsid (struct GNUNET_HashCode * nsid, const char 
*id)
 {
   struct GNUNET_FS_Uri *ns_uri;
 
@@ -1273,7 +1273,7 @@
   case sks:
     if ((0 ==
          memcmp (&u1->data.sks.namespace, &u2->data.sks.namespace,
-                 sizeof (GNUNET_HashCode))) &&
+                 sizeof (struct GNUNET_HashCode))) &&
         (0 == strcmp (u1->data.sks.identifier, u2->data.sks.identifier)))
 
       return GNUNET_YES;
@@ -1334,7 +1334,7 @@
  */
 int
 GNUNET_FS_uri_sks_get_namespace (const struct GNUNET_FS_Uri *uri,
-                                 GNUNET_HashCode * nsid)
+                                 struct GNUNET_HashCode * nsid)
 {
   if (!GNUNET_FS_uri_test_sks (uri))
   {
@@ -1931,7 +1931,7 @@
 static char *
 uri_sks_to_string (const struct GNUNET_FS_Uri *uri)
 {
-  const GNUNET_HashCode *namespace;
+  const struct GNUNET_HashCode *namespace;
   const char *identifier;
   char *ret;
   struct GNUNET_CRYPTO_HashAsciiEncoded ns;

Modified: gnunet/src/fs/gnunet-fs.c
===================================================================
--- gnunet/src/fs/gnunet-fs.c   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/gnunet-fs.c   2012-06-12 19:07:40 UTC (rev 21926)
@@ -55,7 +55,7 @@
  * @return GNUNET_OK to continue iteration
  */
 static int
-print_indexed (void *cls, const char *filename, const GNUNET_HashCode * 
file_id)
+print_indexed (void *cls, const char *filename, const struct GNUNET_HashCode * 
file_id)
 {
   if (NULL == filename)
   {

Modified: gnunet/src/fs/gnunet-pseudonym.c
===================================================================
--- gnunet/src/fs/gnunet-pseudonym.c    2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/gnunet-pseudonym.c    2012-06-12 19:07:40 UTC (rev 21926)
@@ -95,7 +95,7 @@
 
 
 static void
-ns_printer (void *cls, const char *name, const GNUNET_HashCode * id)
+ns_printer (void *cls, const char *name, const struct GNUNET_HashCode * id)
 {
   struct GNUNET_CRYPTO_HashAsciiEncoded enc;
 
@@ -105,7 +105,7 @@
 
 
 static int
-pseudo_printer (void *cls, const GNUNET_HashCode * pseudonym,
+pseudo_printer (void *cls, const struct GNUNET_HashCode * pseudonym,
                 const char *name, const char *unique_name,
                 const struct GNUNET_CONTAINER_MetaData *md, int rating)
 {
@@ -136,7 +136,7 @@
 static void
 post_advertising (void *cls, const struct GNUNET_FS_Uri *uri, const char *emsg)
 {
-  GNUNET_HashCode nsid;
+  struct GNUNET_HashCode nsid;
   char *set;
   int delta;
 

Modified: gnunet/src/fs/gnunet-service-fs.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs.c   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/gnunet-service-fs.c   2012-06-12 19:07:40 UTC (rev 21926)
@@ -476,7 +476,7 @@
  * @return GNUNET_YES to continue to iterate
  */
 static int
-consider_peer_for_forwarding (void *cls, const GNUNET_HashCode * key,
+consider_peer_for_forwarding (void *cls, const struct GNUNET_HashCode * key,
                               struct GSF_PendingRequest *pr)
 {
   struct GSF_ConnectedPeer *cp = cls;

Modified: gnunet/src/fs/gnunet-service-fs.h
===================================================================
--- gnunet/src/fs/gnunet-service-fs.h   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/gnunet-service-fs.h   2012-06-12 19:07:40 UTC (rev 21926)
@@ -119,7 +119,7 @@
   /**
    * Which of the optional hash codes are present at the end of the
    * message?  See GET_MESSAGE_BIT_xx constants.  For each bit that is
-   * set, an additional GNUNET_HashCode with the respective content
+   * set, an additional struct GNUNET_HashCode with the respective content
    * (in order of the bits) will be appended to the end of the GET
    * message.
    */
@@ -129,7 +129,7 @@
    * Hashcodes of the file(s) we're looking for.
    * Details depend on the query type.
    */
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
 
   /* this is followed by hash codes as specified in the "hash_bitmap";
    * after that, an optional bloomfilter (with bits set for replies

Modified: gnunet/src/fs/gnunet-service-fs_cp.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_cp.c        2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/fs/gnunet-service-fs_cp.c        2012-06-12 19:07:40 UTC (rev 
21926)
@@ -759,7 +759,7 @@
  */
 static void
 free_pending_request (struct PeerRequest *peerreq,
-                     const GNUNET_HashCode *query)
+                     const struct GNUNET_HashCode *query)
 {
   struct GSF_ConnectedPeer *cp = peerreq->cp;
 
@@ -786,7 +786,7 @@
  * @return GNUNET_YES (continue to iterate)
  */
 static int
-cancel_pending_request (void *cls, const GNUNET_HashCode * query, void *value)
+cancel_pending_request (void *cls, const struct GNUNET_HashCode * query, void 
*value)
 {
   struct PeerRequest *peerreq = value;
   struct GSF_PendingRequest *pr = peerreq->pr;
@@ -1129,13 +1129,13 @@
   struct GSF_PendingRequestData *prd;
   struct GSF_ConnectedPeer *cp;
   struct GSF_ConnectedPeer *cps;
-  const GNUNET_HashCode *namespace;
+  const struct GNUNET_HashCode *namespace;
   const struct GNUNET_PeerIdentity *target;
   enum GSF_PendingRequestOptions options;
   uint16_t msize;
   const struct GetMessage *gm;
   unsigned int bits;
-  const GNUNET_HashCode *opt;
+  const struct GNUNET_HashCode *opt;
   uint32_t bm;
   size_t bfsize;
   uint32_t ttl_decrement;
@@ -1165,13 +1165,13 @@
       bits++;
     bm >>= 1;
   }
-  if (msize < sizeof (struct GetMessage) + bits * sizeof (GNUNET_HashCode))
+  if (msize < sizeof (struct GetMessage) + bits * sizeof (struct 
GNUNET_HashCode))
   {
     GNUNET_break_op (0);
     return NULL;
   }
-  opt = (const GNUNET_HashCode *) &gm[1];
-  bfsize = msize - sizeof (struct GetMessage) - bits * sizeof 
(GNUNET_HashCode);
+  opt = (const struct GNUNET_HashCode *) &gm[1];
+  bfsize = msize - sizeof (struct GetMessage) - bits * sizeof (struct 
GNUNET_HashCode);
   /* bfsize must be power of 2, check! */
   if (0 != ((bfsize - 1) & bfsize))
   {
@@ -1284,7 +1284,7 @@
     prd = GSF_pending_request_get_data_ (pr);
     if ((prd->type == type) &&
         ((type != GNUNET_BLOCK_TYPE_FS_SBLOCK) ||
-         (0 == memcmp (&prd->namespace, namespace, sizeof (GNUNET_HashCode)))))
+         (0 == memcmp (&prd->namespace, namespace, sizeof (struct 
GNUNET_HashCode)))))
     {
       if (prd->ttl.abs_value >= GNUNET_TIME_absolute_get ().abs_value + ttl)
       {
@@ -1612,7 +1612,7 @@
  * @return GNUNET_YES to continue iteration
  */
 static int
-call_iterator (void *cls, const GNUNET_HashCode * key, void *value)
+call_iterator (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct IterationContext *ic = cls;
   struct GSF_ConnectedPeer *cp = value;
@@ -1728,7 +1728,7 @@
  * @return GNUNET_OK to continue iteration
  */
 static int
-flush_trust (void *cls, const GNUNET_HashCode * key, void *value)
+flush_trust (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct GSF_ConnectedPeer *cp = value;
   char *fn;
@@ -1829,7 +1829,7 @@
  * @return GNUNET_YES (we should continue to iterate)
  */
 static int
-clean_peer (void *cls, const GNUNET_HashCode * key, void *value)
+clean_peer (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   GSF_peer_disconnect_handler_ (NULL, (const struct GNUNET_PeerIdentity *) 
key);
   return GNUNET_YES;
@@ -1862,7 +1862,7 @@
  * @return GNUNET_YES (we should continue to iterate)
  */
 static int
-clean_local_client (void *cls, const GNUNET_HashCode * key, void *value)
+clean_local_client (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   const struct GSF_LocalClient *lc = cls;
   struct GSF_ConnectedPeer *cp = value;

Modified: gnunet/src/fs/gnunet-service-fs_indexing.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_indexing.c  2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/fs/gnunet-service-fs_indexing.c  2012-06-12 19:07:40 UTC (rev 
21926)
@@ -67,7 +67,7 @@
   /**
    * Hash of the contents of the file.
    */
-  GNUNET_HashCode file_id;
+  struct GNUNET_HashCode file_id;
 
 };
 
@@ -126,7 +126,7 @@
   while (pos != NULL)
   {
     if ((GNUNET_OK !=
-         GNUNET_BIO_write (wh, &pos->file_id, sizeof (GNUNET_HashCode))) ||
+         GNUNET_BIO_write (wh, &pos->file_id, sizeof (struct 
GNUNET_HashCode))) ||
         (GNUNET_OK != GNUNET_BIO_write_string (wh, pos->filename)))
       break;
     pos = pos->next;
@@ -152,7 +152,7 @@
   char *fn;
   struct IndexInfo *pos;
   char *fname;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
   size_t slen;
   char *emsg;
 
@@ -180,7 +180,7 @@
   }
   while ((GNUNET_OK ==
           GNUNET_BIO_read (rh, "Hash of indexed file", &hc,
-                           sizeof (GNUNET_HashCode))) &&
+                           sizeof (struct GNUNET_HashCode))) &&
          (GNUNET_OK ==
           GNUNET_BIO_read_string (rh, "Name of indexed file", &fname,
                                   1024 * 16)) && (fname != NULL))
@@ -253,13 +253,13 @@
  * @param res resulting hash, NULL on error
  */
 static void
-hash_for_index_val (void *cls, const GNUNET_HashCode * res)
+hash_for_index_val (void *cls, const struct GNUNET_HashCode * res)
 {
   struct IndexInfo *ii = cls;
 
   ii->fhc = NULL;
   if ((res == NULL) ||
-      (0 != memcmp (res, &ii->file_id, sizeof (GNUNET_HashCode))))
+      (0 != memcmp (res, &ii->file_id, sizeof (struct GNUNET_HashCode))))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                 _
@@ -431,7 +431,7 @@
   while (NULL != pos)
   {
     next = pos->next;
-    if (0 == memcmp (&pos->file_id, &um->file_id, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (&pos->file_id, &um->file_id, sizeof (struct 
GNUNET_HashCode)))
     {
       if (prev == NULL)
         indexed_files = next;
@@ -502,7 +502,7 @@
  * @return GNUNET_OK on success
  */
 int
-GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key, uint32_t size,
+GNUNET_FS_handle_on_demand_block (const struct GNUNET_HashCode * key, uint32_t 
size,
                                   const void *data, enum GNUNET_BLOCK_Type 
type,
                                   uint32_t priority, uint32_t anonymity,
                                   struct GNUNET_TIME_Absolute expiration,
@@ -511,10 +511,10 @@
                                   void *cont_cls)
 {
   const struct OnDemandBlock *odb;
-  GNUNET_HashCode nkey;
+  struct GNUNET_HashCode nkey;
   struct GNUNET_CRYPTO_AesSessionKey skey;
   struct GNUNET_CRYPTO_AesInitializationVector iv;
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
   ssize_t nsize;
   char ndata[DBLOCK_SIZE];
   char edata[DBLOCK_SIZE];
@@ -565,7 +565,7 @@
   GNUNET_CRYPTO_hash_to_aes_key (&nkey, &skey, &iv);
   GNUNET_CRYPTO_aes_encrypt (ndata, nsize, &skey, &iv, edata);
   GNUNET_CRYPTO_hash (edata, nsize, &query);
-  if (0 != memcmp (&query, key, sizeof (GNUNET_HashCode)))
+  if (0 != memcmp (&query, key, sizeof (struct GNUNET_HashCode)))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                 _("Indexed file `%s' changed at offset %llu\n"), fn,

Modified: gnunet/src/fs/gnunet-service-fs_indexing.h
===================================================================
--- gnunet/src/fs/gnunet-service-fs_indexing.h  2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/fs/gnunet-service-fs_indexing.h  2012-06-12 19:07:40 UTC (rev 
21926)
@@ -55,7 +55,7 @@
  * @return GNUNET_OK on success
  */
 int
-GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key, uint32_t size,
+GNUNET_FS_handle_on_demand_block (const struct GNUNET_HashCode * key, uint32_t 
size,
                                   const void *data, enum GNUNET_BLOCK_Type 
type,
                                   uint32_t priority, uint32_t anonymity,
                                   struct GNUNET_TIME_Absolute expiration,

Modified: gnunet/src/fs/gnunet-service-fs_lc.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_lc.c        2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/fs/gnunet-service-fs_lc.c        2012-06-12 19:07:40 UTC (rev 
21926)
@@ -299,7 +299,7 @@
                                         *message,
                                         struct GSF_PendingRequest **prptr)
 {
-  static GNUNET_HashCode all_zeros;
+  static struct GNUNET_HashCode all_zeros;
   const struct SearchMessage *sm;
   struct GSF_LocalClient *lc;
   struct ClientRequest *cr;
@@ -311,7 +311,7 @@
 
   msize = ntohs (message->size);
   if ((msize < sizeof (struct SearchMessage)) ||
-      (0 != (msize - sizeof (struct SearchMessage)) % sizeof 
(GNUNET_HashCode)))
+      (0 != (msize - sizeof (struct SearchMessage)) % sizeof (struct 
GNUNET_HashCode)))
   {
     GNUNET_break (0);
     *prptr = NULL;
@@ -320,7 +320,7 @@
   GNUNET_STATISTICS_update (GSF_stats,
                             gettext_noop ("# client searches received"), 1,
                             GNUNET_NO);
-  sc = (msize - sizeof (struct SearchMessage)) / sizeof (GNUNET_HashCode);
+  sc = (msize - sizeof (struct SearchMessage)) / sizeof (struct 
GNUNET_HashCode);
   sm = (const struct SearchMessage *) message;
   type = ntohl (sm->type);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -340,7 +340,7 @@
         (SEARCH_MESSAGE_OPTION_CONTINUED was always set) and that have a
         matching query and type */
       if ((GNUNET_YES != prd->has_started) &&
-         (0 != memcmp (&prd->query, &sm->query, sizeof (GNUNET_HashCode))) &&
+         (0 != memcmp (&prd->query, &sm->query, sizeof (struct 
GNUNET_HashCode))) &&
           (prd->type == type))
         break;
       cr = cr->next;
@@ -350,7 +350,7 @@
   {
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                 "Have existing request, merging content-seen lists.\n");
-    GSF_pending_request_update_ (cr->pr, (const GNUNET_HashCode *) &sm[1], sc);
+    GSF_pending_request_update_ (cr->pr, (const struct GNUNET_HashCode *) 
&sm[1], sc);
     GNUNET_STATISTICS_update (GSF_stats,
                               gettext_noop
                               ("# client searches updated (merged content seen 
list)"),
@@ -371,7 +371,7 @@
                                           : NULL,
                                           (0 !=
                                            memcmp (&sm->target, &all_zeros,
-                                                   sizeof (GNUNET_HashCode)))
+                                                   sizeof (struct 
GNUNET_HashCode)))
                                           ? (const struct GNUNET_PeerIdentity 
*)
                                           &sm->target : NULL, NULL, 0,
                                           0 /* bf */ ,
@@ -380,7 +380,7 @@
                                           0 /* ttl */ ,
                                           0 /* sender PID */ ,
                                           0 /* origin PID */ ,
-                                          (const GNUNET_HashCode *) &sm[1], sc,
+                                          (const struct GNUNET_HashCode *) 
&sm[1], sc,
                                           &client_response_handler, cr);
   }
   *prptr = cr->pr;

Modified: gnunet/src/fs/gnunet-service-fs_pe.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_pe.c        2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/fs/gnunet-service-fs_pe.c        2012-06-12 19:07:40 UTC (rev 
21926)
@@ -224,7 +224,7 @@
  * @param rp a request plan
  * @return the associated query
  */
-static const GNUNET_HashCode *
+static const struct GNUNET_HashCode *
 get_rp_key (struct GSF_RequestPlan *rp)
 {
   return &GSF_pending_request_get_data_ (rp->prl_head->pr)->query;
@@ -512,7 +512,7 @@
  *         GNUNET_NO if not (merge success)
  */
 static int
-merge_pr (void *cls, const GNUNET_HashCode * query, void *element)
+merge_pr (void *cls, const struct GNUNET_HashCode * query, void *element)
 {
   struct MergeContext *mpr = cls;
   struct GSF_RequestPlan *rp = element;

Modified: gnunet/src/fs/gnunet-service-fs_pr.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_pr.c        2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/fs/gnunet-service-fs_pr.c        2012-06-12 19:07:40 UTC (rev 
21926)
@@ -74,7 +74,7 @@
   /**
    * Array of hash codes of replies we've already seen.
    */
-  GNUNET_HashCode *replies_seen;
+  struct GNUNET_HashCode *replies_seen;
 
   /**
    * Bloomfilter masking replies we've already seen.
@@ -263,15 +263,15 @@
 struct GSF_PendingRequest *
 GSF_pending_request_create_ (enum GSF_PendingRequestOptions options,
                              enum GNUNET_BLOCK_Type type,
-                             const GNUNET_HashCode * query,
-                             const GNUNET_HashCode * namespace,
+                             const struct GNUNET_HashCode * query,
+                             const struct GNUNET_HashCode * namespace,
                              const struct GNUNET_PeerIdentity *target,
                              const char *bf_data, size_t bf_size,
                              uint32_t mingle, uint32_t anonymity_level,
                              uint32_t priority, int32_t ttl,
                              GNUNET_PEER_Id sender_pid,
                              GNUNET_PEER_Id origin_pid,
-                             const GNUNET_HashCode * replies_seen,
+                             const struct GNUNET_HashCode * replies_seen,
                              unsigned int replies_seen_count,
                              GSF_PendingRequestReplyHandler rh, void *rh_cls)
 {
@@ -324,9 +324,9 @@
   {
     pr->replies_seen_size = replies_seen_count;
     pr->replies_seen =
-        GNUNET_malloc (sizeof (GNUNET_HashCode) * pr->replies_seen_size);
+        GNUNET_malloc (sizeof (struct GNUNET_HashCode) * 
pr->replies_seen_size);
     memcpy (pr->replies_seen, replies_seen,
-            replies_seen_count * sizeof (GNUNET_HashCode));
+            replies_seen_count * sizeof (struct GNUNET_HashCode));
     pr->replies_seen_count = replies_seen_count;
   }
   if (NULL != bf_data)
@@ -398,11 +398,11 @@
   if ((pra->public_data.type != prb->public_data.type) ||
       (0 !=
        memcmp (&pra->public_data.query, &prb->public_data.query,
-               sizeof (GNUNET_HashCode))) ||
+               sizeof (struct GNUNET_HashCode))) ||
       ((pra->public_data.type == GNUNET_BLOCK_TYPE_FS_SBLOCK) &&
        (0 !=
         memcmp (&pra->public_data.namespace, &prb->public_data.namespace,
-                sizeof (GNUNET_HashCode)))))
+                sizeof (struct GNUNET_HashCode)))))
     return GNUNET_NO;
   return GNUNET_OK;
 }
@@ -419,11 +419,11 @@
  */
 void
 GSF_pending_request_update_ (struct GSF_PendingRequest *pr,
-                             const GNUNET_HashCode * replies_seen,
+                             const struct GNUNET_HashCode * replies_seen,
                              unsigned int replies_seen_count)
 {
   unsigned int i;
-  GNUNET_HashCode mhash;
+  struct GNUNET_HashCode mhash;
 
   if (replies_seen_count + pr->replies_seen_count < pr->replies_seen_count)
     return;                     /* integer overflow */
@@ -434,7 +434,7 @@
       GNUNET_array_grow (pr->replies_seen, pr->replies_seen_size,
                          replies_seen_count + pr->replies_seen_count);
     memcpy (&pr->replies_seen[pr->replies_seen_count], replies_seen,
-            sizeof (GNUNET_HashCode) * replies_seen_count);
+            sizeof (struct GNUNET_HashCode) * replies_seen_count);
     pr->replies_seen_count += replies_seen_count;
     refresh_bloomfilter (pr);
   }
@@ -477,7 +477,7 @@
 {
   char lbuf[GNUNET_SERVER_MAX_MESSAGE_SIZE];
   struct GetMessage *gm;
-  GNUNET_HashCode *ext;
+  struct GNUNET_HashCode *ext;
   size_t msize;
   unsigned int k;
   uint32_t bm;
@@ -515,7 +515,7 @@
     k++;
   }
   bf_size = GNUNET_CONTAINER_bloomfilter_get_size (pr->bf);
-  msize = sizeof (struct GetMessage) + bf_size + k * sizeof (GNUNET_HashCode);
+  msize = sizeof (struct GetMessage) + bf_size + k * sizeof (struct 
GNUNET_HashCode);
   GNUNET_assert (msize < GNUNET_SERVER_MAX_MESSAGE_SIZE);
   if (buf_size < msize)
     return msize;
@@ -537,13 +537,13 @@
   gm->filter_mutator = htonl (pr->mingle);
   gm->hash_bitmap = htonl (bm);
   gm->query = pr->public_data.query;
-  ext = (GNUNET_HashCode *) & gm[1];
+  ext = (struct GNUNET_HashCode *) & gm[1];
   k = 0;
   if (!do_route)
     GNUNET_PEER_resolve (pr->sender_pid,
                          (struct GNUNET_PeerIdentity *) &ext[k++]);
   if (GNUNET_BLOCK_TYPE_FS_SBLOCK == pr->public_data.type)
-    memcpy (&ext[k++], &pr->public_data.namespace, sizeof (GNUNET_HashCode));
+    memcpy (&ext[k++], &pr->public_data.namespace, sizeof (struct 
GNUNET_HashCode));
   if (GNUNET_YES == pr->public_data.has_target)
     ext[k++] = pr->public_data.target.hashPubKey;
   if (pr->bf != NULL)
@@ -565,7 +565,7 @@
  * @return GNUNET_YES (we should continue to iterate)
  */
 static int
-clean_request (void *cls, const GNUNET_HashCode * key, void *value)
+clean_request (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct GSF_PendingRequest *pr = value;
   GSF_LocalLookupContinuation cont;
@@ -763,11 +763,11 @@
  * @return GNUNET_YES (we should continue to iterate)
  */
 static int
-process_reply (void *cls, const GNUNET_HashCode * key, void *value)
+process_reply (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct ProcessReplyClosure *prq = cls;
   struct GSF_PendingRequest *pr = value;
-  GNUNET_HashCode chash;
+  struct GNUNET_HashCode chash;
   struct GNUNET_TIME_Absolute last_transmission;
 
   if (NULL == pr->rh)
@@ -783,7 +783,7 @@
                              &pr->public_data.namespace,
                              (prq->type ==
                               GNUNET_BLOCK_TYPE_FS_SBLOCK) ?
-                             sizeof (GNUNET_HashCode) : 0, prq->data,
+                             sizeof (struct GNUNET_HashCode) : 0, prq->data,
                              prq->size);
   switch (prq->eval)
   {
@@ -1000,7 +1000,7 @@
  */
 static void
 handle_dht_reply (void *cls, struct GNUNET_TIME_Absolute exp,
-                  const GNUNET_HashCode * key,
+                  const struct GNUNET_HashCode * key,
                   const struct GNUNET_PeerIdentity *get_path,
                   unsigned int get_path_length,
                   const struct GNUNET_PeerIdentity *put_path,
@@ -1057,7 +1057,7 @@
   const void *xquery;
   size_t xquery_size;
   struct GNUNET_PeerIdentity pi;
-  char buf[sizeof (GNUNET_HashCode) * 2] GNUNET_ALIGN;
+  char buf[sizeof (struct GNUNET_HashCode) * 2] GNUNET_ALIGN;
 
   if (0 != pr->public_data.anonymity_level)
     return;
@@ -1071,8 +1071,8 @@
   if (GNUNET_BLOCK_TYPE_FS_SBLOCK == pr->public_data.type)
   {
     xquery = buf;
-    memcpy (buf, &pr->public_data.namespace, sizeof (GNUNET_HashCode));
-    xquery_size = sizeof (GNUNET_HashCode);
+    memcpy (buf, &pr->public_data.namespace, sizeof (struct GNUNET_HashCode));
+    xquery_size = sizeof (struct GNUNET_HashCode);
   }
   if (0 != (pr->public_data.options & GSF_PRO_FORWARD_ONLY))
   {
@@ -1151,7 +1151,7 @@
  *        maybe 0 if no unique identifier is available
  */
 static void
-process_local_reply (void *cls, const GNUNET_HashCode * key, size_t size,
+process_local_reply (void *cls, const struct GNUNET_HashCode * key, size_t 
size,
                      const void *data, enum GNUNET_BLOCK_Type type,
                      uint32_t priority, uint32_t anonymity,
                      struct GNUNET_TIME_Absolute expiration, uint64_t uid)
@@ -1159,7 +1159,7 @@
   struct GSF_PendingRequest *pr = cls;
   GSF_LocalLookupContinuation cont;
   struct ProcessReplyClosure prq;
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
   unsigned int old_rf;
 
   GNUNET_SCHEDULER_cancel (pr->warn_task);
@@ -1477,7 +1477,7 @@
   size_t dsize;
   enum GNUNET_BLOCK_Type type;
   struct GNUNET_TIME_Absolute expiration;
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
   struct ProcessReplyClosure prq;
   struct GNUNET_TIME_Relative block_time;
   double putl;

Modified: gnunet/src/fs/gnunet-service-fs_pr.h
===================================================================
--- gnunet/src/fs/gnunet-service-fs_pr.h        2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/fs/gnunet-service-fs_pr.h        2012-06-12 19:07:40 UTC (rev 
21926)
@@ -84,12 +84,12 @@
   /**
    * Primary query hash for this request.
    */
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
 
   /**
    * Namespace to query, only set if the type is SBLOCK.
    */
-  GNUNET_HashCode namespace;
+  struct GNUNET_HashCode namespace;
 
   /**
    * Identity of a peer hosting the content, only set if
@@ -220,15 +220,15 @@
 struct GSF_PendingRequest *
 GSF_pending_request_create_ (enum GSF_PendingRequestOptions options,
                              enum GNUNET_BLOCK_Type type,
-                             const GNUNET_HashCode * query,
-                             const GNUNET_HashCode * namespace,
+                             const struct GNUNET_HashCode * query,
+                             const struct GNUNET_HashCode * namespace,
                              const struct GNUNET_PeerIdentity *target,
                              const char *bf_data, size_t bf_size,
                              uint32_t mingle, uint32_t anonymity_level,
                              uint32_t priority, int32_t ttl,
                              GNUNET_PEER_Id sender_pid,
                              GNUNET_PEER_Id origin_pid,
-                             const GNUNET_HashCode * replies_seen,
+                             const struct GNUNET_HashCode * replies_seen,
                              unsigned int replies_seen_count,
                              GSF_PendingRequestReplyHandler rh, void *rh_cls);
 
@@ -243,7 +243,7 @@
  */
 void
 GSF_pending_request_update_ (struct GSF_PendingRequest *pr,
-                             const GNUNET_HashCode * replies_seen,
+                             const struct GNUNET_HashCode * replies_seen,
                              unsigned int replies_seen_count);
 
 
@@ -305,7 +305,7 @@
  * @return GNUNET_YES to continue to iterate
  */
 typedef int (*GSF_PendingRequestIterator) (void *cls,
-                                           const GNUNET_HashCode * key,
+                                           const struct GNUNET_HashCode * key,
                                            struct GSF_PendingRequest * pr);
 
 

Modified: gnunet/src/fs/gnunet-service-fs_push.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_push.c      2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/fs/gnunet-service-fs_push.c      2012-06-12 19:07:40 UTC (rev 
21926)
@@ -71,7 +71,7 @@
   /**
    * Query for the block.
    */
-  GNUNET_HashCode query;
+  struct GNUNET_HashCode query;
 
   /**
    * When does this block expire?
@@ -467,7 +467,7 @@
  *        maybe 0 if no unique identifier is available
  */
 static void
-process_migration_content (void *cls, const GNUNET_HashCode * key, size_t size,
+process_migration_content (void *cls, const struct GNUNET_HashCode * key, 
size_t size,
                            const void *data, enum GNUNET_BLOCK_Type type,
                            uint32_t priority, uint32_t anonymity,
                            struct GNUNET_TIME_Absolute expiration, uint64_t 
uid)

Modified: gnunet/src/fs/gnunet-service-fs_put.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_put.c       2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/fs/gnunet-service-fs_put.c       2012-06-12 19:07:40 UTC (rev 
21926)
@@ -180,7 +180,7 @@
  *        maybe 0 if no unique identifier is available
  */
 static void
-process_dht_put_content (void *cls, const GNUNET_HashCode * key, size_t size,
+process_dht_put_content (void *cls, const struct GNUNET_HashCode * key, size_t 
size,
                          const void *data, enum GNUNET_BLOCK_Type type,
                          uint32_t priority, uint32_t anonymity,
                          struct GNUNET_TIME_Absolute expiration, uint64_t uid)

Modified: gnunet/src/fs/plugin_block_fs.c
===================================================================
--- gnunet/src/fs/plugin_block_fs.c     2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/plugin_block_fs.c     2012-06-12 19:07:40 UTC (rev 21926)
@@ -57,17 +57,17 @@
  */
 static enum GNUNET_BLOCK_EvaluationResult
 block_plugin_fs_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
-                          const GNUNET_HashCode * query,
+                          const struct GNUNET_HashCode * query,
                           struct GNUNET_CONTAINER_BloomFilter **bf,
                           int32_t bf_mutator, const void *xquery,
                           size_t xquery_size, const void *reply_block,
                           size_t reply_block_size)
 {
   const struct SBlock *sb;
-  GNUNET_HashCode chash;
-  GNUNET_HashCode mhash;
-  const GNUNET_HashCode *nsid;
-  GNUNET_HashCode sh;
+  struct GNUNET_HashCode chash;
+  struct GNUNET_HashCode mhash;
+  const struct GNUNET_HashCode *nsid;
+  struct GNUNET_HashCode sh;
 
   switch (type)
   {
@@ -107,7 +107,7 @@
     }
     return GNUNET_BLOCK_EVALUATION_OK_MORE;
   case GNUNET_BLOCK_TYPE_FS_SBLOCK:
-    if (xquery_size != sizeof (GNUNET_HashCode))
+    if (xquery_size != sizeof (struct GNUNET_HashCode))
     {
       GNUNET_break_op (0);
       return GNUNET_BLOCK_EVALUATION_REQUEST_INVALID;
@@ -124,7 +124,7 @@
     GNUNET_CRYPTO_hash (&sb->subspace,
                         sizeof (struct 
GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded),
                         &sh);
-    if (0 != memcmp (nsid, &sh, sizeof (GNUNET_HashCode)))
+    if (0 != memcmp (nsid, &sh, sizeof (struct GNUNET_HashCode)))
     {
       GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "block-fs",
                        _
@@ -167,7 +167,7 @@
 static int
 block_plugin_fs_get_key (void *cls, enum GNUNET_BLOCK_Type type,
                          const void *block, size_t block_size,
-                         GNUNET_HashCode * key)
+                         struct GNUNET_HashCode * key)
 {
   const struct KBlock *kb;
   const struct SBlock *sb;

Modified: gnunet/src/fs/test_fs_namespace.c
===================================================================
--- gnunet/src/fs/test_fs_namespace.c   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/fs/test_fs_namespace.c   2012-06-12 19:07:40 UTC (rev 21926)
@@ -34,7 +34,7 @@
 
 static struct PeerContext p1;
 
-static GNUNET_HashCode nsid;
+static struct GNUNET_HashCode nsid;
 
 static struct GNUNET_FS_Uri *sks_expect_uri;
 
@@ -314,7 +314,7 @@
 
 
 static void
-ns_iterator (void *cls, const char *name, const GNUNET_HashCode * id)
+ns_iterator (void *cls, const char *name, const struct GNUNET_HashCode * id)
 {
   int *ok = cls;
 

Modified: gnunet/src/gns/gnunet-service-gns.c
===================================================================
--- gnunet/src/gns/gnunet-service-gns.c 2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/gns/gnunet-service-gns.c 2012-06-12 19:07:40 UTC (rev 21926)
@@ -259,9 +259,9 @@
   struct GNSNameRecordBlock *nrb;
   struct GNUNET_CRYPTO_ShortHashCode name_hash;
   struct GNUNET_CRYPTO_ShortHashCode zhash;
-  GNUNET_HashCode xor_hash;
-  GNUNET_HashCode name_hash_double;
-  GNUNET_HashCode zone_hash_double;
+  struct GNUNET_HashCode xor_hash;
+  struct GNUNET_HashCode name_hash_double;
+  struct GNUNET_HashCode zone_hash_double;
   uint32_t rd_payload_length;
   char* nrb_data = NULL;
   size_t namelen;

Modified: gnunet/src/gns/gnunet-service-gns_resolver.c
===================================================================
--- gnunet/src/gns/gnunet-service-gns_resolver.c        2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/gns/gnunet-service-gns_resolver.c        2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -242,7 +242,7 @@
 static void
 process_auth_discovery_dht_result(void* cls,
                                   struct GNUNET_TIME_Absolute exp,
-                                  const GNUNET_HashCode * key,
+                                  const struct GNUNET_HashCode * key,
                                   const struct GNUNET_PeerIdentity *get_path,
                                   unsigned int get_path_length,
                                   const struct GNUNET_PeerIdentity *put_path,
@@ -327,10 +327,10 @@
 {
   uint32_t xquery;
   struct GNUNET_CRYPTO_ShortHashCode name_hash;
-  GNUNET_HashCode lookup_key;
+  struct GNUNET_HashCode lookup_key;
   struct GNUNET_CRYPTO_HashAsciiEncoded lookup_key_string;
-  GNUNET_HashCode name_hash_double;
-  GNUNET_HashCode zone_hash_double;
+  struct GNUNET_HashCode name_hash_double;
+  struct GNUNET_HashCode zone_hash_double;
   int i;
   struct GetPseuAuthorityHandle* gph = (struct GetPseuAuthorityHandle*)cls;
   
@@ -692,7 +692,7 @@
 static void
 process_record_result_dht(void* cls,
                  struct GNUNET_TIME_Absolute exp,
-                 const GNUNET_HashCode * key,
+                 const struct GNUNET_HashCode * key,
                  const struct GNUNET_PeerIdentity *get_path,
                  unsigned int get_path_length,
                  const struct GNUNET_PeerIdentity *put_path,
@@ -817,9 +817,9 @@
 {
   uint32_t xquery;
   struct GNUNET_CRYPTO_ShortHashCode name_hash;
-  GNUNET_HashCode lookup_key;
-  GNUNET_HashCode name_hash_double;
-  GNUNET_HashCode zone_hash_double;
+  struct GNUNET_HashCode lookup_key;
+  struct GNUNET_HashCode name_hash_double;
+  struct GNUNET_HashCode zone_hash_double;
   struct GNUNET_CRYPTO_HashAsciiEncoded lookup_key_string;
   struct RecordLookupHandle *rlh = (struct RecordLookupHandle *)rh->proc_cls;
   struct ResolverHandle *rh_heap_root;
@@ -1158,7 +1158,7 @@
 static void
 process_delegation_result_dht(void* cls,
                  struct GNUNET_TIME_Absolute exp,
-                 const GNUNET_HashCode * key,
+                 const struct GNUNET_HashCode * key,
                  const struct GNUNET_PeerIdentity *get_path,
                  unsigned int get_path_length,
                  const struct GNUNET_PeerIdentity *put_path,
@@ -1174,7 +1174,7 @@
   int i;
   int rd_size;
   struct GNUNET_CRYPTO_ShortHashCode zone, name_hash;
-  GNUNET_HashCode zone_hash_double, name_hash_double;
+  struct GNUNET_HashCode zone_hash_double, name_hash_double;
 
   rh = (struct ResolverHandle *)cls;
   
@@ -1692,9 +1692,9 @@
 {
   uint32_t xquery;
   struct GNUNET_CRYPTO_ShortHashCode name_hash;
-  GNUNET_HashCode name_hash_double;
-  GNUNET_HashCode zone_hash_double;
-  GNUNET_HashCode lookup_key;
+  struct GNUNET_HashCode name_hash_double;
+  struct GNUNET_HashCode zone_hash_double;
+  struct GNUNET_HashCode lookup_key;
   struct ResolverHandle *rh_heap_root;
   
   pop_tld(rh->name, rh->authority_name); 

Modified: gnunet/src/gns/plugin_block_gns.c
===================================================================
--- gnunet/src/gns/plugin_block_gns.c   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/gns/plugin_block_gns.c   2012-06-12 19:07:40 UTC (rev 21926)
@@ -56,18 +56,18 @@
  */
 static enum GNUNET_BLOCK_EvaluationResult
 block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
-                          const GNUNET_HashCode * query,
+                          const struct GNUNET_HashCode * query,
                           struct GNUNET_CONTAINER_BloomFilter **bf,
                           int32_t bf_mutator, const void *xquery,
                           size_t xquery_size, const void *reply_block,
                           size_t reply_block_size)
 {
   char* name;
-  GNUNET_HashCode pkey_hash_double;
-  GNUNET_HashCode query_key;
-  GNUNET_HashCode name_hash_double;
-  GNUNET_HashCode mhash;
-  GNUNET_HashCode chash;
+  struct GNUNET_HashCode pkey_hash_double;
+  struct GNUNET_HashCode query_key;
+  struct GNUNET_HashCode name_hash_double;
+  struct GNUNET_HashCode mhash;
+  struct GNUNET_HashCode chash;
   struct GNUNET_CRYPTO_ShortHashCode pkey_hash;
   struct GNUNET_CRYPTO_ShortHashCode name_hash;
   struct GNSNameRecordBlock *nrb;
@@ -218,14 +218,14 @@
 static int
 block_plugin_gns_get_key (void *cls, enum GNUNET_BLOCK_Type type,
                          const void *block, size_t block_size,
-                         GNUNET_HashCode * key)
+                         struct GNUNET_HashCode * key)
 {
   if (type != GNUNET_BLOCK_TYPE_GNS_NAMERECORD)
     return GNUNET_SYSERR;
   struct GNUNET_CRYPTO_ShortHashCode name_hash;
   struct GNUNET_CRYPTO_ShortHashCode pkey_hash;
-  GNUNET_HashCode name_hash_double;
-  GNUNET_HashCode pkey_hash_double;
+  struct GNUNET_HashCode name_hash_double;
+  struct GNUNET_HashCode pkey_hash_double;
 
   struct GNSNameRecordBlock *nrb = (struct GNSNameRecordBlock *)block;
 

Modified: gnunet/src/gns/test_gns_dht_delegated_lookup.c
===================================================================
--- gnunet/src/gns/test_gns_dht_delegated_lookup.c      2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/gns/test_gns_dht_delegated_lookup.c      2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -202,9 +202,9 @@
   struct GNSNameRecordBlock *nrb;
   struct GNUNET_CRYPTO_ShortHashCode name_hash;
   struct GNUNET_CRYPTO_ShortHashCode zone_hash;
-  GNUNET_HashCode xor_hash;
-  GNUNET_HashCode name_hash_double;
-  GNUNET_HashCode zone_hash_double;
+  struct GNUNET_HashCode xor_hash;
+  struct GNUNET_HashCode name_hash_double;
+  struct GNUNET_HashCode zone_hash_double;
   uint32_t rd_payload_length;
   char* nrb_data = NULL;
   struct GNUNET_CRYPTO_RsaSignature *sig;

Modified: gnunet/src/gns/test_gns_pseu_shorten.c
===================================================================
--- gnunet/src/gns/test_gns_pseu_shorten.c      2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/gns/test_gns_pseu_shorten.c      2012-06-12 19:07:40 UTC (rev 
21926)
@@ -270,9 +270,9 @@
   struct GNSNameRecordBlock *nrb;
   struct GNUNET_CRYPTO_ShortHashCode name_hash;
   struct GNUNET_CRYPTO_ShortHashCode zone_hash;
-  GNUNET_HashCode xor_hash;
-  GNUNET_HashCode name_hash_double;
-  GNUNET_HashCode zone_hash_double;
+  struct GNUNET_HashCode xor_hash;
+  struct GNUNET_HashCode name_hash_double;
+  struct GNUNET_HashCode zone_hash_double;
   uint32_t rd_payload_length;
   char* nrb_data = NULL;
   struct GNUNET_CRYPTO_RsaSignature *sig;
@@ -348,9 +348,9 @@
   struct GNSNameRecordBlock *nrb;
   struct GNUNET_CRYPTO_ShortHashCode name_hash;
   struct GNUNET_CRYPTO_ShortHashCode zone_hash;
-  GNUNET_HashCode xor_hash;
-  GNUNET_HashCode name_hash_double;
-  GNUNET_HashCode zone_hash_double;
+  struct GNUNET_HashCode xor_hash;
+  struct GNUNET_HashCode name_hash_double;
+  struct GNUNET_HashCode zone_hash_double;
   uint32_t rd_payload_length;
   char* nrb_data = NULL;
   struct GNUNET_CRYPTO_RsaSignature *sig;
@@ -428,9 +428,9 @@
   struct GNSNameRecordBlock *nrb;
   struct GNUNET_CRYPTO_ShortHashCode name_hash;
   struct GNUNET_CRYPTO_ShortHashCode zone_hash;
-  GNUNET_HashCode xor_hash;
-  GNUNET_HashCode name_hash_double;
-  GNUNET_HashCode zone_hash_double;
+  struct GNUNET_HashCode xor_hash;
+  struct GNUNET_HashCode name_hash_double;
+  struct GNUNET_HashCode zone_hash_double;
   uint32_t rd_payload_length;
   char* nrb_data = NULL;
   struct GNUNET_CRYPTO_RsaSignature *sig;

Modified: gnunet/src/include/block_dns.h
===================================================================
--- gnunet/src/include/block_dns.h      2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/include/block_dns.h      2012-06-12 19:07:40 UTC (rev 21926)
@@ -64,7 +64,7 @@
    * The descriptor for the service
    * (a peer may provide more than one service)
    */
-  GNUNET_HashCode service_descriptor;
+  struct GNUNET_HashCode service_descriptor;
 
   /**
    * When does this record expire?

Modified: gnunet/src/include/block_fs.h
===================================================================
--- gnunet/src/include/block_fs.h       2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/include/block_fs.h       2012-06-12 19:07:40 UTC (rev 21926)
@@ -78,7 +78,7 @@
    * used as the key for decryption; the xor of this identifier
    * and the hash of the "keyspace" is the datastore-query hash).
    */
-  GNUNET_HashCode identifier;
+  struct GNUNET_HashCode identifier;
 
   /**
    * Public key of the namespace.
@@ -153,7 +153,7 @@
    * file that was indexed (used to uniquely
    * identify the plaintext file).
    */
-  GNUNET_HashCode file_id;
+  struct GNUNET_HashCode file_id;
 
   /**
    * At which offset should we be able to find

Modified: gnunet/src/include/gnunet_block_lib.h
===================================================================
--- gnunet/src/include/gnunet_block_lib.h       2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_block_lib.h       2012-06-12 19:07:40 UTC (rev 
21926)
@@ -160,8 +160,8 @@
  * @param hc where to store the result.
  */
 void
-GNUNET_BLOCK_mingle_hash (const GNUNET_HashCode * in, uint32_t mingle_number,
-                          GNUNET_HashCode * hc);
+GNUNET_BLOCK_mingle_hash (const struct GNUNET_HashCode * in, uint32_t 
mingle_number,
+                          struct GNUNET_HashCode * hc);
 
 
 /**
@@ -204,7 +204,7 @@
 enum GNUNET_BLOCK_EvaluationResult
 GNUNET_BLOCK_evaluate (struct GNUNET_BLOCK_Context *ctx,
                        enum GNUNET_BLOCK_Type type,
-                       const GNUNET_HashCode * query,
+                       const struct GNUNET_HashCode * query,
                        struct GNUNET_CONTAINER_BloomFilter **bf,
                        int32_t bf_mutator, const void *xquery,
                        size_t xquery_size, const void *reply_block,
@@ -227,7 +227,7 @@
 int
 GNUNET_BLOCK_get_key (struct GNUNET_BLOCK_Context *ctx,
                       enum GNUNET_BLOCK_Type type, const void *block,
-                      size_t block_size, GNUNET_HashCode * key);
+                      size_t block_size, struct GNUNET_HashCode * key);
 
 
 
@@ -243,7 +243,7 @@
  */
 struct GNUNET_CONTAINER_BloomFilter *
 GNUNET_BLOCK_construct_bloomfilter (int32_t bf_mutator,
-                                    const GNUNET_HashCode * seen_results,
+                                    const struct GNUNET_HashCode * 
seen_results,
                                     unsigned int seen_results_count);
 
 

Modified: gnunet/src/include/gnunet_block_plugin.h
===================================================================
--- gnunet/src/include/gnunet_block_plugin.h    2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_block_plugin.h    2012-06-12 19:07:40 UTC (rev 
21926)
@@ -56,7 +56,7 @@
                                                                       
GNUNET_BLOCK_Type
                                                                       type,
                                                                       const
-                                                                      
GNUNET_HashCode
+                                                                      struct 
GNUNET_HashCode
                                                                       * query,
                                                                       struct
                                                                       
GNUNET_CONTAINER_BloomFilter
@@ -90,7 +90,7 @@
                                             enum GNUNET_BLOCK_Type type,
                                             const void *block,
                                             size_t block_size,
-                                            GNUNET_HashCode * key);
+                                            struct GNUNET_HashCode * key);
 
 
 

Modified: gnunet/src/include/gnunet_chat_service.h
===================================================================
--- gnunet/src/include/gnunet_chat_service.h    2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_chat_service.h    2012-06-12 19:07:40 UTC (rev 
21926)
@@ -111,7 +111,7 @@
  */
 typedef int (*GNUNET_CHAT_MessageCallback) (void *cls,
                                             struct GNUNET_CHAT_Room * room,
-                                            const GNUNET_HashCode * sender,
+                                            const struct GNUNET_HashCode * 
sender,
                                             const struct
                                             GNUNET_CONTAINER_MetaData *
                                             member_info, const char *message,
@@ -156,7 +156,7 @@
                                                 uint32_t orig_seq_number,
                                                 struct GNUNET_TIME_Absolute
                                                 timestamp,
-                                                const GNUNET_HashCode *
+                                                const struct GNUNET_HashCode *
                                                 receiver);
 
 /**
@@ -195,7 +195,7 @@
                        GNUNET_CHAT_MemberListCallback memberCallback,
                        void *member_cls,
                        GNUNET_CHAT_MessageConfirmation confirmationCallback,
-                       void *confirmation_cls, GNUNET_HashCode * me);
+                       void *confirmation_cls, struct GNUNET_HashCode * me);
 
 /**
  * Send a message.

Modified: gnunet/src/include/gnunet_common.h
===================================================================
--- gnunet/src/include/gnunet_common.h  2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/include/gnunet_common.h  2012-06-12 19:07:40 UTC (rev 21926)
@@ -224,11 +224,10 @@
 /**
  * @brief 512-bit hashcode
  */
-typedef struct GNUNET_HashCode
+struct GNUNET_HashCode
 {
   uint32_t bits[512 / 8 / sizeof (uint32_t)];   /* = 16 */
-}
-GNUNET_HashCode;
+};
 
 
 /**
@@ -237,7 +236,7 @@
  */
 struct GNUNET_PeerIdentity
 {
-  GNUNET_HashCode hashPubKey;
+  struct GNUNET_HashCode hashPubKey;
 };
 GNUNET_NETWORK_STRUCT_END
 
@@ -428,7 +427,7 @@
  * @return string
  */
 const char *
-GNUNET_h2s (const GNUNET_HashCode * hc);
+GNUNET_h2s (const struct GNUNET_HashCode * hc);
 
 
 /**
@@ -441,7 +440,7 @@
  * @return string
  */
 const char *
-GNUNET_h2s_full (const GNUNET_HashCode * hc);
+GNUNET_h2s_full (const struct GNUNET_HashCode * hc);
 
 
 /**

Modified: gnunet/src/include/gnunet_constants.h
===================================================================
--- gnunet/src/include/gnunet_constants.h       2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_constants.h       2012-06-12 19:07:40 UTC (rev 
21926)
@@ -116,7 +116,7 @@
  * Size of the 'struct EncryptedMessage' of the core (which
  * is the per-message overhead of the core).
  */
-#define GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE (24 + sizeof 
(GNUNET_HashCode))
+#define GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE (24 + sizeof (struct 
GNUNET_HashCode))
 
 /**
  * Size of the 'struct OutboundMessage' of the transport

Modified: gnunet/src/include/gnunet_container_lib.h
===================================================================
--- gnunet/src/include/gnunet_container_lib.h   2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_container_lib.h   2012-06-12 19:07:40 UTC (rev 
21926)
@@ -62,7 +62,7 @@
  * @return GNUNET_YES if next was updated
  *         GNUNET_NO if there are no more entries
  */
-typedef int (*GNUNET_HashCodeIterator) (void *cls, GNUNET_HashCode * next);
+typedef int (*GNUNET_HashCodeIterator) (void *cls, struct GNUNET_HashCode * 
next);
 
 
 /**
@@ -121,7 +121,7 @@
  */
 int
 GNUNET_CONTAINER_bloomfilter_test (const struct GNUNET_CONTAINER_BloomFilter
-                                   *bf, const GNUNET_HashCode * e);
+                                   *bf, const struct GNUNET_HashCode * e);
 
 
 /**
@@ -131,7 +131,7 @@
  */
 void
 GNUNET_CONTAINER_bloomfilter_add (struct GNUNET_CONTAINER_BloomFilter *bf,
-                                  const GNUNET_HashCode * e);
+                                  const struct GNUNET_HashCode * e);
 
 
 /**
@@ -141,7 +141,7 @@
  */
 void
 GNUNET_CONTAINER_bloomfilter_remove (struct GNUNET_CONTAINER_BloomFilter *bf,
-                                     const GNUNET_HashCode * e);
+                                     const struct GNUNET_HashCode * e);
 
 
 /**
@@ -534,7 +534,7 @@
  *         GNUNET_NO if not.
  */
 typedef int (*GNUNET_CONTAINER_HashMapIterator) (void *cls,
-                                                 const GNUNET_HashCode * key,
+                                                 const struct GNUNET_HashCode 
* key,
                                                  void *value);
 
 
@@ -571,7 +571,7 @@
  */
 void *
 GNUNET_CONTAINER_multihashmap_get (const struct GNUNET_CONTAINER_MultiHashMap
-                                   *map, const GNUNET_HashCode * key);
+                                   *map, const struct GNUNET_HashCode * key);
 
 
 /**
@@ -587,7 +587,7 @@
  */
 int
 GNUNET_CONTAINER_multihashmap_remove (struct GNUNET_CONTAINER_MultiHashMap 
*map,
-                                      const GNUNET_HashCode * key, void 
*value);
+                                      const struct GNUNET_HashCode * key, void 
*value);
 
 /**
  * Remove all entries for the given key from the map.
@@ -599,7 +599,7 @@
  */
 int
 GNUNET_CONTAINER_multihashmap_remove_all (struct GNUNET_CONTAINER_MultiHashMap
-                                          *map, const GNUNET_HashCode * key);
+                                          *map, const struct GNUNET_HashCode * 
key);
 
 
 /**
@@ -614,7 +614,7 @@
 int
 GNUNET_CONTAINER_multihashmap_contains (const struct
                                         GNUNET_CONTAINER_MultiHashMap *map,
-                                        const GNUNET_HashCode * key);
+                                        const struct GNUNET_HashCode * key);
 
 
 /**
@@ -630,7 +630,7 @@
 int
 GNUNET_CONTAINER_multihashmap_contains_value (const struct
                                               GNUNET_CONTAINER_MultiHashMap
-                                              *map, const GNUNET_HashCode * 
key,
+                                              *map, const struct 
GNUNET_HashCode * key,
                                               const void *value);
 
 
@@ -648,7 +648,7 @@
  */
 int
 GNUNET_CONTAINER_multihashmap_put (struct GNUNET_CONTAINER_MultiHashMap *map,
-                                   const GNUNET_HashCode * key, void *value,
+                                   const struct GNUNET_HashCode * key, void 
*value,
                                    enum GNUNET_CONTAINER_MultiHashMapOption
                                    opt);
 
@@ -692,7 +692,7 @@
 int
 GNUNET_CONTAINER_multihashmap_get_multiple (const struct
                                             GNUNET_CONTAINER_MultiHashMap *map,
-                                            const GNUNET_HashCode * key,
+                                            const struct GNUNET_HashCode * key,
                                             GNUNET_CONTAINER_HashMapIterator 
it,
                                             void *it_cls);
 

Modified: gnunet/src/include/gnunet_crypto_lib.h
===================================================================
--- gnunet/src/include/gnunet_crypto_lib.h      2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_crypto_lib.h      2012-06-12 19:07:40 UTC (rev 
21926)
@@ -129,7 +129,7 @@
 
 
 /**
- * @brief 0-terminated ASCII encoding of a GNUNET_HashCode.
+ * @brief 0-terminated ASCII encoding of a struct GNUNET_HashCode.
  */
 struct GNUNET_CRYPTO_HashAsciiEncoded
 {
@@ -251,7 +251,7 @@
  * @brief IV for sym cipher
  *
  * NOTE: must be smaller (!) in size than the
- * GNUNET_HashCode.
+ * struct GNUNET_HashCode.
  */
 struct GNUNET_CRYPTO_AesInitializationVector
 {
@@ -448,7 +448,7 @@
  *  safely cast to char*, a '\\0' termination is set).
  */
 void
-GNUNET_CRYPTO_hash_to_enc (const GNUNET_HashCode * block,
+GNUNET_CRYPTO_hash_to_enc (const struct GNUNET_HashCode * block,
                            struct GNUNET_CRYPTO_HashAsciiEncoded *result);
 
 
@@ -465,7 +465,7 @@
 
 
 /**
- * Convert ASCII encoding back to a 'GNUNET_HashCode'
+ * Convert ASCII encoding back to a 'struct GNUNET_HashCode'
  *
  * @param enc the encoding
  * @param enclen number of characters in 'enc' (without 0-terminator, which 
can be missing)
@@ -474,7 +474,7 @@
  */
 int
 GNUNET_CRYPTO_hash_from_string2 (const char *enc, size_t enclen,
-                                 GNUNET_HashCode * result);
+                                 struct GNUNET_HashCode * result);
 
 
 /**
@@ -491,7 +491,7 @@
 
 
 /**
- * Convert ASCII encoding back to GNUNET_HashCode
+ * Convert ASCII encoding back to struct GNUNET_HashCode
  *
  * @param enc the encoding
  * @param result where to store the hash code
@@ -536,8 +536,8 @@
  * @return number between 0 and UINT32_MAX
  */
 uint32_t
-GNUNET_CRYPTO_hash_distance_u32 (const GNUNET_HashCode * a,
-                                 const GNUNET_HashCode * b);
+GNUNET_CRYPTO_hash_distance_u32 (const struct GNUNET_HashCode * a,
+                                 const struct GNUNET_HashCode * b);
 
 
 /**
@@ -548,7 +548,7 @@
  * @param ret pointer to where to write the hashcode
  */
 void
-GNUNET_CRYPTO_hash (const void *block, size_t size, GNUNET_HashCode * ret);
+GNUNET_CRYPTO_hash (const void *block, size_t size, struct GNUNET_HashCode * 
ret);
 
 
 /**
@@ -598,7 +598,7 @@
 void
 GNUNET_CRYPTO_hmac (const struct GNUNET_CRYPTO_AuthKey *key,
                     const void *plaintext, size_t plaintext_len,
-                    GNUNET_HashCode * hmac);
+                    struct GNUNET_HashCode * hmac);
 
 
 /**
@@ -609,7 +609,7 @@
  * @param res resulting hash, NULL on error
  */
 typedef void (*GNUNET_CRYPTO_HashCompletedCallback) (void *cls,
-                                                     const GNUNET_HashCode *
+                                                     const struct 
GNUNET_HashCode *
                                                      res);
 
 
@@ -652,7 +652,7 @@
  */
 void
 GNUNET_CRYPTO_hash_create_random (enum GNUNET_CRYPTO_Quality mode,
-                                  GNUNET_HashCode * result);
+                                  struct GNUNET_HashCode * result);
 
 
 /**
@@ -663,9 +663,9 @@
  * @param result set to b - a
  */
 void
-GNUNET_CRYPTO_hash_difference (const GNUNET_HashCode * a,
-                               const GNUNET_HashCode * b,
-                               GNUNET_HashCode * result);
+GNUNET_CRYPTO_hash_difference (const struct GNUNET_HashCode * a,
+                               const struct GNUNET_HashCode * b,
+                               struct GNUNET_HashCode * result);
 
 
 /**
@@ -676,9 +676,9 @@
  * @param result set to a + delta
  */
 void
-GNUNET_CRYPTO_hash_sum (const GNUNET_HashCode * a,
-                        const GNUNET_HashCode * delta,
-                        GNUNET_HashCode * result);
+GNUNET_CRYPTO_hash_sum (const struct GNUNET_HashCode * a,
+                        const struct GNUNET_HashCode * delta,
+                        struct GNUNET_HashCode * result);
 
 
 /**
@@ -689,8 +689,8 @@
  * @param result set to a ^ b
  */
 void
-GNUNET_CRYPTO_hash_xor (const GNUNET_HashCode * a, const GNUNET_HashCode * b,
-                        GNUNET_HashCode * result);
+GNUNET_CRYPTO_hash_xor (const struct GNUNET_HashCode * a, const struct 
GNUNET_HashCode * b,
+                        struct GNUNET_HashCode * result);
 
 
 /**
@@ -701,7 +701,7 @@
  * @param iv set to a valid initialization vector
  */
 void
-GNUNET_CRYPTO_hash_to_aes_key (const GNUNET_HashCode * hc,
+GNUNET_CRYPTO_hash_to_aes_key (const struct GNUNET_HashCode * hc,
                                struct GNUNET_CRYPTO_AesSessionKey *skey,
                                struct GNUNET_CRYPTO_AesInitializationVector
                                *iv);
@@ -715,11 +715,11 @@
  * @return Bit \a bit from hashcode \a code, -1 for invalid index
  */
 int
-GNUNET_CRYPTO_hash_get_bit (const GNUNET_HashCode * code, unsigned int bit);
+GNUNET_CRYPTO_hash_get_bit (const struct GNUNET_HashCode * code, unsigned int 
bit);
 
 /**
  * Determine how many low order bits match in two
- * GNUNET_HashCodes.  i.e. - 010011 and 011111 share
+ * struct GNUNET_HashCodes.  i.e. - 010011 and 011111 share
  * the first two lowest order bits, and therefore the
  * return value is two (NOT XOR distance, nor how many
  * bits match absolutely!).
@@ -730,8 +730,8 @@
  * @return the number of bits that match
  */
 unsigned int
-GNUNET_CRYPTO_hash_matching_bits (const GNUNET_HashCode * first,
-                                  const GNUNET_HashCode * second);
+GNUNET_CRYPTO_hash_matching_bits (const struct GNUNET_HashCode * first,
+                                  const struct GNUNET_HashCode * second);
 
 
 /**
@@ -743,7 +743,7 @@
  * @return 1 if h1 > h2, -1 if h1 < h2 and 0 if h1 == h2.
  */
 int
-GNUNET_CRYPTO_hash_cmp (const GNUNET_HashCode * h1, const GNUNET_HashCode * 
h2);
+GNUNET_CRYPTO_hash_cmp (const struct GNUNET_HashCode * h1, const struct 
GNUNET_HashCode * h2);
 
 
 /**
@@ -756,9 +756,9 @@
  * @return -1 if h1 is closer, 1 if h2 is closer and 0 if h1==h2.
  */
 int
-GNUNET_CRYPTO_hash_xorcmp (const GNUNET_HashCode * h1,
-                           const GNUNET_HashCode * h2,
-                           const GNUNET_HashCode * target);
+GNUNET_CRYPTO_hash_xorcmp (const struct GNUNET_HashCode * h1,
+                           const struct GNUNET_HashCode * h2,
+                           const struct GNUNET_HashCode * target);
 
 
 /**
@@ -949,7 +949,7 @@
  * @return some private key purely dependent on input
  */
 struct GNUNET_CRYPTO_RsaPrivateKey *
-GNUNET_CRYPTO_rsa_key_create_from_hash (const GNUNET_HashCode * hc);
+GNUNET_CRYPTO_rsa_key_create_from_hash (const struct GNUNET_HashCode * hc);
 
 
 /**

Modified: gnunet/src/include/gnunet_datacache_lib.h
===================================================================
--- gnunet/src/include/gnunet_datacache_lib.h   2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_datacache_lib.h   2012-06-12 19:07:40 UTC (rev 
21926)
@@ -83,7 +83,7 @@
  */
 typedef int (*GNUNET_DATACACHE_Iterator) (void *cls,
                                           struct GNUNET_TIME_Absolute exp,
-                                          const GNUNET_HashCode * key,
+                                          const struct GNUNET_HashCode * key,
                                           size_t size, const char *data,
                                           enum GNUNET_BLOCK_Type type);
 
@@ -101,7 +101,7 @@
  */
 int
 GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h,
-                      const GNUNET_HashCode * key, size_t size,
+                      const struct GNUNET_HashCode * key, size_t size,
                       const char *data, enum GNUNET_BLOCK_Type type,
                       struct GNUNET_TIME_Absolute discard_time);
 
@@ -119,7 +119,7 @@
  */
 unsigned int
 GNUNET_DATACACHE_get (struct GNUNET_DATACACHE_Handle *h,
-                      const GNUNET_HashCode * key, enum GNUNET_BLOCK_Type type,
+                      const struct GNUNET_HashCode * key, enum 
GNUNET_BLOCK_Type type,
                       GNUNET_DATACACHE_Iterator iter, void *iter_cls);
 
 

Modified: gnunet/src/include/gnunet_datacache_plugin.h
===================================================================
--- gnunet/src/include/gnunet_datacache_plugin.h        2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/include/gnunet_datacache_plugin.h        2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -46,7 +46,7 @@
  * @param size number of bytes that were made available
  */
 typedef void (*GNUNET_DATACACHE_DeleteNotifyCallback) (void *cls,
-                                                       const GNUNET_HashCode *
+                                                       const struct 
GNUNET_HashCode *
                                                        key, size_t size);
 
 
@@ -109,7 +109,7 @@
    * @param discard_time when to discard the value in any case
    * @return 0 on error, number of bytes used otherwise
    */
-       size_t (*put) (void *cls, const GNUNET_HashCode * key, size_t size,
+       size_t (*put) (void *cls, const struct GNUNET_HashCode * key, size_t 
size,
                       const char *data, enum GNUNET_BLOCK_Type type,
                       struct GNUNET_TIME_Absolute discard_time);
 
@@ -125,7 +125,7 @@
    * @param iter_cls closure for iter
    * @return the number of results found
    */
-  unsigned int (*get) (void *cls, const GNUNET_HashCode * key,
+  unsigned int (*get) (void *cls, const struct GNUNET_HashCode * key,
                        enum GNUNET_BLOCK_Type type,
                        GNUNET_DATACACHE_Iterator iter, void *iter_cls);
 

Modified: gnunet/src/include/gnunet_datastore_plugin.h
===================================================================
--- gnunet/src/include/gnunet_datastore_plugin.h        2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/include/gnunet_datastore_plugin.h        2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -92,7 +92,7 @@
  * @return GNUNET_OK to keep the item
  *         GNUNET_NO to delete the item
  */
-typedef int (*PluginDatumProcessor) (void *cls, const GNUNET_HashCode * key,
+typedef int (*PluginDatumProcessor) (void *cls, const struct GNUNET_HashCode * 
key,
                                      uint32_t size, const void *data,
                                      enum GNUNET_BLOCK_Type type,
                                      uint32_t priority, uint32_t anonymity,
@@ -127,7 +127,7 @@
  * @return GNUNET_OK on success,
  *         GNUNET_SYSERR on failure
  */
-typedef int (*PluginPut) (void *cls, const GNUNET_HashCode * key, uint32_t 
size,
+typedef int (*PluginPut) (void *cls, const struct GNUNET_HashCode * key, 
uint32_t size,
                           const void *data, enum GNUNET_BLOCK_Type type,
                           uint32_t priority, uint32_t anonymity,
                           uint32_t replication,
@@ -142,7 +142,7 @@
  * @param count how many values are stored under this key in the datastore
  */
 typedef void (*PluginKeyProcessor) (void *cls, 
-                                  const GNUNET_HashCode *key,
+                                  const struct GNUNET_HashCode *key,
                                   unsigned int count);
 
 
@@ -178,8 +178,8 @@
  * @param proc_cls closure for proc
  */
 typedef void (*PluginGetKey) (void *cls, uint64_t offset,
-                              const GNUNET_HashCode * key,
-                              const GNUNET_HashCode * vhash,
+                              const struct GNUNET_HashCode * key,
+                              const struct GNUNET_HashCode * vhash,
                               enum GNUNET_BLOCK_Type type,
                               PluginDatumProcessor proc, void *proc_cls);
 

Modified: gnunet/src/include/gnunet_datastore_service.h
===================================================================
--- gnunet/src/include/gnunet_datastore_service.h       2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/include/gnunet_datastore_service.h       2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -153,7 +153,7 @@
  */
 struct GNUNET_DATASTORE_QueueEntry *
 GNUNET_DATASTORE_put (struct GNUNET_DATASTORE_Handle *h, uint32_t rid,
-                      const GNUNET_HashCode * key, size_t size,
+                      const struct GNUNET_HashCode * key, size_t size,
                       const void *data, enum GNUNET_BLOCK_Type type,
                       uint32_t priority, uint32_t anonymity,
                       uint32_t replication,
@@ -245,7 +245,7 @@
  */
 struct GNUNET_DATASTORE_QueueEntry *
 GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h,
-                         const GNUNET_HashCode * key, size_t size,
+                         const struct GNUNET_HashCode * key, size_t size,
                          const void *data, unsigned int queue_priority,
                          unsigned int max_queue_size,
                          struct GNUNET_TIME_Relative timeout,
@@ -268,7 +268,7 @@
  *        maybe 0 if no unique identifier is available
  */
 typedef void (*GNUNET_DATASTORE_DatumProcessor) (void *cls,
-                                                 const GNUNET_HashCode * key,
+                                                 const struct GNUNET_HashCode 
* key,
                                                  size_t size, const void *data,
                                                  enum GNUNET_BLOCK_Type type,
                                                  uint32_t priority,
@@ -300,7 +300,7 @@
  */
 struct GNUNET_DATASTORE_QueueEntry *
 GNUNET_DATASTORE_get_key (struct GNUNET_DATASTORE_Handle *h, uint64_t offset,
-                          const GNUNET_HashCode * key,
+                          const struct GNUNET_HashCode * key,
                           enum GNUNET_BLOCK_Type type,
                           unsigned int queue_priority,
                           unsigned int max_queue_size,

Modified: gnunet/src/include/gnunet_dht_service.h
===================================================================
--- gnunet/src/include/gnunet_dht_service.h     2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_dht_service.h     2012-06-12 19:07:40 UTC (rev 
21926)
@@ -163,7 +163,7 @@
  *        (size too big)
  */
 struct GNUNET_DHT_PutHandle *
-GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle, const GNUNET_HashCode * key,
+GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle, const struct GNUNET_HashCode 
* key,
                 uint32_t desired_replication_level,
                 enum GNUNET_DHT_RouteOption options,
                 enum GNUNET_BLOCK_Type type, size_t size, const char *data,
@@ -205,7 +205,7 @@
  */
 typedef void (*GNUNET_DHT_GetIterator) (void *cls,
                                         struct GNUNET_TIME_Absolute exp,
-                                        const GNUNET_HashCode * key,
+                                        const struct GNUNET_HashCode * key,
                                         const struct GNUNET_PeerIdentity *
                                         get_path, unsigned int get_path_length,
                                         const struct GNUNET_PeerIdentity *
@@ -234,7 +234,7 @@
  */
 struct GNUNET_DHT_GetHandle *
 GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle,
-                      enum GNUNET_BLOCK_Type type, const GNUNET_HashCode * key,
+                      enum GNUNET_BLOCK_Type type, const struct 
GNUNET_HashCode * key,
                       uint32_t desired_replication_level,
                       enum GNUNET_DHT_RouteOption options, const void *xquery,
                       size_t xquery_size, GNUNET_DHT_GetIterator iter,
@@ -279,7 +279,7 @@
                                          uint32_t desired_replication_level, 
                                          unsigned int path_length,
                                          const struct GNUNET_PeerIdentity 
*path,
-                                         const GNUNET_HashCode * key);
+                                         const struct GNUNET_HashCode * key);
 
 /**
  * Callback called on each GET reply going through the DHT.
@@ -304,7 +304,7 @@
                                              * put_path,
                                              unsigned int put_path_length,
                                              struct GNUNET_TIME_Absolute exp,
-                                             const GNUNET_HashCode * key,
+                                             const struct GNUNET_HashCode * 
key,
                                              const void *data,
                                              size_t size);
 
@@ -331,7 +331,7 @@
                                          unsigned int path_length,
                                          const struct GNUNET_PeerIdentity 
*path,
                                          struct GNUNET_TIME_Absolute exp,
-                                         const GNUNET_HashCode * key,
+                                         const struct GNUNET_HashCode * key,
                                          const void *data,
                                          size_t size);
 
@@ -351,7 +351,7 @@
 struct GNUNET_DHT_MonitorHandle *
 GNUNET_DHT_monitor_start (struct GNUNET_DHT_Handle *handle,
                           enum GNUNET_BLOCK_Type type,
-                          const GNUNET_HashCode *key,
+                          const struct GNUNET_HashCode *key,
                           GNUNET_DHT_MonitorGetCB get_cb,
                           GNUNET_DHT_MonitorGetRespCB get_resp_cb,
                           GNUNET_DHT_MonitorPutCB put_cb,

Modified: gnunet/src/include/gnunet_fs_service.h
===================================================================
--- gnunet/src/include/gnunet_fs_service.h      2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_fs_service.h      2012-06-12 19:07:40 UTC (rev 
21926)
@@ -91,7 +91,7 @@
  * @param key wherer to store the unique key
  */
 void
-GNUNET_FS_uri_to_key (const struct GNUNET_FS_Uri *uri, GNUNET_HashCode * key);
+GNUNET_FS_uri_to_key (const struct GNUNET_FS_Uri *uri, struct GNUNET_HashCode 
* key);
 
 /**
  * Convert a URI to a UTF-8 String.
@@ -341,7 +341,7 @@
  * @return an FS URI for the given namespace and identifier
  */
 struct GNUNET_FS_Uri *
-GNUNET_FS_uri_sks_create_from_nsid (GNUNET_HashCode * nsid, const char *id);
+GNUNET_FS_uri_sks_create_from_nsid (struct GNUNET_HashCode * nsid, const char 
*id);
 
 
 /**
@@ -354,7 +354,7 @@
  */
 int
 GNUNET_FS_uri_sks_get_namespace (const struct GNUNET_FS_Uri *uri,
-                                 GNUNET_HashCode * nsid);
+                                 struct GNUNET_HashCode * nsid);
 
 
 /**
@@ -1383,7 +1383,7 @@
           /**
           * Hash-identifier for the namespace.
           */
-          GNUNET_HashCode id;
+          struct GNUNET_HashCode id;
 
         } namespace;
 
@@ -2112,7 +2112,7 @@
  * @return GNUNET_OK to continue iteration, GNUNET_SYSERR to abort
  */
 typedef int (*GNUNET_FS_IndexedFileProcessor) (void *cls, const char *filename,
-                                               const GNUNET_HashCode * 
file_id);
+                                               const struct GNUNET_HashCode * 
file_id);
 
 
 /**
@@ -2252,7 +2252,7 @@
  * @param id hash identifier for the namespace
  */
 typedef void (*GNUNET_FS_NamespaceInfoProcessor) (void *cls, const char *name,
-                                                  const GNUNET_HashCode * id);
+                                                  const struct GNUNET_HashCode 
* id);
 
 
 /**

Modified: gnunet/src/include/gnunet_pseudonym_lib.h
===================================================================
--- gnunet/src/include/gnunet_pseudonym_lib.h   2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_pseudonym_lib.h   2012-06-12 19:07:40 UTC (rev 
21926)
@@ -51,7 +51,7 @@
  * @return GNUNET_OK to continue iteration, GNUNET_SYSERR to abort
  */
 typedef int (*GNUNET_PSEUDONYM_Iterator) (void *cls,
-                                          const GNUNET_HashCode * pseudonym,
+                                          const struct GNUNET_HashCode * 
pseudonym,
                                           const char *name,
                                           const char *unique_name,
                                           const struct 
GNUNET_CONTAINER_MetaData
@@ -67,7 +67,7 @@
  */
 int
 GNUNET_PSEUDONYM_rank (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                       const GNUNET_HashCode * nsid, int delta);
+                       const struct GNUNET_HashCode * nsid, int delta);
 
 /**
  * Add a pseudonym to the set of known pseudonyms.
@@ -80,7 +80,7 @@
  */
 void
 GNUNET_PSEUDONYM_add (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                      const GNUNET_HashCode * id,
+                      const struct GNUNET_HashCode * id,
                       const struct GNUNET_CONTAINER_MetaData *meta);
 
 
@@ -127,7 +127,7 @@
  */
 char *
 GNUNET_PSEUDONYM_name_uniquify (const struct GNUNET_CONFIGURATION_Handle *cfg,
-    const GNUNET_HashCode * nsid, const char *name, unsigned int *suffix);
+    const struct GNUNET_HashCode * nsid, const char *name, unsigned int 
*suffix);
 
 /**
  * Get namespace name, metadata and rank
@@ -152,7 +152,7 @@
  */
 int
 GNUNET_PSEUDONYM_get_info (const struct GNUNET_CONFIGURATION_Handle *cfg,
-    const GNUNET_HashCode * nsid, struct GNUNET_CONTAINER_MetaData **ret_meta,
+    const struct GNUNET_HashCode * nsid, struct GNUNET_CONTAINER_MetaData 
**ret_meta,
     int32_t *ret_rank, char **ret_name, int *name_is_a_dup);
 
 
@@ -166,7 +166,7 @@
  */
 int
 GNUNET_PSEUDONYM_name_to_id (const struct GNUNET_CONFIGURATION_Handle *cfg,
-    const char *ns_uname, GNUNET_HashCode * nsid);
+    const char *ns_uname, struct GNUNET_HashCode * nsid);
 
 /**
  * Set the pseudonym metadata, rank and name.
@@ -182,7 +182,7 @@
  */
 int
 GNUNET_PSEUDONYM_set_info (const struct GNUNET_CONFIGURATION_Handle *cfg,
-    const GNUNET_HashCode * nsid, const char *name,
+    const struct GNUNET_HashCode * nsid, const char *name,
     const struct GNUNET_CONTAINER_MetaData *md, int rank);
 
 

Modified: gnunet/src/include/gnunet_regex_lib.h
===================================================================
--- gnunet/src/include/gnunet_regex_lib.h       2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_regex_lib.h       2012-06-12 19:07:40 UTC (rev 
21926)
@@ -55,7 +55,7 @@
   /**
    * Destionation of the edge.
    */
-  GNUNET_HashCode destination;
+  struct GNUNET_HashCode destination;
 };
 
 /**
@@ -134,7 +134,7 @@
  */
 unsigned int
 GNUNET_REGEX_get_first_key (const char *input_string, unsigned int string_len,
-                            GNUNET_HashCode * key);
+                            struct GNUNET_HashCode * key);
 
 /**
  * Check if the given 'proof' matches the given 'key'.
@@ -146,7 +146,7 @@
  */
 int
 GNUNET_REGEX_check_proof (const char *proof,
-                          const GNUNET_HashCode *key);
+                          const struct GNUNET_HashCode *key);
 
 /**
  * Iterator callback function.
@@ -159,7 +159,7 @@
  * @param edges edges leaving current state.
  */
 typedef void (*GNUNET_REGEX_KeyIterator)(void *cls,
-                                         const GNUNET_HashCode *key,
+                                         const struct GNUNET_HashCode *key,
                                          const char *proof,
                                          int accepting,
                                          unsigned int num_edges,

Modified: gnunet/src/include/gnunet_vpn_service.h
===================================================================
--- gnunet/src/include/gnunet_vpn_service.h     2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/include/gnunet_vpn_service.h     2012-06-12 19:07:40 UTC (rev 
21926)
@@ -97,7 +97,7 @@
                             int result_af,
                             uint8_t protocol,
                             const struct GNUNET_PeerIdentity *peer,
-                            const GNUNET_HashCode *serv,
+                            const struct GNUNET_HashCode *serv,
                             int nac,
                             struct GNUNET_TIME_Absolute expiration_time,
                             GNUNET_VPN_AllocationCallback cb,

Modified: gnunet/src/integration-tests/connection_watchdog.c
===================================================================
--- gnunet/src/integration-tests/connection_watchdog.c  2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/integration-tests/connection_watchdog.c  2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -121,7 +121,7 @@
 
 static int 
 map_check_it (void *cls,
-             const GNUNET_HashCode * key,
+             const struct GNUNET_HashCode * key,
              void *value)
 {
   int *fail = cls;
@@ -142,7 +142,7 @@
 
 static int 
 map_cleanup_it (void *cls,
-               const GNUNET_HashCode * key,
+               const struct GNUNET_HashCode * key,
                void *value)
 {
   struct PeerContainer *pc = value;
@@ -451,7 +451,7 @@
 
 
 int map_ping_it (void *cls,
-                  const GNUNET_HashCode * key,
+                  const struct GNUNET_HashCode * key,
                   void *value)
 {
   struct PeerContainer *pc = value;

Modified: gnunet/src/lockmanager/gnunet-service-lockmanager.c
===================================================================
--- gnunet/src/lockmanager/gnunet-service-lockmanager.c 2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/lockmanager/gnunet-service-lockmanager.c 2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -229,7 +229,7 @@
  *         GNUNET_NO if not. 
  */
 static int
-match_iterator (void *cls, const GNUNET_HashCode *key, void *value)
+match_iterator (void *cls, const struct GNUNET_HashCode *key, void *value)
 {
   struct LockMatch *match = cls;
   struct Lock *lock = value;
@@ -803,7 +803,7 @@
  */
 static int 
 lock_delete_iterator (void *cls,
-                      const GNUNET_HashCode * key,
+                      const struct GNUNET_HashCode * key,
                       void *value)
 {
   struct Lock *lock = value;

Modified: gnunet/src/lockmanager/lockmanager_api.c
===================================================================
--- gnunet/src/lockmanager/lockmanager_api.c    2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/lockmanager/lockmanager_api.c    2012-06-12 19:07:40 UTC (rev 
21926)
@@ -275,7 +275,7 @@
  *         GNUNET_NO if not. 
  */
 static int
-match_iterator (void *cls, const GNUNET_HashCode *key, void *value)
+match_iterator (void *cls, const struct GNUNET_HashCode *key, void *value)
 {
   struct LockingRequestMatch *match = cls;
   struct GNUNET_LOCKMANAGER_LockingRequest *lr = value;
@@ -355,7 +355,7 @@
  */
 static int
 release_iterator(void *cls,
-                 const GNUNET_HashCode * key,
+                 const struct GNUNET_HashCode * key,
                  void *value)
 {
   struct GNUNET_LOCKMANAGER_Handle *h = cls;
@@ -472,7 +472,7 @@
  */
 static int
 free_iterator(void *cls,
-              const GNUNET_HashCode * key,
+              const struct GNUNET_HashCode * key,
               void *value)
 {
   struct GNUNET_LOCKMANAGER_Handle *h = cls;

Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c       2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/mesh/gnunet-service-mesh.c       2012-06-12 19:07:40 UTC (rev 
21926)
@@ -639,7 +639,7 @@
  *         GNUNET_NO if not.
  */
 static int
-announce_application (void *cls, const GNUNET_HashCode * key, void *value)
+announce_application (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   /* FIXME are hashes in multihash map equal on all aquitectures? */
   /* FIXME: keep return value of 'put' to possibly cancel!? */
@@ -733,7 +733,7 @@
  */
 static void
 dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
-                    const GNUNET_HashCode * key,
+                    const struct GNUNET_HashCode * key,
                     const struct GNUNET_PeerIdentity *get_path,
                     unsigned int get_path_length,
                     const struct GNUNET_PeerIdentity *put_path,
@@ -818,7 +818,7 @@
 static int
 client_is_subscribed (uint16_t message_type, struct MeshClient *c)
 {
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
 
   GNUNET_CRYPTO_hash (&message_type, sizeof (uint16_t), &hc);
   return GNUNET_CONTAINER_multihashmap_contains (c->types, &hc);
@@ -907,7 +907,7 @@
 static void
 client_ignore_tunnel (struct MeshClient *c, struct MeshTunnel *t)
 {
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
 
   GNUNET_CRYPTO_hash(&t->local_tid_dest, sizeof (MESH_TunnelNumber), &hash);
   GNUNET_break (GNUNET_YES ==
@@ -931,7 +931,7 @@
 static void
 client_delete_tunnel (struct MeshClient *c, struct MeshTunnel *t)
 {
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
 
   if (c == t->owner)
   {
@@ -1031,7 +1031,7 @@
         {
           /* This client doesn't know the tunnel */
           struct GNUNET_MESH_TunnelNotification tmsg;
-          GNUNET_HashCode hash;
+          struct GNUNET_HashCode hash;
 
           tmsg.header.size = htons (sizeof (tmsg));
           tmsg.header.type = htons 
(GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_CREATE);
@@ -1232,7 +1232,7 @@
  * @return always GNUNET_YES, to keep iterating
  */
 static int
-peer_info_delete_tunnel (void *cls, const GNUNET_HashCode * key, void *value)
+peer_info_delete_tunnel (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct MeshTunnel *t = cls;
   struct MeshPeerInfo *peer = value;
@@ -1476,7 +1476,7 @@
     }
     else
     {
-      GNUNET_HashCode hash;
+      struct GNUNET_HashCode hash;
 
       path_destroy (p);
       send_client_peer_connected (t, myid);
@@ -1913,7 +1913,7 @@
 static struct MeshTunnel *
 tunnel_get_incoming (MESH_TunnelNumber tid)
 {
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
 
   GNUNET_assert (tid >= GNUNET_MESH_LOCAL_TUNNEL_ID_SERV);
   GNUNET_CRYPTO_hash (&tid, sizeof (MESH_TunnelNumber), &hash);
@@ -1938,7 +1938,7 @@
   }
   else
   {
-    GNUNET_HashCode hash;
+    struct GNUNET_HashCode hash;
 
     GNUNET_CRYPTO_hash (&tid, sizeof (MESH_TunnelNumber), &hash);
     return GNUNET_CONTAINER_multihashmap_get (c->own_tunnels, &hash);
@@ -1958,7 +1958,7 @@
 tunnel_get_by_pi (GNUNET_PEER_Id pi, MESH_TunnelNumber tid)
 {
   struct MESH_TunnelID id;
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
 
   id.oid = pi;
   id.tid = tid;
@@ -2334,7 +2334,7 @@
 tunnel_destroy (struct MeshTunnel *t)
 {
   struct MeshClient *c;
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
   unsigned int i;
   int r;
 
@@ -2498,7 +2498,7 @@
  * @return GNUNET_OK on success
  */
 static int
-tunnel_destroy_iterator (void *cls, const GNUNET_HashCode * key, void *value)
+tunnel_destroy_iterator (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct MeshTunnel *t = value;
   struct MeshClient *c = cls;
@@ -2916,7 +2916,7 @@
   MESH_TunnelNumber tid;
   struct GNUNET_MESH_ManipulatePath *msg;
   struct GNUNET_PeerIdentity *pi;
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
   struct MeshPeerPath *path;
   struct MeshPeerInfo *dest_peer_info;
   struct MeshPeerInfo *orig_peer_info;
@@ -3574,7 +3574,7 @@
  * @return GNUNET_OK on success
  */
 static int
-deregister_app (void *cls, const GNUNET_HashCode * key, void *value)
+deregister_app (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   GNUNET_break (GNUNET_YES ==
                 GNUNET_CONTAINER_multihashmap_remove (applications, key,
@@ -3689,7 +3689,7 @@
  */
 static void
 dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
-                    const GNUNET_HashCode * key,
+                    const struct GNUNET_HashCode * key,
                     const struct GNUNET_PeerIdentity *get_path,
                     unsigned int get_path_length,
                     const struct GNUNET_PeerIdentity *put_path,
@@ -3737,7 +3737,7 @@
  */
 static void
 dht_get_type_handler (void *cls, struct GNUNET_TIME_Absolute exp,
-                      const GNUNET_HashCode * key,
+                      const struct GNUNET_HashCode * key,
                       const struct GNUNET_PeerIdentity *get_path,
                       unsigned int get_path_length,
                       const struct GNUNET_PeerIdentity *put_path,
@@ -3888,7 +3888,7 @@
   if (napps > 0)
   {
     GNUNET_MESH_ApplicationType at;
-    GNUNET_HashCode hc;
+    struct GNUNET_HashCode hc;
 
     c->apps = GNUNET_CONTAINER_multihashmap_create (napps);
     for (i = 0; i < napps; i++)
@@ -3911,7 +3911,7 @@
   if (ntypes > 0)
   {
     uint16_t u16;
-    GNUNET_HashCode hc;
+    struct GNUNET_HashCode hc;
 
     t = (uint16_t *) & a[napps];
     c->types = GNUNET_CONTAINER_multihashmap_create (ntypes);
@@ -4238,7 +4238,7 @@
   struct GNUNET_MESH_ConnectPeerByType *connect_msg;
   struct MeshClient *c;
   struct MeshTunnel *t;
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
   MESH_TunnelNumber tid;
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "got connect by type request\n");
@@ -4717,7 +4717,7 @@
  *         GNUNET_NO if not.
  */
 static int
-shutdown_tunnel (void *cls, const GNUNET_HashCode * key, void *value)
+shutdown_tunnel (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct MeshTunnel *t = value;
 
@@ -4735,7 +4735,7 @@
  *         GNUNET_NO if not.
  */
 static int
-shutdown_peer (void *cls, const GNUNET_HashCode * key, void *value)
+shutdown_peer (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct MeshPeerInfo *p = value;
   struct MeshPeerQueue *q;

Modified: gnunet/src/mesh/gnunet-service-mesh_new.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_new.c   2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/mesh/gnunet-service-mesh_new.c   2012-06-12 19:07:40 UTC (rev 
21926)
@@ -639,7 +639,7 @@
  *         GNUNET_NO if not.
  */
 static int
-announce_application (void *cls, const GNUNET_HashCode * key, void *value)
+announce_application (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   /* FIXME are hashes in multihash map equal on all aquitectures? */
   /* FIXME: keep return value of 'put' to possibly cancel!? */
@@ -733,7 +733,7 @@
  */
 static void
 dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
-                    const GNUNET_HashCode * key,
+                    const struct GNUNET_HashCode * key,
                     const struct GNUNET_PeerIdentity *get_path,
                     unsigned int get_path_length,
                     const struct GNUNET_PeerIdentity *put_path,
@@ -818,7 +818,7 @@
 static int
 client_is_subscribed (uint16_t message_type, struct MeshClient *c)
 {
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
 
   GNUNET_CRYPTO_hash (&message_type, sizeof (uint16_t), &hc);
   return GNUNET_CONTAINER_multihashmap_contains (c->types, &hc);
@@ -907,7 +907,7 @@
 static void
 client_ignore_tunnel (struct MeshClient *c, struct MeshTunnel *t)
 {
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
 
   GNUNET_CRYPTO_hash(&t->local_tid_dest, sizeof (MESH_TunnelNumber), &hash);
   GNUNET_break (GNUNET_YES ==
@@ -931,7 +931,7 @@
 static void
 client_delete_tunnel (struct MeshClient *c, struct MeshTunnel *t)
 {
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
 
   if (c == t->owner)
   {
@@ -1031,7 +1031,7 @@
         {
           /* This client doesn't know the tunnel */
           struct GNUNET_MESH_TunnelNotification tmsg;
-          GNUNET_HashCode hash;
+          struct GNUNET_HashCode hash;
 
           tmsg.header.size = htons (sizeof (tmsg));
           tmsg.header.type = htons 
(GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_CREATE);
@@ -1232,7 +1232,7 @@
  * @return always GNUNET_YES, to keep iterating
  */
 static int
-peer_info_delete_tunnel (void *cls, const GNUNET_HashCode * key, void *value)
+peer_info_delete_tunnel (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct MeshTunnel *t = cls;
   struct MeshPeerInfo *peer = value;
@@ -1476,7 +1476,7 @@
     }
     else
     {
-      GNUNET_HashCode hash;
+      struct GNUNET_HashCode hash;
 
       path_destroy (p);
       send_client_peer_connected (t, myid);
@@ -1913,7 +1913,7 @@
 static struct MeshTunnel *
 tunnel_get_incoming (MESH_TunnelNumber tid)
 {
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
 
   GNUNET_assert (tid >= GNUNET_MESH_LOCAL_TUNNEL_ID_SERV);
   GNUNET_CRYPTO_hash (&tid, sizeof (MESH_TunnelNumber), &hash);
@@ -1938,7 +1938,7 @@
   }
   else
   {
-    GNUNET_HashCode hash;
+    struct GNUNET_HashCode hash;
 
     GNUNET_CRYPTO_hash (&tid, sizeof (MESH_TunnelNumber), &hash);
     return GNUNET_CONTAINER_multihashmap_get (c->own_tunnels, &hash);
@@ -1958,7 +1958,7 @@
 tunnel_get_by_pi (GNUNET_PEER_Id pi, MESH_TunnelNumber tid)
 {
   struct MESH_TunnelID id;
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
 
   id.oid = pi;
   id.tid = tid;
@@ -2334,7 +2334,7 @@
 tunnel_destroy (struct MeshTunnel *t)
 {
   struct MeshClient *c;
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
   unsigned int i;
   int r;
 
@@ -2498,7 +2498,7 @@
  * @return GNUNET_OK on success
  */
 static int
-tunnel_destroy_iterator (void *cls, const GNUNET_HashCode * key, void *value)
+tunnel_destroy_iterator (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct MeshTunnel *t = value;
   struct MeshClient *c = cls;
@@ -2916,7 +2916,7 @@
   MESH_TunnelNumber tid;
   struct GNUNET_MESH_ManipulatePath *msg;
   struct GNUNET_PeerIdentity *pi;
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
   struct MeshPeerPath *path;
   struct MeshPeerInfo *dest_peer_info;
   struct MeshPeerInfo *orig_peer_info;
@@ -3574,7 +3574,7 @@
  * @return GNUNET_OK on success
  */
 static int
-deregister_app (void *cls, const GNUNET_HashCode * key, void *value)
+deregister_app (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   GNUNET_break (GNUNET_YES ==
                 GNUNET_CONTAINER_multihashmap_remove (applications, key,
@@ -3689,7 +3689,7 @@
  */
 static void
 dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
-                    const GNUNET_HashCode * key,
+                    const struct GNUNET_HashCode * key,
                     const struct GNUNET_PeerIdentity *get_path,
                     unsigned int get_path_length,
                     const struct GNUNET_PeerIdentity *put_path,
@@ -3737,7 +3737,7 @@
  */
 static void
 dht_get_type_handler (void *cls, struct GNUNET_TIME_Absolute exp,
-                      const GNUNET_HashCode * key,
+                      const struct GNUNET_HashCode * key,
                       const struct GNUNET_PeerIdentity *get_path,
                       unsigned int get_path_length,
                       const struct GNUNET_PeerIdentity *put_path,
@@ -3888,7 +3888,7 @@
   if (napps > 0)
   {
     GNUNET_MESH_ApplicationType at;
-    GNUNET_HashCode hc;
+    struct GNUNET_HashCode hc;
 
     c->apps = GNUNET_CONTAINER_multihashmap_create (napps);
     for (i = 0; i < napps; i++)
@@ -3911,7 +3911,7 @@
   if (ntypes > 0)
   {
     uint16_t u16;
-    GNUNET_HashCode hc;
+    struct GNUNET_HashCode hc;
 
     t = (uint16_t *) & a[napps];
     c->types = GNUNET_CONTAINER_multihashmap_create (ntypes);
@@ -4238,7 +4238,7 @@
   struct GNUNET_MESH_ConnectPeerByType *connect_msg;
   struct MeshClient *c;
   struct MeshTunnel *t;
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
   MESH_TunnelNumber tid;
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "got connect by type request\n");
@@ -4717,7 +4717,7 @@
  *         GNUNET_NO if not.
  */
 static int
-shutdown_tunnel (void *cls, const GNUNET_HashCode * key, void *value)
+shutdown_tunnel (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct MeshTunnel *t = value;
 
@@ -4735,7 +4735,7 @@
  *         GNUNET_NO if not.
  */
 static int
-shutdown_peer (void *cls, const GNUNET_HashCode * key, void *value)
+shutdown_peer (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct MeshPeerInfo *p = value;
   struct MeshPeerQueue *q;

Modified: gnunet/src/mesh/mesh_tunnel_tree.c
===================================================================
--- gnunet/src/mesh/mesh_tunnel_tree.c  2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/mesh/mesh_tunnel_tree.c  2012-06-12 19:07:40 UTC (rev 21926)
@@ -1050,7 +1050,7 @@
  * @return GNUNET_YES if we should continue to iterate, GNUNET_NO if not.
  */
 static int
-iterate_free (void *cls, const GNUNET_HashCode * key, void *value)
+iterate_free (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   GNUNET_free (value);
   return GNUNET_YES;

Modified: gnunet/src/namestore/gnunet-service-namestore.c
===================================================================
--- gnunet/src/namestore/gnunet-service-namestore.c     2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/namestore/gnunet-service-namestore.c     2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -200,7 +200,7 @@
 }
 
 int zone_to_disk_it (void *cls,
-                     const GNUNET_HashCode *key,
+                     const struct GNUNET_HashCode *key,
                      void *value)
 {
   struct GNUNET_NAMESTORE_CryptoContainer * c = value;
@@ -391,7 +391,7 @@
   struct GNUNET_CRYPTO_RsaSignature *signature_new = NULL;
   struct GNUNET_TIME_Absolute e;
   struct GNUNET_CRYPTO_ShortHashCode zone_key_hash;
-  GNUNET_HashCode long_hash;
+  struct GNUNET_HashCode long_hash;
   char *rd_tmp;
   char *name_tmp;
   size_t rd_ser_len;
@@ -862,7 +862,7 @@
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pub;
   struct RecordCreateResponseMessage rcr_msg;
   struct GNUNET_CRYPTO_ShortHashCode pubkey_hash;
-  GNUNET_HashCode long_hash;
+  struct GNUNET_HashCode long_hash;
   size_t name_len;
   size_t msg_size;
   size_t msg_size_exp;
@@ -1116,7 +1116,7 @@
   struct GNUNET_NAMESTORE_CryptoContainer *cc = NULL;
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pub;
   struct GNUNET_CRYPTO_ShortHashCode pubkey_hash;
-  GNUNET_HashCode long_hash;
+  struct GNUNET_HashCode long_hash;
   char * pkey_tmp = NULL;
   char * name_tmp = NULL;
   char * rd_ser = NULL;
@@ -1462,7 +1462,7 @@
   struct GNUNET_CRYPTO_RsaSignature * new_signature;
   struct GNUNET_NAMESTORE_CryptoContainer *cc;
   struct GNUNET_CRYPTO_ShortHashCode hash;
-  GNUNET_HashCode long_hash;
+  struct GNUNET_HashCode long_hash;
   struct GNUNET_TIME_Absolute e;
   unsigned int rd_count_filtered  = 0;
   int include;
@@ -1837,7 +1837,7 @@
 
 int zonekey_file_it (void *cls, const char *filename)
 {
-  GNUNET_HashCode long_hash;
+  struct GNUNET_HashCode long_hash;
   int *counter = cls;
    if ((filename != NULL) && (NULL != strstr(filename, ".zkey")))
    {

Modified: gnunet/src/namestore/test_namestore_api_remove_not_existing_record.c
===================================================================
--- gnunet/src/namestore/test_namestore_api_remove_not_existing_record.c        
2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/namestore/test_namestore_api_remove_not_existing_record.c        
2012-06-12 19:07:40 UTC (rev 21926)
@@ -48,7 +48,7 @@
 static struct GNUNET_CRYPTO_RsaPrivateKey * privkey;
 static struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pubkey;
 struct GNUNET_CRYPTO_RsaSignature *s_signature;
-static GNUNET_HashCode s_zone;
+static struct GNUNET_HashCode s_zone;
 struct GNUNET_NAMESTORE_RecordData *s_rd;
 static char *s_name;
 

Modified: gnunet/src/namestore/test_namestore_api_zone_iteration.c
===================================================================
--- gnunet/src/namestore/test_namestore_api_zone_iteration.c    2012-06-12 
19:02:54 UTC (rev 21925)
+++ gnunet/src/namestore/test_namestore_api_zone_iteration.c    2012-06-12 
19:07:40 UTC (rev 21926)
@@ -38,11 +38,11 @@
 
 static struct GNUNET_CRYPTO_RsaPrivateKey * privkey;
 static struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pubkey;
-static GNUNET_HashCode zone;
+static struct GNUNET_HashCode zone;
 
 static struct GNUNET_CRYPTO_RsaPrivateKey * privkey2;
 static struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pubkey2;
-static GNUNET_HashCode zone2;
+static struct GNUNET_HashCode zone2;
 
 static struct GNUNET_NAMESTORE_ZoneIterator *zi;
 static int res;
@@ -222,7 +222,7 @@
     /* verify signature returned from name store */
     if (GNUNET_OK != GNUNET_NAMESTORE_verify_signature (zone_key, expire, 
name, rd_count, rd, signature))
     {
-      GNUNET_HashCode zone_key_hash;
+      struct GNUNET_HashCode zone_key_hash;
       GNUNET_CRYPTO_hash (zone_key, sizeof (struct 
GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded), &zone_key_hash);
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Verifying signature for `%s' in 
zone `%s' with %u records  and expiration %llu failed\n", name, 
GNUNET_h2s(&zone_key_hash), rd_count, expire.abs_value);
 

Modified: gnunet/src/namestore/test_namestore_api_zone_iteration_stop.c
===================================================================
--- gnunet/src/namestore/test_namestore_api_zone_iteration_stop.c       
2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/namestore/test_namestore_api_zone_iteration_stop.c       
2012-06-12 19:07:40 UTC (rev 21926)
@@ -38,11 +38,11 @@
 
 static struct GNUNET_CRYPTO_RsaPrivateKey * privkey;
 static struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pubkey;
-static GNUNET_HashCode zone;
+static struct GNUNET_HashCode zone;
 
 static struct GNUNET_CRYPTO_RsaPrivateKey * privkey2;
 static struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pubkey2;
-static GNUNET_HashCode zone2;
+static struct GNUNET_HashCode zone2;
 
 static struct GNUNET_NAMESTORE_ZoneIterator *zi;
 static int res;

Modified: gnunet/src/nse/gnunet-service-nse.c
===================================================================
--- gnunet/src/nse/gnunet-service-nse.c 2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/nse/gnunet-service-nse.c 2012-06-12 19:07:40 UTC (rev 21926)
@@ -477,7 +477,7 @@
 get_matching_bits (struct GNUNET_TIME_Absolute timestamp,
                    const struct GNUNET_PeerIdentity *id)
 {
-  GNUNET_HashCode timestamp_hash;
+  struct GNUNET_HashCode timestamp_hash;
 
   GNUNET_CRYPTO_hash (&timestamp.abs_value, sizeof (timestamp.abs_value),
                       &timestamp_hash);
@@ -699,7 +699,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-schedule_current_round (void *cls, const GNUNET_HashCode * key, void *value)
+schedule_current_round (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct NSEPeerEntry *peer_entry = value;
   struct GNUNET_TIME_Relative delay;
@@ -791,7 +791,7 @@
  * @return the number of leading zero bits.
  */
 static unsigned int
-count_leading_zeroes (const GNUNET_HashCode * hash)
+count_leading_zeroes (const struct GNUNET_HashCode * hash)
 {
   unsigned int hash_count;
 
@@ -817,7 +817,7 @@
 {
   char buf[sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded) +
            sizeof (val)] GNUNET_ALIGN;
-  GNUNET_HashCode result;
+  struct GNUNET_HashCode result;
 
   memcpy (buf, &val, sizeof (val));
   memcpy (&buf[sizeof (val)], pkey,
@@ -862,7 +862,7 @@
   uint64_t counter;
   char buf[sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded) +
            sizeof (uint64_t)] GNUNET_ALIGN;
-  GNUNET_HashCode result;
+  struct GNUNET_HashCode result;
   unsigned int i;
 
   proof_task = GNUNET_SCHEDULER_NO_TASK;
@@ -952,7 +952,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-update_flood_times (void *cls, const GNUNET_HashCode * key, void *value)
+update_flood_times (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct NSEPeerEntry *exclude = cls;
   struct NSEPeerEntry *peer_entry = value;
@@ -1382,7 +1382,7 @@
     GNUNET_SCHEDULER_shutdown ();
     return;
   }
-  if (nse_work_required >= sizeof (GNUNET_HashCode) * 8)
+  if (nse_work_required >= sizeof (struct GNUNET_HashCode) * 8)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 _("Invalid work requirement for NSE service. Exiting.\n"));

Modified: gnunet/src/peerinfo/gnunet-service-peerinfo.c
===================================================================
--- gnunet/src/peerinfo/gnunet-service-peerinfo.c       2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/peerinfo/gnunet-service-peerinfo.c       2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -419,7 +419,7 @@
  * @return GNUNET_YES (continue to iterate)
  */
 static int
-add_to_tc (void *cls, const GNUNET_HashCode * key, void *value)
+add_to_tc (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct GNUNET_SERVER_TransmitContext *tc = cls;
   struct HostEntry *pos = value;
@@ -594,7 +594,7 @@
  * FIXME.
  */
 static int
-do_notify_entry (void *cls, const GNUNET_HashCode * key, void *value)
+do_notify_entry (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct GNUNET_SERVER_Client *client = cls;
   struct HostEntry *he = value;
@@ -631,7 +631,7 @@
  * FIXME.
  */
 static int
-free_host_entry (void *cls, const GNUNET_HashCode * key, void *value)
+free_host_entry (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct HostEntry *he = value;
 

Modified: gnunet/src/regex/regex.c
===================================================================
--- gnunet/src/regex/regex.c    2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/regex/regex.c    2012-06-12 19:07:40 UTC (rev 21926)
@@ -192,7 +192,7 @@
   /**
    * Hash of the state.
    */
-  GNUNET_HashCode hash;
+  struct GNUNET_HashCode hash;
 
   /**
    * Proof for this state.
@@ -2435,7 +2435,7 @@
  */
 unsigned int
 GNUNET_REGEX_get_first_key (const char *input_string, unsigned int string_len,
-                            GNUNET_HashCode * key)
+                            struct GNUNET_HashCode * key)
 {
   unsigned int size;
 
@@ -2461,7 +2461,7 @@
  * @return GNUNET_OK if the proof is valid for the given key
  */
 int
-GNUNET_REGEX_check_proof (const char *proof, const GNUNET_HashCode * key)
+GNUNET_REGEX_check_proof (const char *proof, const struct GNUNET_HashCode * 
key)
 {
   return GNUNET_OK;
 }

Modified: gnunet/src/regex/test_regex_iterate_api.c
===================================================================
--- gnunet/src/regex/test_regex_iterate_api.c   2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/regex/test_regex_iterate_api.c   2012-06-12 19:07:40 UTC (rev 
21926)
@@ -28,7 +28,7 @@
 #include "gnunet_regex_lib.h"
 
 void
-key_iterator (void *cls, const GNUNET_HashCode * key, const char *proof,
+key_iterator (void *cls, const struct GNUNET_HashCode * key, const char *proof,
               int accepting, unsigned int num_edges,
               const struct GNUNET_REGEX_Edge *edges)
 {

Modified: gnunet/src/testing_old/testing_group.c
===================================================================
--- gnunet/src/testing_old/testing_group.c      2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/testing_old/testing_group.c      2012-06-12 19:07:40 UTC (rev 
21926)
@@ -1037,9 +1037,9 @@
  * @param hash set to uid (extended with zeros)
  */
 static void
-hash_from_uid (uint32_t uid, GNUNET_HashCode * hash)
+hash_from_uid (uint32_t uid, struct GNUNET_HashCode * hash)
 {
-  memset (hash, 0, sizeof (GNUNET_HashCode));
+  memset (hash, 0, sizeof (struct GNUNET_HashCode));
   *((uint32_t *) hash) = uid;
 }
 
@@ -1050,7 +1050,7 @@
  * @param hash set to uid (extended with zeros)
  */
 static void
-uid_from_hash (const GNUNET_HashCode * hash, uint32_t * uid)
+uid_from_hash (const struct GNUNET_HashCode * hash, uint32_t * uid)
 {
   memcpy (uid, hash, sizeof (uint32_t));
 }
@@ -1579,8 +1579,8 @@
   struct PeerConnection **second_tail;
 
 #else
-  GNUNET_HashCode hash_first;
-  GNUNET_HashCode hash_second;
+  struct GNUNET_HashCode hash_first;
+  struct GNUNET_HashCode hash_second;
 
   hash_from_uid (first, &hash_first);
   hash_from_uid (second, &hash_second);
@@ -2470,7 +2470,7 @@
  *         GNUNET_NO if not.
  */
 static int
-unblacklist_iterator (void *cls, const GNUNET_HashCode * key, void *value)
+unblacklist_iterator (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct UnblacklistContext *un_ctx = cls;
   uint32_t second_pos;
@@ -2760,7 +2760,7 @@
  *       "fixing" now.
  */
 static int
-friend_file_iterator (void *cls, const GNUNET_HashCode * key, void *value)
+friend_file_iterator (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   FILE *temp_friend_handle = cls;
   struct GNUNET_TESTING_Daemon *peer = value;
@@ -2797,7 +2797,7 @@
  * @return GNUNET_YES to continue iteration
  */
 static int
-blacklist_file_iterator (void *cls, const GNUNET_HashCode * key, void *value)
+blacklist_file_iterator (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct BlacklistContext *blacklist_ctx = cls;
   struct GNUNET_TESTING_Daemon *peer = value;
@@ -3682,7 +3682,7 @@
  * @return GNUNET_YES to continue iteration
  */
 static int
-connect_iterator (void *cls, const GNUNET_HashCode * key, void *value)
+connect_iterator (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct ConnectTopologyContext *ct_ctx = cls;
   struct PeerData *first = ct_ctx->first;
@@ -3713,7 +3713,7 @@
  * @return GNUNET_YES to continue iteration
  */
 static int
-copy_topology_iterator (void *cls, const GNUNET_HashCode * key, void *value)
+copy_topology_iterator (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct PeerData *first = cls;
 
@@ -4108,12 +4108,12 @@
  * @return GNUNET_YES to continue iteration
  */
 static int
-random_connect_iterator (void *cls, const GNUNET_HashCode * key, void *value)
+random_connect_iterator (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct RandomContext *random_ctx = cls;
   double random_number;
   uint32_t second_pos;
-  GNUNET_HashCode first_hash;
+  struct GNUNET_HashCode first_hash;
 
   random_number =
       ((double)
@@ -4153,11 +4153,11 @@
  * @return GNUNET_YES to continue iteration
  */
 static int
-minimum_connect_iterator (void *cls, const GNUNET_HashCode * key, void *value)
+minimum_connect_iterator (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct MinimumContext *min_ctx = cls;
   uint32_t second_pos;
-  GNUNET_HashCode first_hash;
+  struct GNUNET_HashCode first_hash;
   unsigned int i;
 
   if (GNUNET_CONTAINER_multihashmap_size
@@ -4211,10 +4211,10 @@
  * @return GNUNET_YES to continue iteration
  */
 static int
-dfs_connect_iterator (void *cls, const GNUNET_HashCode * key, void *value)
+dfs_connect_iterator (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct DFSContext *dfs_ctx = cls;
-  GNUNET_HashCode first_hash;
+  struct GNUNET_HashCode first_hash;
 
   if (dfs_ctx->current == dfs_ctx->chosen)
   {
@@ -4538,7 +4538,7 @@
  *         GNUNET_NO if not.
  */
 static int
-find_closest_peers (void *cls, const GNUNET_HashCode * key, void *value)
+find_closest_peers (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct FindClosestContext *closest_ctx = cls;
   struct GNUNET_TESTING_Daemon *daemon = value;
@@ -4627,7 +4627,7 @@
   struct PeerConnection *peer_iter;
 #else
   struct DFSContext dfs_ctx;
-  GNUNET_HashCode second_hash;
+  struct GNUNET_HashCode second_hash;
 #endif
 
 #if OLD

Modified: gnunet/src/topology/gnunet-daemon-topology.c
===================================================================
--- gnunet/src/topology/gnunet-daemon-topology.c        2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/topology/gnunet-daemon-topology.c        2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -316,7 +316,7 @@
  * @return GNUNET_YES (always: continue to iterate)
  */
 static int
-free_peer (void *cls, const GNUNET_HashCode * pid, void *value)
+free_peer (void *cls, const struct GNUNET_HashCode * pid, void *value)
 {
   struct Peer *pos = value;
 
@@ -573,7 +573,7 @@
  * @return GNUNET_YES (continue iteration)
  */
 static int
-find_advertisable_hello (void *cls, const GNUNET_HashCode * pid, void *value)
+find_advertisable_hello (void *cls, const struct GNUNET_HashCode * pid, void 
*value)
 {
   struct FindAdvHelloContext *fah = cls;
   struct Peer *pos = value;
@@ -659,7 +659,7 @@
  * @return GNUNET_YES (always)
  */
 static int
-reschedule_hellos (void *cls, const GNUNET_HashCode * pid, void *value)
+reschedule_hellos (void *cls, const struct GNUNET_HashCode * pid, void *value)
 {
   struct Peer *peer = value;
   struct Peer *skip = cls;
@@ -743,7 +743,7 @@
  * @return GNUNET_YES (continue to iterate)
  */
 static int
-try_add_peers (void *cls, const GNUNET_HashCode * pid, void *value)
+try_add_peers (void *cls, const struct GNUNET_HashCode * pid, void *value)
 {
   struct Peer *pos = value;
 

Modified: gnunet/src/transport/gnunet-service-transport_blacklist.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport_blacklist.c   2012-06-12 
19:02:54 UTC (rev 21925)
+++ gnunet/src/transport/gnunet-service-transport_blacklist.c   2012-06-12 
19:07:40 UTC (rev 21926)
@@ -395,7 +395,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-free_blacklist_entry (void *cls, const GNUNET_HashCode * key, void *value)
+free_blacklist_entry (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   char *be = value;
 
@@ -701,7 +701,7 @@
  * @return GNUNET_OK if the entry does not match, GNUNET_NO if it matches
  */
 static int
-test_blacklisted (void *cls, const GNUNET_HashCode * key, void *value)
+test_blacklisted (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   const char *transport_name = cls;
   char *be = value;

Modified: gnunet/src/transport/gnunet-service-transport_neighbours.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport_neighbours.c  2012-06-12 
19:02:54 UTC (rev 21925)
+++ gnunet/src/transport/gnunet-service-transport_neighbours.c  2012-06-12 
19:07:40 UTC (rev 21926)
@@ -2888,7 +2888,7 @@
 {
   struct NeighbourMapEntry *n;
   const struct SessionDisconnectMessage *sdm;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Received DISCONNECT message from peer `%s'\n",
@@ -2972,7 +2972,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-neighbours_iterate (void *cls, const GNUNET_HashCode * key, void *value)
+neighbours_iterate (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct IteratorContext *ic = cls;
   struct NeighbourMapEntry *n = value;
@@ -3111,7 +3111,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-disconnect_all_neighbours (void *cls, const GNUNET_HashCode * key, void *value)
+disconnect_all_neighbours (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct NeighbourMapEntry *n = value;
 

Modified: gnunet/src/transport/gnunet-service-transport_validation.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport_validation.c  2012-06-12 
19:02:54 UTC (rev 21925)
+++ gnunet/src/transport/gnunet-service-transport_validation.c  2012-06-12 
19:07:40 UTC (rev 21926)
@@ -334,7 +334,7 @@
  *         GNUNET_NO if the entry does match
  */
 static int
-validation_entry_match (void *cls, const GNUNET_HashCode * key, void *value)
+validation_entry_match (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct ValidationEntryMatchContext *vemc = cls;
   struct ValidationEntry *ve = value;
@@ -357,7 +357,7 @@
  * @return GNUNET_YES (continue to iterate)
  */
 static int
-cleanup_validation_entry (void *cls, const GNUNET_HashCode * key, void *value)
+cleanup_validation_entry (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct ValidationEntry *ve = value;
 
@@ -1171,7 +1171,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-iterate_addresses (void *cls, const GNUNET_HashCode * key, void *value)
+iterate_addresses (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct IteratorContext *ic = cls;
   struct ValidationEntry *ve = value;

Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/transport/plugin_transport_tcp.c 2012-06-12 19:07:40 UTC (rev 
21926)
@@ -684,7 +684,7 @@
 
 static int 
 session_lookup_by_client_it (void *cls,
-                            const GNUNET_HashCode * key,
+                            const struct GNUNET_HashCode * key,
                             void *value)
 {
   struct SessionClientCtx *sc_ctx = cls;
@@ -1129,7 +1129,7 @@
 
 static int 
 session_lookup_it (void *cls,
-                  const GNUNET_HashCode *key,
+                  const struct GNUNET_HashCode *key,
                   void *value)
 {
   struct SessionItCtx * si_ctx = cls;
@@ -1391,7 +1391,7 @@
 
 static int 
 session_disconnect_it (void *cls,
-                      const GNUNET_HashCode * key,
+                      const struct GNUNET_HashCode * key,
                       void *value)
 {
   struct Session *session = value;

Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/transport/plugin_transport_udp.c 2012-06-12 19:07:40 UTC (rev 
21926)
@@ -764,7 +764,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-disconnect_and_free_it (void *cls, const GNUNET_HashCode * key, void *value)
+disconnect_and_free_it (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   disconnect_session(value);
   return GNUNET_OK;
@@ -857,7 +857,7 @@
 
 static int
 session_cmp_it (void *cls,
-               const GNUNET_HashCode * key,
+               const struct GNUNET_HashCode * key,
                void *value)
 {
   struct SessionCompareContext * cctx = cls;
@@ -1461,7 +1461,7 @@
 
 
 static int
-lookup_session_by_addr_it (void *cls, const GNUNET_HashCode * key, void *value)
+lookup_session_by_addr_it (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct LookupContext *l_ctx = cls;
   struct Session * s = value;

Modified: gnunet/src/transport/plugin_transport_unix.c
===================================================================
--- gnunet/src/transport/plugin_transport_unix.c        2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/transport/plugin_transport_unix.c        2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -310,7 +310,7 @@
 };
 
 int lookup_session_it (void *cls,
-                       const GNUNET_HashCode * key,
+                       const struct GNUNET_HashCode * key,
                        void *value)
 {
   struct LookupCtx *lctx = cls;
@@ -394,7 +394,7 @@
 }
 
 static int
-get_session_delete_it (void *cls, const GNUNET_HashCode * key, void *value)
+get_session_delete_it (void *cls, const struct GNUNET_HashCode * key, void 
*value)
 {
   struct Session *s = value;
   disconnect_session (s);
@@ -630,7 +630,7 @@
 
 
 static int
-get_session_it (void *cls, const GNUNET_HashCode * key, void *value)
+get_session_it (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct gsi_ctx *gsi = cls;
   struct Session *s = value;

Modified: gnunet/src/transport/transport_api.c
===================================================================
--- gnunet/src/transport/transport_api.c        2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/transport/transport_api.c        2012-06-12 19:07:40 UTC (rev 
21926)
@@ -370,7 +370,7 @@
  *         GNUNET_NO if not.
  */
 static int
-neighbour_delete (void *cls, const GNUNET_HashCode * key, void *value)
+neighbour_delete (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct GNUNET_TRANSPORT_Handle *handle = cls;
   struct Neighbour *n = value;

Modified: gnunet/src/util/common_logging.c
===================================================================
--- gnunet/src/util/common_logging.c    2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/util/common_logging.c    2012-06-12 19:07:40 UTC (rev 21926)
@@ -903,7 +903,7 @@
  * @return string form; will be overwritten by next call to GNUNET_h2s.
  */
 const char *
-GNUNET_h2s (const GNUNET_HashCode * hc)
+GNUNET_h2s (const struct GNUNET_HashCode * hc)
 {
   static struct GNUNET_CRYPTO_HashAsciiEncoded ret;
 
@@ -921,7 +921,7 @@
  * @return string form; will be overwritten by next call to GNUNET_h2s_full.
  */
 const char *
-GNUNET_h2s_full (const GNUNET_HashCode * hc)
+GNUNET_h2s_full (const struct GNUNET_HashCode * hc)
 {
   static struct GNUNET_CRYPTO_HashAsciiEncoded ret;
 

Modified: gnunet/src/util/container_bloomfilter.c
===================================================================
--- gnunet/src/util/container_bloomfilter.c     2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/util/container_bloomfilter.c     2012-06-12 19:07:40 UTC (rev 
21926)
@@ -340,9 +340,9 @@
  */
 static void
 iterateBits (const struct GNUNET_CONTAINER_BloomFilter *bf,
-             BitIterator callback, void *arg, const GNUNET_HashCode * key)
+             BitIterator callback, void *arg, const struct GNUNET_HashCode * 
key)
 {
-  GNUNET_HashCode tmp[2];
+  struct GNUNET_HashCode tmp[2];
   int bitCount;
   unsigned int round;
   unsigned int slot = 0;
@@ -354,7 +354,7 @@
   GNUNET_assert (bf->bitArraySize * 8LL > bf->bitArraySize);
   while (bitCount > 0)
   {
-    while (slot < (sizeof (GNUNET_HashCode) / sizeof (uint32_t)))
+    while (slot < (sizeof (struct GNUNET_HashCode) / sizeof (uint32_t)))
     {
       if (GNUNET_YES !=
           callback (arg, bf,
@@ -368,7 +368,7 @@
     }
     if (bitCount > 0)
     {
-      GNUNET_CRYPTO_hash (&tmp[round & 1], sizeof (GNUNET_HashCode),
+      GNUNET_CRYPTO_hash (&tmp[round & 1], sizeof (struct GNUNET_HashCode),
                           &tmp[(round + 1) & 1]);
       round++;
       slot = 0;
@@ -696,7 +696,7 @@
  */
 int
 GNUNET_CONTAINER_bloomfilter_test (const struct GNUNET_CONTAINER_BloomFilter
-                                   *bf, const GNUNET_HashCode * e)
+                                   *bf, const struct GNUNET_HashCode * e)
 {
   int res;
 
@@ -716,7 +716,7 @@
  */
 void
 GNUNET_CONTAINER_bloomfilter_add (struct GNUNET_CONTAINER_BloomFilter *bf,
-                                  const GNUNET_HashCode * e)
+                                  const struct GNUNET_HashCode * e)
 {
   if (NULL == bf)
     return;
@@ -801,7 +801,7 @@
  */
 void
 GNUNET_CONTAINER_bloomfilter_remove (struct GNUNET_CONTAINER_BloomFilter *bf,
-                                     const GNUNET_HashCode * e)
+                                     const struct GNUNET_HashCode * e)
 {
   if (NULL == bf)
     return;
@@ -827,7 +827,7 @@
                                      void *iterator_cls, size_t size,
                                      unsigned int k)
 {
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
   unsigned int i;
 
   GNUNET_free (bf->bitArray);

Modified: gnunet/src/util/container_multihashmap.c
===================================================================
--- gnunet/src/util/container_multihashmap.c    2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet/src/util/container_multihashmap.c    2012-06-12 19:07:40 UTC (rev 
21926)
@@ -39,7 +39,7 @@
   /**
    * Key for the entry.
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /**
    * Value of the entry.
@@ -130,7 +130,7 @@
  */
 static unsigned int
 idx_of (const struct GNUNET_CONTAINER_MultiHashMap *m,
-        const GNUNET_HashCode * key)
+        const struct GNUNET_HashCode * key)
 {
   GNUNET_assert (m != NULL);
   return (*(unsigned int *) key) % m->map_length;
@@ -163,14 +163,14 @@
  */
 void *
 GNUNET_CONTAINER_multihashmap_get (const struct GNUNET_CONTAINER_MultiHashMap
-                                   *map, const GNUNET_HashCode * key)
+                                   *map, const struct GNUNET_HashCode * key)
 {
   struct MapEntry *e;
 
   e = map->map[idx_of (map, key)];
   while (e != NULL)
   {
-    if (0 == memcmp (key, &e->key, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (key, &e->key, sizeof (struct GNUNET_HashCode)))
       return e->value;
     e = e->next;
   }
@@ -197,7 +197,7 @@
   unsigned int i;
   struct MapEntry *e;
   struct MapEntry *n;
-  GNUNET_HashCode kc;
+  struct GNUNET_HashCode kc;
 
   count = 0;
   GNUNET_assert (map != NULL);
@@ -233,7 +233,7 @@
  */
 int
 GNUNET_CONTAINER_multihashmap_remove (struct GNUNET_CONTAINER_MultiHashMap 
*map,
-                                      const GNUNET_HashCode * key, void *value)
+                                      const struct GNUNET_HashCode * key, void 
*value)
 {
   struct MapEntry *e;
   struct MapEntry *p;
@@ -244,7 +244,7 @@
   e = map->map[i];
   while (e != NULL)
   {
-    if ((0 == memcmp (key, &e->key, sizeof (GNUNET_HashCode))) &&
+    if ((0 == memcmp (key, &e->key, sizeof (struct GNUNET_HashCode))) &&
         (value == e->value))
     {
       if (p == NULL)
@@ -272,7 +272,7 @@
  */
 int
 GNUNET_CONTAINER_multihashmap_remove_all (struct GNUNET_CONTAINER_MultiHashMap
-                                          *map, const GNUNET_HashCode * key)
+                                          *map, const struct GNUNET_HashCode * 
key)
 {
   struct MapEntry *e;
   struct MapEntry *p;
@@ -285,7 +285,7 @@
   e = map->map[i];
   while (e != NULL)
   {
-    if (0 == memcmp (key, &e->key, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (key, &e->key, sizeof (struct GNUNET_HashCode)))
     {
       if (p == NULL)
         map->map[i] = e->next;
@@ -321,14 +321,14 @@
 int
 GNUNET_CONTAINER_multihashmap_contains (const struct
                                         GNUNET_CONTAINER_MultiHashMap *map,
-                                        const GNUNET_HashCode * key)
+                                        const struct GNUNET_HashCode * key)
 {
   struct MapEntry *e;
 
   e = map->map[idx_of (map, key)];
   while (e != NULL)
   {
-    if (0 == memcmp (key, &e->key, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (key, &e->key, sizeof (struct GNUNET_HashCode)))
       return GNUNET_YES;
     e = e->next;
   }
@@ -349,7 +349,7 @@
 int
 GNUNET_CONTAINER_multihashmap_contains_value (const struct
                                               GNUNET_CONTAINER_MultiHashMap
-                                              *map, const GNUNET_HashCode * 
key,
+                                              *map, const struct 
GNUNET_HashCode * key,
                                               const void *value)
 {
   struct MapEntry *e;
@@ -357,7 +357,7 @@
   e = map->map[idx_of (map, key)];
   while (e != NULL)
   {
-    if ((0 == memcmp (key, &e->key, sizeof (GNUNET_HashCode))) &&
+    if ((0 == memcmp (key, &e->key, sizeof (struct GNUNET_HashCode))) &&
         (e->value == value))
       return GNUNET_YES;
     e = e->next;
@@ -416,7 +416,7 @@
  */
 int
 GNUNET_CONTAINER_multihashmap_put (struct GNUNET_CONTAINER_MultiHashMap *map,
-                                   const GNUNET_HashCode * key, void *value,
+                                   const struct GNUNET_HashCode * key, void 
*value,
                                    enum GNUNET_CONTAINER_MultiHashMapOption 
opt)
 {
   struct MapEntry *e;
@@ -429,7 +429,7 @@
     e = map->map[i];
     while (e != NULL)
     {
-      if (0 == memcmp (key, &e->key, sizeof (GNUNET_HashCode)))
+      if (0 == memcmp (key, &e->key, sizeof (struct GNUNET_HashCode)))
       {
         if (opt == GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)
           return GNUNET_SYSERR;
@@ -467,7 +467,7 @@
 int
 GNUNET_CONTAINER_multihashmap_get_multiple (const struct
                                             GNUNET_CONTAINER_MultiHashMap *map,
-                                            const GNUNET_HashCode * key,
+                                            const struct GNUNET_HashCode * key,
                                             GNUNET_CONTAINER_HashMapIterator 
it,
                                             void *it_cls)
 {
@@ -480,7 +480,7 @@
   while (NULL != (e = n))
   {
     n = e->next;
-    if (0 != memcmp (key, &e->key, sizeof (GNUNET_HashCode)))
+    if (0 != memcmp (key, &e->key, sizeof (struct GNUNET_HashCode)))
       continue;
     if ((it != NULL) && (GNUNET_OK != it (it_cls, key, e->value)))
       return GNUNET_SYSERR;

Modified: gnunet/src/util/crypto_hash.c
===================================================================
--- gnunet/src/util/crypto_hash.c       2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/util/crypto_hash.c       2012-06-12 19:07:40 UTC (rev 21926)
@@ -49,7 +49,7 @@
  * @param ret pointer to where to write the hashcode
  */
 void
-GNUNET_CRYPTO_hash (const void *block, size_t size, GNUNET_HashCode * ret)
+GNUNET_CRYPTO_hash (const void *block, size_t size, struct GNUNET_HashCode * 
ret)
 {
   gcry_md_hash_buffer (GCRY_MD_SHA512, ret, block, size);
 }
@@ -140,7 +140,7 @@
  */
 static void
 file_hash_finish (struct GNUNET_CRYPTO_FileHashContext *fhc,
-                  const GNUNET_HashCode * res)
+                  const struct GNUNET_HashCode * res)
 {
   fhc->callback (fhc->callback_cls, res);
   GNUNET_free (fhc->filename);
@@ -161,7 +161,7 @@
 file_hash_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   struct GNUNET_CRYPTO_FileHashContext *fhc = cls;
-  GNUNET_HashCode *res;
+  struct GNUNET_HashCode *res;
   size_t delta;
 
   fhc->task = GNUNET_SCHEDULER_NO_TASK;
@@ -179,7 +179,7 @@
   fhc->offset += delta;
   if (fhc->offset == fhc->fsize)
   {
-    res = (GNUNET_HashCode *) gcry_md_read (fhc->md, GCRY_MD_SHA512);
+    res = (struct GNUNET_HashCode *) gcry_md_read (fhc->md, GCRY_MD_SHA512);
     file_hash_finish (fhc, res);
     return;
   }
@@ -272,7 +272,7 @@
  *  safely cast to char*, a '\\0' termination is set).
  */
 void
-GNUNET_CRYPTO_hash_to_enc (const GNUNET_HashCode * block,
+GNUNET_CRYPTO_hash_to_enc (const struct GNUNET_HashCode * block,
                            struct GNUNET_CRYPTO_HashAsciiEncoded *result)
 {
   char *np;
@@ -296,7 +296,7 @@
  */
 int
 GNUNET_CRYPTO_hash_from_string2 (const char *enc, size_t enclen,
-                                GNUNET_HashCode * result)
+                                struct GNUNET_HashCode * result)
 {
   char upper_enc[enclen];
   char* up_ptr = upper_enc;
@@ -321,8 +321,8 @@
  *  hashcode proximity.
  */
 unsigned int
-GNUNET_CRYPTO_hash_distance_u32 (const GNUNET_HashCode * a,
-                                 const GNUNET_HashCode * b)
+GNUNET_CRYPTO_hash_distance_u32 (const struct GNUNET_HashCode * a,
+                                 const struct GNUNET_HashCode * b)
 {
   unsigned int x1 = (a->bits[1] - b->bits[1]) >> 16;
   unsigned int x2 = (b->bits[1] - a->bits[1]) >> 16;
@@ -339,11 +339,11 @@
  */
 void
 GNUNET_CRYPTO_hash_create_random (enum GNUNET_CRYPTO_Quality mode,
-                                  GNUNET_HashCode * result)
+                                  struct GNUNET_HashCode * result)
 {
   int i;
 
-  for (i = (sizeof (GNUNET_HashCode) / sizeof (uint32_t)) - 1; i >= 0; i--)
+  for (i = (sizeof (struct GNUNET_HashCode) / sizeof (uint32_t)) - 1; i >= 0; 
i--)
     result->bits[i] = GNUNET_CRYPTO_random_u32 (mode, UINT32_MAX);
 }
 
@@ -356,13 +356,13 @@
  * @param result set to b - a
  */
 void
-GNUNET_CRYPTO_hash_difference (const GNUNET_HashCode * a,
-                               const GNUNET_HashCode * b,
-                               GNUNET_HashCode * result)
+GNUNET_CRYPTO_hash_difference (const struct GNUNET_HashCode * a,
+                               const struct GNUNET_HashCode * b,
+                               struct GNUNET_HashCode * result)
 {
   int i;
 
-  for (i = (sizeof (GNUNET_HashCode) / sizeof (unsigned int)) - 1; i >= 0; i--)
+  for (i = (sizeof (struct GNUNET_HashCode) / sizeof (unsigned int)) - 1; i >= 
0; i--)
     result->bits[i] = b->bits[i] - a->bits[i];
 }
 
@@ -375,12 +375,12 @@
  * @param result set to a + delta
  */
 void
-GNUNET_CRYPTO_hash_sum (const GNUNET_HashCode * a,
-                        const GNUNET_HashCode * delta, GNUNET_HashCode * 
result)
+GNUNET_CRYPTO_hash_sum (const struct GNUNET_HashCode * a,
+                        const struct GNUNET_HashCode * delta, struct 
GNUNET_HashCode * result)
 {
   int i;
 
-  for (i = (sizeof (GNUNET_HashCode) / sizeof (unsigned int)) - 1; i >= 0; i--)
+  for (i = (sizeof (struct GNUNET_HashCode) / sizeof (unsigned int)) - 1; i >= 
0; i--)
     result->bits[i] = delta->bits[i] + a->bits[i];
 }
 
@@ -393,12 +393,12 @@
  * @param result set to a ^ b
  */
 void
-GNUNET_CRYPTO_hash_xor (const GNUNET_HashCode * a, const GNUNET_HashCode * b,
-                        GNUNET_HashCode * result)
+GNUNET_CRYPTO_hash_xor (const struct GNUNET_HashCode * a, const struct 
GNUNET_HashCode * b,
+                        struct GNUNET_HashCode * result)
 {
   int i;
 
-  for (i = (sizeof (GNUNET_HashCode) / sizeof (unsigned int)) - 1; i >= 0; i--)
+  for (i = (sizeof (struct GNUNET_HashCode) / sizeof (unsigned int)) - 1; i >= 
0; i--)
     result->bits[i] = a->bits[i] ^ b->bits[i];
 }
 
@@ -411,11 +411,11 @@
  * @param iv set to a valid initialization vector
  */
 void
-GNUNET_CRYPTO_hash_to_aes_key (const GNUNET_HashCode * hc,
+GNUNET_CRYPTO_hash_to_aes_key (const struct GNUNET_HashCode * hc,
                                struct GNUNET_CRYPTO_AesSessionKey *skey,
                                struct GNUNET_CRYPTO_AesInitializationVector 
*iv)
 {
-  GNUNET_assert (sizeof (GNUNET_HashCode) >=
+  GNUNET_assert (sizeof (struct GNUNET_HashCode) >=
                  GNUNET_CRYPTO_AES_KEY_LENGTH +
                  sizeof (struct GNUNET_CRYPTO_AesInitializationVector));
   memcpy (skey, hc, GNUNET_CRYPTO_AES_KEY_LENGTH);
@@ -433,16 +433,16 @@
  * @return Bit \a bit from hashcode \a code, -1 for invalid index
  */
 int
-GNUNET_CRYPTO_hash_get_bit (const GNUNET_HashCode * code, unsigned int bit)
+GNUNET_CRYPTO_hash_get_bit (const struct GNUNET_HashCode * code, unsigned int 
bit)
 {
-  GNUNET_assert (bit < 8 * sizeof (GNUNET_HashCode));
+  GNUNET_assert (bit < 8 * sizeof (struct GNUNET_HashCode));
   return (((unsigned char *) code)[bit >> 3] & (1 << (bit & 7))) > 0;
 }
 
 
 /**
  * Determine how many low order bits match in two
- * GNUNET_HashCodes.  i.e. - 010011 and 011111 share
+ * struct GNUNET_HashCodes.  i.e. - 010011 and 011111 share
  * the first two lowest order bits, and therefore the
  * return value is two (NOT XOR distance, nor how many
  * bits match absolutely!).
@@ -453,16 +453,16 @@
  * @return the number of bits that match
  */
 unsigned int
-GNUNET_CRYPTO_hash_matching_bits (const GNUNET_HashCode * first,
-                                  const GNUNET_HashCode * second)
+GNUNET_CRYPTO_hash_matching_bits (const struct GNUNET_HashCode * first,
+                                  const struct GNUNET_HashCode * second)
 {
   unsigned int i;
 
-  for (i = 0; i < sizeof (GNUNET_HashCode) * 8; i++)
+  for (i = 0; i < sizeof (struct GNUNET_HashCode) * 8; i++)
     if (GNUNET_CRYPTO_hash_get_bit (first, i) !=
         GNUNET_CRYPTO_hash_get_bit (second, i))
       return i;
-  return sizeof (GNUNET_HashCode) * 8;
+  return sizeof (struct GNUNET_HashCode) * 8;
 }
 
 
@@ -475,7 +475,7 @@
  * @return 1 if h1 > h2, -1 if h1 < h2 and 0 if h1 == h2.
  */
 int
-GNUNET_CRYPTO_hash_cmp (const GNUNET_HashCode * h1, const GNUNET_HashCode * h2)
+GNUNET_CRYPTO_hash_cmp (const struct GNUNET_HashCode * h1, const struct 
GNUNET_HashCode * h2)
 {
   unsigned int *i1;
   unsigned int *i2;
@@ -483,7 +483,7 @@
 
   i1 = (unsigned int *) h1;
   i2 = (unsigned int *) h2;
-  for (i = (sizeof (GNUNET_HashCode) / sizeof (unsigned int)) - 1; i >= 0; i--)
+  for (i = (sizeof (struct GNUNET_HashCode) / sizeof (unsigned int)) - 1; i >= 
0; i--)
   {
     if (i1[i] > i2[i])
       return 1;
@@ -504,15 +504,15 @@
  * @return -1 if h1 is closer, 1 if h2 is closer and 0 if h1==h2.
  */
 int
-GNUNET_CRYPTO_hash_xorcmp (const GNUNET_HashCode * h1,
-                           const GNUNET_HashCode * h2,
-                           const GNUNET_HashCode * target)
+GNUNET_CRYPTO_hash_xorcmp (const struct GNUNET_HashCode * h1,
+                           const struct GNUNET_HashCode * h2,
+                           const struct GNUNET_HashCode * target)
 {
   int i;
   unsigned int d1;
   unsigned int d2;
 
-  for (i = sizeof (GNUNET_HashCode) / sizeof (unsigned int) - 1; i >= 0; i--)
+  for (i = sizeof (struct GNUNET_HashCode) / sizeof (unsigned int) - 1; i >= 
0; i--)
   {
     d1 = ((unsigned int *) h1)[i] ^ ((unsigned int *) target)[i];
     d2 = ((unsigned int *) h2)[i] ^ ((unsigned int *) target)[i];
@@ -576,7 +576,7 @@
 void
 GNUNET_CRYPTO_hmac (const struct GNUNET_CRYPTO_AuthKey *key,
                     const void *plaintext, size_t plaintext_len,
-                    GNUNET_HashCode * hmac)
+                    struct GNUNET_HashCode * hmac)
 {
   gcry_md_hd_t md;
   const unsigned char *mc;

Modified: gnunet/src/util/crypto_ksk.c
===================================================================
--- gnunet/src/util/crypto_ksk.c        2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/util/crypto_ksk.c        2012-06-12 19:07:40 UTC (rev 21926)
@@ -70,11 +70,11 @@
 
 
 static void
-mpz_randomize (gcry_mpi_t n, unsigned int nbits, GNUNET_HashCode * rnd)
+mpz_randomize (gcry_mpi_t n, unsigned int nbits, struct GNUNET_HashCode * rnd)
 {
-  GNUNET_HashCode hc;
-  GNUNET_HashCode tmp;
-  int bits_per_hc = sizeof (GNUNET_HashCode) * 8;
+  struct GNUNET_HashCode hc;
+  struct GNUNET_HashCode tmp;
+  int bits_per_hc = sizeof (struct GNUNET_HashCode) * 8;
   int cnt;
   int i;
 
@@ -88,8 +88,8 @@
     int j;
 
     if (i > 0)
-      GNUNET_CRYPTO_hash (&hc, sizeof (GNUNET_HashCode), &tmp);
-    for (j = 0; j < sizeof (GNUNET_HashCode) / sizeof (uint32_t); j++)
+      GNUNET_CRYPTO_hash (&hc, sizeof (struct GNUNET_HashCode), &tmp);
+    for (j = 0; j < sizeof (struct GNUNET_HashCode) / sizeof (uint32_t); j++)
     {
 #if HAVE_GCRY_MPI_LSHIFT
       gcry_mpi_lshift (n, n, sizeof (uint32_t) * 8);
@@ -101,7 +101,7 @@
     }
     hc = tmp;
   }
-  GNUNET_CRYPTO_hash (&hc, sizeof (GNUNET_HashCode), rnd);
+  GNUNET_CRYPTO_hash (&hc, sizeof (struct GNUNET_HashCode), rnd);
   i = gcry_mpi_get_nbits (n);
   while (i > nbits)
     gcry_mpi_clear_bit (n, --i);
@@ -137,7 +137,7 @@
  * Return true if n is probably a prime
  */
 static int
-is_prime (gcry_mpi_t n, int steps, GNUNET_HashCode * hc)
+is_prime (gcry_mpi_t n, int steps, struct GNUNET_HashCode * hc)
 {
   gcry_mpi_t x;
   gcry_mpi_t y;
@@ -218,7 +218,7 @@
 
 
 static void
-gen_prime (gcry_mpi_t * ptest, unsigned int nbits, GNUNET_HashCode * hc)
+gen_prime (gcry_mpi_t * ptest, unsigned int nbits, struct GNUNET_HashCode * hc)
 {
   /* Note: 2 is not included because it can be tested more easily by
    * looking at bit 0. The last entry in this list is marked by a zero */
@@ -400,7 +400,7 @@
  */
 static void
 generate_kblock_key (KBlock_secret_key *sk, unsigned int nbits,
-                     GNUNET_HashCode * hc)
+                     struct GNUNET_HashCode * hc)
 {
   gcry_mpi_t t1, t2;
   gcry_mpi_t phi;               /* helper: (p-1)(q-1) */
@@ -490,10 +490,10 @@
  * given HashCode as input to the PRNG.
  */
 static struct KskRsaPrivateKeyBinaryEncoded *
-makeKblockKeyInternal (const GNUNET_HashCode * hc)
+makeKblockKeyInternal (const struct GNUNET_HashCode * hc)
 {
   KBlock_secret_key sk;
-  GNUNET_HashCode hx;
+  struct GNUNET_HashCode hx;
   unsigned char *pbu[6];
   gcry_mpi_t *pkv[6];
   size_t sizes[6];
@@ -564,7 +564,7 @@
   /**
    * Hash from which the key was generated.
    */
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
 
   /**
    * The encoded key.
@@ -594,13 +594,13 @@
  * @return corresponding private key; must not be freed!
  */
 struct GNUNET_CRYPTO_RsaPrivateKey *
-GNUNET_CRYPTO_rsa_key_create_from_hash (const GNUNET_HashCode * hc)
+GNUNET_CRYPTO_rsa_key_create_from_hash (const struct GNUNET_HashCode * hc)
 {
   struct KBlockKeyCacheLine *line;
   unsigned int i;
 
   for (i = 0; i < cacheSize; i++)  
-    if (0 == memcmp (hc, &cache[i]->hc, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (hc, &cache[i]->hc, sizeof (struct GNUNET_HashCode)))
       return GNUNET_CRYPTO_rsa_decode_key ((const char*) cache[i]->pke,
                                           ntohs (cache[i]->pke->len));  
   line = GNUNET_malloc (sizeof (struct KBlockKeyCacheLine));

Modified: gnunet/src/util/crypto_rsa.c
===================================================================
--- gnunet/src/util/crypto_rsa.c        2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/util/crypto_rsa.c        2012-06-12 19:07:40 UTC (rev 21926)
@@ -838,7 +838,7 @@
   size_t isize;
   size_t erroff;
 
-  GNUNET_assert (size <= sizeof (GNUNET_HashCode));
+  GNUNET_assert (size <= sizeof (struct GNUNET_HashCode));
   pubkey = public2PrivateKey (publicKey);
   if (pubkey == NULL)
     return GNUNET_SYSERR;
@@ -936,7 +936,7 @@
   gcry_sexp_t data;
   size_t ssize;
   gcry_mpi_t rval;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
   char *buff;
   int bufSize;
 
@@ -949,7 +949,7 @@
           [bufSize -
            strlen
            
("0123456789012345678901234567890123456789012345678901234567890123))")
-           - 1], &hc, sizeof (GNUNET_HashCode));
+           - 1], &hc, sizeof (struct GNUNET_HashCode));
   GNUNET_assert (0 == gcry_sexp_new (&data, buff, bufSize, 0));
   GNUNET_free (buff);
   GNUNET_assert (0 == gcry_pk_sign (&result, data, key->sexp));
@@ -988,7 +988,7 @@
   size_t size;
   gcry_mpi_t val;
   struct GNUNET_CRYPTO_RsaPrivateKey *hostkey;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
   char *buff;
   int bufSize;
   size_t erroff;
@@ -1012,7 +1012,7 @@
           [strlen (FORMATSTRING) -
            strlen
            
("0123456789012345678901234567890123456789012345678901234567890123))")],
-          &hc, sizeof (GNUNET_HashCode));
+          &hc, sizeof (struct GNUNET_HashCode));
   GNUNET_assert (0 == gcry_sexp_new (&data, buff, bufSize, 0));
   GNUNET_free (buff);
   hostkey = public2PrivateKey (publicKey);

Modified: gnunet/src/util/perf_crypto_hash.c
===================================================================
--- gnunet/src/util/perf_crypto_hash.c  2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/util/perf_crypto_hash.c  2012-06-12 19:07:40 UTC (rev 21926)
@@ -32,9 +32,9 @@
 static void
 perfHash ()
 {
-  GNUNET_HashCode hc1;
-  GNUNET_HashCode hc2;
-  GNUNET_HashCode hc3;
+  struct GNUNET_HashCode hc1;
+  struct GNUNET_HashCode hc2;
+  struct GNUNET_HashCode hc3;
   int i;
   char *buf;
 
@@ -43,8 +43,8 @@
   GNUNET_CRYPTO_hash ("foo", 3, &hc1);
   for (i = 0; i < 1024; i++)
   {
-    GNUNET_CRYPTO_hash (&hc1, sizeof (GNUNET_HashCode), &hc2);
-    GNUNET_CRYPTO_hash (&hc2, sizeof (GNUNET_HashCode), &hc1);
+    GNUNET_CRYPTO_hash (&hc1, sizeof (struct GNUNET_HashCode), &hc2);
+    GNUNET_CRYPTO_hash (&hc2, sizeof (struct GNUNET_HashCode), &hc1);
     GNUNET_CRYPTO_hash (buf, 1024 * 64, &hc3);
   }
   GNUNET_free (buf);

Modified: gnunet/src/util/pseudonym.c
===================================================================
--- gnunet/src/util/pseudonym.c 2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/util/pseudonym.c 2012-06-12 19:07:40 UTC (rev 21926)
@@ -88,7 +88,7 @@
  * @param rating rating of pseudonym
  */
 static void
-internal_notify (const GNUNET_HashCode * id,
+internal_notify (const struct GNUNET_HashCode * id,
                  const struct GNUNET_CONTAINER_MetaData *md, int rating)
 {
   struct DiscoveryCallback *pos;
@@ -169,7 +169,7 @@
  */
 static char *
 get_data_filename (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                   const char *prefix, const GNUNET_HashCode * psid)
+                   const char *prefix, const struct GNUNET_HashCode * psid)
 {
   struct GNUNET_CRYPTO_HashAsciiEncoded enc;
 
@@ -192,7 +192,7 @@
  */
 static void
 write_pseudonym_info (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                      const GNUNET_HashCode * nsid,
+                      const struct GNUNET_HashCode * nsid,
                       const struct GNUNET_CONTAINER_MetaData *meta,
                       int32_t ranking, const char *ns_name)
 {
@@ -238,7 +238,7 @@
  */
 static int
 read_info (const struct GNUNET_CONFIGURATION_Handle *cfg,
-           const GNUNET_HashCode * nsid,
+           const struct GNUNET_HashCode * nsid,
            struct GNUNET_CONTAINER_MetaData **meta, int32_t * ranking,
            char **ns_name)
 {
@@ -303,9 +303,9 @@
  */
 char *
 GNUNET_PSEUDONYM_name_uniquify (const struct GNUNET_CONFIGURATION_Handle *cfg,
-    const GNUNET_HashCode * nsid, const char *name, unsigned int *suffix)
+    const struct GNUNET_HashCode * nsid, const char *name, unsigned int 
*suffix)
 {
-  GNUNET_HashCode nh;
+  struct GNUNET_HashCode nh;
   uint64_t len;
   char *fn;
   struct GNUNET_DISK_FileHandle *fh;
@@ -328,23 +328,23 @@
                               GNUNET_DISK_PERM_USER_WRITE);
   i = 0;
   idx = -1;
-  while ((len >= sizeof (GNUNET_HashCode)) &&
-         (sizeof (GNUNET_HashCode) ==
-          GNUNET_DISK_file_read (fh, &nh, sizeof (GNUNET_HashCode))))
+  while ((len >= sizeof (struct GNUNET_HashCode)) &&
+         (sizeof (struct GNUNET_HashCode) ==
+          GNUNET_DISK_file_read (fh, &nh, sizeof (struct GNUNET_HashCode))))
   {
-    if (0 == memcmp (&nh, nsid, sizeof (GNUNET_HashCode)))
+    if (0 == memcmp (&nh, nsid, sizeof (struct GNUNET_HashCode)))
     {
       idx = i;
       break;
     }
     i++;
-    len -= sizeof (GNUNET_HashCode);
+    len -= sizeof (struct GNUNET_HashCode);
   }
   if (idx == -1)
   {
     idx = i;
-    if (sizeof (GNUNET_HashCode) !=
-        GNUNET_DISK_file_write (fh, nsid, sizeof (GNUNET_HashCode)))
+    if (sizeof (struct GNUNET_HashCode) !=
+        GNUNET_DISK_file_write (fh, nsid, sizeof (struct GNUNET_HashCode)))
       LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_WARNING, "write", fn);
   }
   GNUNET_DISK_file_close (fh);
@@ -376,7 +376,7 @@
  */
 int
 GNUNET_PSEUDONYM_get_info (const struct GNUNET_CONFIGURATION_Handle *cfg,
-    const GNUNET_HashCode * nsid, struct GNUNET_CONTAINER_MetaData **ret_meta,
+    const struct GNUNET_HashCode * nsid, struct GNUNET_CONTAINER_MetaData 
**ret_meta,
     int32_t *ret_rank, char **ret_name, int *name_is_a_dup)
 {
   struct GNUNET_CONTAINER_MetaData *meta;
@@ -450,13 +450,13 @@
  */
 int
 GNUNET_PSEUDONYM_name_to_id (const struct GNUNET_CONFIGURATION_Handle *cfg,
-    const char *ns_uname, GNUNET_HashCode * nsid)
+    const char *ns_uname, struct GNUNET_HashCode * nsid)
 {
   size_t slen;
   uint64_t len;
   unsigned int idx;
   char *name;
-  GNUNET_HashCode nh;
+  struct GNUNET_HashCode nh;
   char *fn;
   struct GNUNET_DISK_FileHandle *fh;
 
@@ -476,7 +476,7 @@
 
   if ((GNUNET_OK != GNUNET_DISK_file_test (fn) ||
        (GNUNET_OK != GNUNET_DISK_file_size (fn, &len, GNUNET_YES, 
GNUNET_YES))) ||
-      ((idx + 1) * sizeof (GNUNET_HashCode) > len))
+      ((idx + 1) * sizeof (struct GNUNET_HashCode) > len))
   {
     GNUNET_free (fn);
     return GNUNET_SYSERR;
@@ -487,10 +487,10 @@
                               GNUNET_DISK_PERM_USER_READ |
                               GNUNET_DISK_PERM_USER_WRITE);
   GNUNET_free (fn);
-  GNUNET_DISK_file_seek (fh, idx * sizeof (GNUNET_HashCode),
+  GNUNET_DISK_file_seek (fh, idx * sizeof (struct GNUNET_HashCode),
                          GNUNET_DISK_SEEK_SET);
-  if (sizeof (GNUNET_HashCode) !=
-      GNUNET_DISK_file_read (fh, nsid, sizeof (GNUNET_HashCode)))
+  if (sizeof (struct GNUNET_HashCode) !=
+      GNUNET_DISK_file_read (fh, nsid, sizeof (struct GNUNET_HashCode)))
   {
     GNUNET_DISK_file_close (fh);
     return GNUNET_SYSERR;
@@ -535,7 +535,7 @@
 {
   struct ListPseudonymClosure *c = cls;
   int ret;
-  GNUNET_HashCode id;
+  struct GNUNET_HashCode id;
   int32_t rating;
   struct GNUNET_CONTAINER_MetaData *meta;
   const char *fn;
@@ -612,7 +612,7 @@
  */
 int
 GNUNET_PSEUDONYM_rank (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                       const GNUNET_HashCode * nsid, int delta)
+                       const struct GNUNET_HashCode * nsid, int delta)
 {
   struct GNUNET_CONTAINER_MetaData *meta;
   int ret;
@@ -648,7 +648,7 @@
  */
 int
 GNUNET_PSEUDONYM_set_info (const struct GNUNET_CONFIGURATION_Handle *cfg,
-    const GNUNET_HashCode * nsid, const char *name,
+    const struct GNUNET_HashCode * nsid, const char *name,
     const struct GNUNET_CONTAINER_MetaData *md, int rank)
 {
   GNUNET_assert (cfg != NULL);
@@ -670,7 +670,7 @@
  */
 void
 GNUNET_PSEUDONYM_add (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                      const GNUNET_HashCode * id,
+                      const struct GNUNET_HashCode * id,
                       const struct GNUNET_CONTAINER_MetaData *meta)
 {
   char *name;

Modified: gnunet/src/util/test_container_bloomfilter.c
===================================================================
--- gnunet/src/util/test_container_bloomfilter.c        2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/util/test_container_bloomfilter.c        2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -36,16 +36,16 @@
  * Generate a random hashcode.
  */
 static void
-nextHC (GNUNET_HashCode * hc)
+nextHC (struct GNUNET_HashCode * hc)
 {
   GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, hc);
 }
 
 static int
-add_iterator (void *cls, GNUNET_HashCode * next)
+add_iterator (void *cls, struct GNUNET_HashCode * next)
 {
   int *ret = cls;
-  GNUNET_HashCode pos;
+  struct GNUNET_HashCode pos;
 
   if (0 == (*ret)--)
     return GNUNET_NO;
@@ -59,7 +59,7 @@
 {
   struct GNUNET_CONTAINER_BloomFilter *bf;
   struct GNUNET_CONTAINER_BloomFilter *bfi;
-  GNUNET_HashCode tmp;
+  struct GNUNET_HashCode tmp;
   int i;
   int ok1;
   int ok2;

Modified: gnunet/src/util/test_container_multihashmap.c
===================================================================
--- gnunet/src/util/test_container_multihashmap.c       2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet/src/util/test_container_multihashmap.c       2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -35,8 +35,8 @@
 testMap (int i)
 {
   struct GNUNET_CONTAINER_MultiHashMap *m;
-  GNUNET_HashCode k1;
-  GNUNET_HashCode k2;
+  struct GNUNET_HashCode k1;
+  struct GNUNET_HashCode k2;
   const char *ret;
   int j;
 

Modified: gnunet/src/util/test_crypto_hash.c
===================================================================
--- gnunet/src/util/test_crypto_hash.c  2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/util/test_crypto_hash.c  2012-06-12 19:07:40 UTC (rev 21926)
@@ -35,18 +35,18 @@
 static int
 test (int number)
 {
-  GNUNET_HashCode h1;
-  GNUNET_HashCode h2;
+  struct GNUNET_HashCode h1;
+  struct GNUNET_HashCode h2;
   struct GNUNET_CRYPTO_HashAsciiEncoded enc;
 
-  memset (&h1, number, sizeof (GNUNET_HashCode));
+  memset (&h1, number, sizeof (struct GNUNET_HashCode));
   GNUNET_CRYPTO_hash_to_enc (&h1, &enc);
   if (GNUNET_OK != GNUNET_CRYPTO_hash_from_string ((char *) &enc, &h2))
   {
     printf ("enc2hash failed!\n");
     return 1;
   }
-  if (0 != memcmp (&h1, &h2, sizeof (GNUNET_HashCode)))
+  if (0 != memcmp (&h1, &h2, sizeof (struct GNUNET_HashCode)))
     return 1;
   return 0;
 }
@@ -67,10 +67,10 @@
 {
   static struct GNUNET_CRYPTO_AesSessionKey zskey;
   static struct GNUNET_CRYPTO_AesInitializationVector ziv;
-  GNUNET_HashCode h1;
-  GNUNET_HashCode h2;
-  GNUNET_HashCode d;
-  GNUNET_HashCode s;
+  struct GNUNET_HashCode h1;
+  struct GNUNET_HashCode h2;
+  struct GNUNET_HashCode d;
+  struct GNUNET_HashCode s;
   struct GNUNET_CRYPTO_AesSessionKey skey;
   struct GNUNET_CRYPTO_AesInitializationVector iv;
 
@@ -107,10 +107,10 @@
 }
 
 static void
-finished_task (void *cls, const GNUNET_HashCode * res)
+finished_task (void *cls, const struct GNUNET_HashCode * res)
 {
   int *ret = cls;
-  GNUNET_HashCode want;
+  struct GNUNET_HashCode want;
 
   GNUNET_CRYPTO_hash (block, sizeof (block), &want);
   if (0 != memcmp (res, &want, sizeof (want)))

Modified: gnunet/src/util/test_crypto_ksk.c
===================================================================
--- gnunet/src/util/test_crypto_ksk.c   2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/util/test_crypto_ksk.c   2012-06-12 19:07:40 UTC (rev 21926)
@@ -40,7 +40,7 @@
 {
   const char *want =
       
"010601000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b73c215f7a5e6b09bec55713c901786c09324a150980e014bdb0d04426934929c3b4971a9711af5455536cd6eeb8bfa004ee904972a737455f53c752987d8c82b755bc02882b44950c4acdc1672ba74c3b94d81a4c1ea3d74e7700ae5594c3a4f3c559e4bff2df6844fac302e4b66175e14dc8bad3ce44281d2fec1a1abef06301010000";
-  GNUNET_HashCode in;
+  struct GNUNET_HashCode in;
   struct GNUNET_CRYPTO_RsaPrivateKey *hostkey;
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey;
   int i;
@@ -79,7 +79,7 @@
 static int
 testMultiKey (const char *word)
 {
-  GNUNET_HashCode in;
+  struct GNUNET_HashCode in;
   struct GNUNET_CRYPTO_RsaPrivateKey *hostkey;
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey;
   struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey1;
@@ -228,7 +228,7 @@
 main (int argc, char *argv[])
 {
   int failureCount = 0;
-  GNUNET_HashCode in;
+  struct GNUNET_HashCode in;
   struct GNUNET_CRYPTO_RsaPrivateKey *hostkey;
 
   GNUNET_log_setup ("test-crypto-ksk", "WARNING", NULL);

Modified: gnunet/src/util/test_pseudonym.c
===================================================================
--- gnunet/src/util/test_pseudonym.c    2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/util/test_pseudonym.c    2012-06-12 19:07:40 UTC (rev 21926)
@@ -35,16 +35,16 @@
 
 static struct GNUNET_CONTAINER_MetaData *meta;
 
-static GNUNET_HashCode id1;
+static struct GNUNET_HashCode id1;
 
 static int
-iter (void *cls, const GNUNET_HashCode * pseudonym,
+iter (void *cls, const struct GNUNET_HashCode * pseudonym,
       const char *name, const char *unique_name,
       const struct GNUNET_CONTAINER_MetaData *md, int rating)
 {
   int *ok = cls;
 
-  if ((0 == memcmp (pseudonym, &id1, sizeof (GNUNET_HashCode))) &&
+  if ((0 == memcmp (pseudonym, &id1, sizeof (struct GNUNET_HashCode))) &&
       (!GNUNET_CONTAINER_meta_data_test_equal (md, meta)))
   {
     *ok = GNUNET_NO;
@@ -54,7 +54,7 @@
 }
 
 static int
-noti_callback (void *cls, const GNUNET_HashCode * pseudonym,
+noti_callback (void *cls, const struct GNUNET_HashCode * pseudonym,
                const char *name, const char *unique_name,
                const struct GNUNET_CONTAINER_MetaData *md, int rating)
 {
@@ -65,7 +65,7 @@
 }
 
 static int
-fake_noti_callback (void *cls, const GNUNET_HashCode * pseudonym,
+fake_noti_callback (void *cls, const struct GNUNET_HashCode * pseudonym,
                     const char *name, const char *unique_name,
                     const struct GNUNET_CONTAINER_MetaData *md, int rating)
 {
@@ -76,7 +76,7 @@
 }
 
 static int
-false_callback (void *cls, const GNUNET_HashCode * pseudonym,
+false_callback (void *cls, const struct GNUNET_HashCode * pseudonym,
                 const char *name, const char *unique_name,
                 const struct GNUNET_CONTAINER_MetaData *md, int rating)
 {
@@ -87,11 +87,11 @@
 main (int argc, char *argv[])
 {
   int ok;
-  GNUNET_HashCode rid1;
-  GNUNET_HashCode id2;
-  GNUNET_HashCode rid2;
-  GNUNET_HashCode fid;
-  GNUNET_HashCode id3;
+  struct GNUNET_HashCode rid1;
+  struct GNUNET_HashCode id2;
+  struct GNUNET_HashCode rid2;
+  struct GNUNET_HashCode fid;
+  struct GNUNET_HashCode id3;
 
   int old;
   int newVal;
@@ -174,8 +174,8 @@
   CHECK (GNUNET_SYSERR == GNUNET_PSEUDONYM_name_to_id (cfg, name1, &rid1));
   CHECK (GNUNET_OK == GNUNET_PSEUDONYM_name_to_id (cfg, name2_unique, &rid2));
   CHECK (GNUNET_OK == GNUNET_PSEUDONYM_name_to_id (cfg, name1_unique, &rid1));
-  CHECK (0 == memcmp (&id1, &rid1, sizeof (GNUNET_HashCode)));
-  CHECK (0 == memcmp (&id2, &rid2, sizeof (GNUNET_HashCode)));
+  CHECK (0 == memcmp (&id1, &rid1, sizeof (struct GNUNET_HashCode)));
+  CHECK (0 == memcmp (&id2, &rid2, sizeof (struct GNUNET_HashCode)));
 
   GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &fid);
   GNUNET_log_skip (1, GNUNET_NO);

Modified: gnunet/src/vpn/gnunet-service-vpn.c
===================================================================
--- gnunet/src/vpn/gnunet-service-vpn.c 2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/vpn/gnunet-service-vpn.c 2012-06-12 19:07:40 UTC (rev 21926)
@@ -62,7 +62,7 @@
    * Key under which this entry is in the 'destination_map' (only valid
    * if 'heap_node != NULL').
    */
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
 
   /**
    * Pre-allocated tunnel for this destination, or NULL for none.
@@ -91,7 +91,7 @@
       /**
        * The description of the service (only used for service tunnels).
        */
-      GNUNET_HashCode service_descriptor;
+      struct GNUNET_HashCode service_descriptor;
 
       /**
        * Peer offering the service.
@@ -371,7 +371,7 @@
 static void
 get_destination_key_from_ip (int af,
                             const void *address,
-                            GNUNET_HashCode *key)
+                            struct GNUNET_HashCode *key)
 {
   switch (af)
   {
@@ -411,11 +411,11 @@
                         uint16_t source_port,
                         const void *destination_ip,
                         uint16_t destination_port,
-                        GNUNET_HashCode *key)
+                        struct GNUNET_HashCode *key)
 {
   char *off;
 
-  memset (key, 0, sizeof (GNUNET_HashCode));
+  memset (key, 0, sizeof (struct GNUNET_HashCode));
   /* the GNUnet hashmap only uses the first sizeof(unsigned int) of the hash,
      so we put the ports in there (and hope for few collisions) */
   off = (char*) key;
@@ -501,7 +501,7 @@
 static void
 free_tunnel_state (struct TunnelState *ts)
 {
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   struct TunnelMessageQueueEntry *tnq;
   struct GNUNET_MESH_Tunnel *tunnel;
 
@@ -872,7 +872,7 @@
              const void *payload,
              size_t payload_length)
 {
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   struct TunnelState *ts;
   struct TunnelMessageQueueEntry *tnq;
   size_t alen;
@@ -1510,7 +1510,7 @@
 {
   const struct GNUNET_TUN_Layer2PacketHeader *tun;
   size_t mlen;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   struct DestinationEntry *de;
 
   GNUNET_STATISTICS_update (stats,
@@ -2336,7 +2336,7 @@
   struct in_addr addr;
   struct in_addr mask;
   struct in_addr rnd;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   unsigned int tries;
 
   GNUNET_assert (1 == inet_pton (AF_INET, ipv4addr, &addr));
@@ -2387,7 +2387,7 @@
   struct in6_addr mask;
   struct in6_addr rnd;
   int i;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   unsigned int tries;
 
   GNUNET_assert (1 == inet_pton (AF_INET6, ipv6addr, &addr));
@@ -2564,7 +2564,7 @@
   struct in6_addr v6;
   void *addr;
   struct DestinationEntry *de;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   struct TunnelState *ts;
   
   /* validate and parse request */
@@ -2703,7 +2703,7 @@
   struct in6_addr v6;
   void *addr;
   struct DestinationEntry *de;
-  GNUNET_HashCode key;
+  struct GNUNET_HashCode key;
   struct TunnelState *ts;
   
   /*  parse request */
@@ -2835,7 +2835,7 @@
  */
 static int
 cleanup_destination (void *cls,
-                    const GNUNET_HashCode *key,
+                    const struct GNUNET_HashCode *key,
                     void *value)
 {
   struct DestinationEntry *de = value;
@@ -2855,7 +2855,7 @@
  */
 static int
 cleanup_tunnel (void *cls,
-               const GNUNET_HashCode *key,
+               const struct GNUNET_HashCode *key,
                void *value)
 {
   struct TunnelState *ts = value;
@@ -2940,7 +2940,7 @@
  */
 static int
 cleanup_tunnel_client (void *cls,
-                      const GNUNET_HashCode *key,
+                      const struct GNUNET_HashCode *key,
                       void *value)
 {
   struct GNUNET_SERVER_Client *client = cls;
@@ -2965,7 +2965,7 @@
  */
 static int
 cleanup_destination_client (void *cls,
-                           const GNUNET_HashCode *key,
+                           const struct GNUNET_HashCode *key,
                            void *value)
 {
   struct GNUNET_SERVER_Client *client = cls;

Modified: gnunet/src/vpn/gnunet-vpn.c
===================================================================
--- gnunet/src/vpn/gnunet-vpn.c 2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/vpn/gnunet-vpn.c 2012-06-12 19:07:40 UTC (rev 21926)
@@ -173,7 +173,7 @@
   int dst_af;
   int req_af;
   struct GNUNET_PeerIdentity peer; 
-  GNUNET_HashCode sd;
+  struct GNUNET_HashCode sd;
   const void *addr;
   struct in_addr v4;
   struct in6_addr v6;

Modified: gnunet/src/vpn/vpn.h
===================================================================
--- gnunet/src/vpn/vpn.h        2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/vpn/vpn.h        2012-06-12 19:07:40 UTC (rev 21926)
@@ -115,7 +115,7 @@
   /**
    * Service descriptor identifying the service.
    */
-  GNUNET_HashCode service_descriptor;
+  struct GNUNET_HashCode service_descriptor;
 
   /**
    * Unique ID to match a future response to this request.

Modified: gnunet/src/vpn/vpn_api.c
===================================================================
--- gnunet/src/vpn/vpn_api.c    2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet/src/vpn/vpn_api.c    2012-06-12 19:07:40 UTC (rev 21926)
@@ -120,7 +120,7 @@
   /**
    * For service redirection, service descriptor.
    */
-  GNUNET_HashCode serv;                     
+  struct GNUNET_HashCode serv;              
 
   /**
    * At what time should the created service mapping expire?
@@ -464,7 +464,7 @@
                             int result_af,
                             uint8_t protocol,
                             const struct GNUNET_PeerIdentity *peer,
-                            const GNUNET_HashCode *serv,
+                            const struct GNUNET_HashCode *serv,
                             int nac,
                             struct GNUNET_TIME_Absolute expiration_time,
                             GNUNET_VPN_AllocationCallback cb,

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk_advertise-pseudonym.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk_advertise-pseudonym.c       2012-06-12 
19:02:54 UTC (rev 21925)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk_advertise-pseudonym.c       2012-06-12 
19:07:40 UTC (rev 21926)
@@ -265,7 +265,7 @@
 static void
 add_to_list (void *cls,
             const char *name,
-            const GNUNET_HashCode * id)
+            const struct GNUNET_HashCode * id)
 {
   GtkListStore *ls = cls;
   GtkTreeIter iter;

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk_common.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk_common.c    2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk_common.c    2012-06-12 19:07:40 UTC (rev 
21926)
@@ -322,8 +322,8 @@
   GtkLabel *sel_namespace_label;
   GtkTreePath *treepath;
   GtkEntry *query_entry;
-  GNUNET_HashCode *nsid;
-  GNUNET_HashCode want;
+  struct GNUNET_HashCode *nsid;
+  struct GNUNET_HashCode want;
   
   if (GNUNET_FS_uri_test_chk (uri) || GNUNET_FS_uri_test_loc (uri))
   {
@@ -366,7 +366,7 @@
     while ( ( (NULL == nsid) ||
              (0 != memcmp (nsid,
                            &want,
-                           sizeof (GNUNET_HashCode))) ) &&
+                           sizeof (struct GNUNET_HashCode))) ) &&
            (gtk_tree_model_iter_next (namespace_treestore, &iter)) )
       gtk_tree_model_get (namespace_treestore, &iter,
                           GNUNET_GTK_FS_MAIN_WINDOW_SEARCH_NAMESPACE_MC_KEY,
@@ -375,7 +375,7 @@
     if ( (NULL == nsid) ||
         (0 != memcmp (nsid,
                       &want,
-                      sizeof (GNUNET_HashCode))) )
+                      sizeof (struct GNUNET_HashCode))) )
     {
       /* namespace unknown / not in list!? */
       GNUNET_break (0);
@@ -448,7 +448,7 @@
  */
 static int
 find_largest_namespace_rating_iterator (void *cls,
-    const GNUNET_HashCode *pseudonym, const char *name,
+    const struct GNUNET_HashCode *pseudonym, const char *name,
     const char *unique_name,
     const struct GNUNET_CONTAINER_MetaData *md, int rating)
 {

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk_main-window-namespace-dropdown.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk_main-window-namespace-dropdown.c    
2012-06-12 19:02:54 UTC (rev 21925)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk_main-window-namespace-dropdown.c    
2012-06-12 19:07:40 UTC (rev 21926)
@@ -292,14 +292,14 @@
  * @return GNUNET_OK to continue iteration, GNUNET_SYSERR to abort
  */
 static int
-add_namespace_to_ts (void *cls, const GNUNET_HashCode * pseudonym,
+add_namespace_to_ts (void *cls, const struct GNUNET_HashCode * pseudonym,
                      const char *name, const char *unique_name,
                      const struct GNUNET_CONTAINER_MetaData *md, int rating)
 {
   GtkTreeStore *ts = cls;
   char *root;
   char *ns_name, *unique_ns_name;
-  GNUNET_HashCode *nsid;
+  struct GNUNET_HashCode *nsid;
   char *description;
   int desc_is_a_dup;
   char *uris;
@@ -315,7 +315,7 @@
   unique_ns_name = GNUNET_PSEUDONYM_name_uniquify (
       GNUNET_FS_GTK_get_configuration (), pseudonym, ns_name, NULL);
   GNUNET_free (ns_name);
-  nsid = GNUNET_malloc (sizeof (GNUNET_HashCode));
+  nsid = GNUNET_malloc (sizeof (struct GNUNET_HashCode));
   *nsid = *pseudonym;
   root = NULL;
   uris = GNUNET_CONTAINER_meta_data_get_by_type (md, EXTRACTOR_METATYPE_URI);
@@ -350,7 +350,7 @@
 {
   GtkTreeIter iter;
   GtkTreePath *treepath;
-  GNUNET_HashCode *key = NULL, *selected_ns_id;
+  struct GNUNET_HashCode *key = NULL, *selected_ns_id;
 
   gboolean found = FALSE;
   gchar *value = NULL;
@@ -377,8 +377,8 @@
   selected_ns_id = NULL;
   if (key != NULL)
   {
-    selected_ns_id = GNUNET_malloc (sizeof (GNUNET_HashCode));
-    memcpy (selected_ns_id, key, sizeof (GNUNET_HashCode));
+    selected_ns_id = GNUNET_malloc (sizeof (struct GNUNET_HashCode));
+    memcpy (selected_ns_id, key, sizeof (struct GNUNET_HashCode));
   }
 
   if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (
@@ -429,7 +429,7 @@
                           -1);
       if (selected_ns_id == NULL)
         found = TRUE;
-      else if (key != NULL && memcmp (key, selected_ns_id, sizeof 
(GNUNET_HashCode)) == 0)
+      else if (key != NULL && memcmp (key, selected_ns_id, sizeof (struct 
GNUNET_HashCode)) == 0)
         found = TRUE;
       if (found || (TRUE != gtk_tree_model_iter_next (GTK_TREE_MODEL (
         main_ctx->search_ns_treestore), &iter)))

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk_main-window-search.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk_main-window-search.c        2012-06-12 
19:02:54 UTC (rev 21925)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk_main-window-search.c        2012-06-12 
19:07:40 UTC (rev 21926)
@@ -39,7 +39,7 @@
   guint anonymity_level;
   gchar *keywords;
   gchar *mime_keyword;
-  GNUNET_HashCode *nsid;
+  struct GNUNET_HashCode *nsid;
   struct GNUNET_FS_Uri *uri;
 
   /* get anonymity level */

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk_namespace_manager.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk_namespace_manager.c 2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk_namespace_manager.c 2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -199,7 +199,7 @@
 {
   struct GNUNET_GTK_NamespaceManagerContext *ctx = user_data;
   GtkTreeIter iter;
-  GNUNET_HashCode *nsid;
+  struct GNUNET_HashCode *nsid;
   GtkTreeRowReference *order_row, *known_row;
   struct GNUNET_CONTAINER_MetaData *md;
 
@@ -238,7 +238,7 @@
 {
   struct GNUNET_GTK_NamespaceManagerContext *ctx = user_data;
   GtkTreeIter known_iter, order_iter;
-  GNUNET_HashCode *nsid;
+  struct GNUNET_HashCode *nsid;
   int32_t old_rank, new_rank;
   GtkTreeRowReference *order_row, *known_row;
 
@@ -495,7 +495,7 @@
     if (gtk_tree_model_get_iter (GTK_TREE_MODEL (ctx->known_ns_store),
         &iter, tree_path))
     {
-      GNUNET_HashCode *nsid;
+      struct GNUNET_HashCode *nsid;
       gtk_tree_model_get (GTK_TREE_MODEL (ctx->known_ns_store), &iter,
           GNUNET_GTK_KNOWN_NAMESPACES_IDENTIFIER_BIN_COLUMN, &nsid,
           GNUNET_GTK_KNOWN_NAMESPACES_ORDER_ROW_REFERENCE_COLUMN, &order_row,
@@ -590,18 +590,18 @@
  * @return GNUNET_OK to continue iteration, GNUNET_SYSERR to abort
  */
 static int
-populate_known_ns_list (void *cls, const GNUNET_HashCode *pseudonym,
+populate_known_ns_list (void *cls, const struct GNUNET_HashCode *pseudonym,
     const char *name, const char *unique_name,
     const struct GNUNET_CONTAINER_MetaData *md, int rating)
 {
   struct GNUNET_GTK_NamespaceManagerContext *ctx = cls;
-  GNUNET_HashCode *nsid;
+  struct GNUNET_HashCode *nsid;
   struct GNUNET_CRYPTO_HashAsciiEncoded identifier;
   GtkTreeIter known_iter, order_iter;
   struct GNUNET_CONTAINER_MetaData *md_copy;
   char *non_null_name, *non_null_unique_name;
 
-  nsid = GNUNET_malloc (sizeof (GNUNET_HashCode));
+  nsid = GNUNET_malloc (sizeof (struct GNUNET_HashCode));
   *nsid = *pseudonym;
 
   GNUNET_CRYPTO_hash_to_enc (nsid, &identifier);
@@ -652,7 +652,7 @@
   GtkTreeIter iter;
   gint i;
   gint row_count;
-  GNUNET_HashCode *nsid;
+  struct GNUNET_HashCode *nsid;
   char *name;
   int32_t rank;
   struct GNUNET_CONTAINER_MetaData *md;
@@ -686,7 +686,7 @@
   GtkTreeIter iter;
   gint i;
   gint row_count;
-  GNUNET_HashCode *nsid;
+  struct GNUNET_HashCode *nsid;
   GtkTreeRowReference *order_row;
   struct GNUNET_CONTAINER_MetaData *md;
 
@@ -764,13 +764,13 @@
 mark_as_mine (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter,
     gpointer data)
 {
-  const GNUNET_HashCode *mine_id = data;
-  const GNUNET_HashCode *ns_id;
+  const struct GNUNET_HashCode *mine_id = data;
+  const struct GNUNET_HashCode *ns_id;
 
   gtk_tree_model_get (model, iter,
       GNUNET_GTK_KNOWN_NAMESPACES_IDENTIFIER_BIN_COLUMN, &ns_id, -1);
 
-  if (memcmp (ns_id, mine_id, sizeof (GNUNET_HashCode)) != 0)
+  if (memcmp (ns_id, mine_id, sizeof (struct GNUNET_HashCode)) != 0)
     return FALSE;
 
   gtk_list_store_set (GTK_LIST_STORE (model), iter,
@@ -789,7 +789,7 @@
  */
 static void
 mark_namespaces_as_mine (void *cls, const char *name,
-    const GNUNET_HashCode * id)
+    const struct GNUNET_HashCode * id)
 {
   struct GNUNET_GTK_NamespaceManagerContext *ctx = cls;
 

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk_publish-dialog.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk_publish-dialog.c    2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk_publish-dialog.c    2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -2031,7 +2031,7 @@
   GtkTreeIter titer;
   char *desc;
   int desc_is_a_dup;
-  GNUNET_HashCode hc;
+  struct GNUNET_HashCode hc;
 
   uc->update_called = GNUNET_YES;
   GNUNET_CRYPTO_hash (last_id, strlen (last_id), &hc);
@@ -2103,7 +2103,7 @@
  * @param id identity of the namespace to add
  */
 static void
-add_namespace_to_ts (void *cls, const char *name, const GNUNET_HashCode * id)
+add_namespace_to_ts (void *cls, const char *name, const struct GNUNET_HashCode 
* id)
 {
   GtkTreeStore *ts = cls;
   struct UpdateableContext uc;

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk_unindex.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk_unindex.c   2012-06-12 19:02:54 UTC (rev 
21925)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk_unindex.c   2012-06-12 19:07:40 UTC (rev 
21926)
@@ -309,7 +309,7 @@
  */
 static int 
 add_indexed_file (void *cls, const char *filename,
-                 const GNUNET_HashCode * file_id)
+                 const struct GNUNET_HashCode * file_id)
 {
   struct UnindexDialogContext *udc = cls;
   GtkTreeIter iter;

Modified: gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c
===================================================================
--- gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c       2012-06-12 19:02:54 UTC 
(rev 21925)
+++ gnunet-gtk/src/peerinfo/gnunet-peerinfo-gtk.c       2012-06-12 19:07:40 UTC 
(rev 21926)
@@ -184,7 +184,7 @@
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-free_paths (void *cls, const GNUNET_HashCode * key, void *value)
+free_paths (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct PeerInfo *info = value;
 

Modified: gnunet-gtk/src/setup/gnunet-setup-datacache-config.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup-datacache-config.c        2012-06-12 
19:02:54 UTC (rev 21925)
+++ gnunet-gtk/src/setup/gnunet-setup-datacache-config.c        2012-06-12 
19:07:40 UTC (rev 21926)
@@ -30,7 +30,7 @@
  * Stub implementation of the 'DeleteNotifyCallback' callback.
  */
 static void
-dnc_dummy (void *cls, const GNUNET_HashCode * key, size_t size)
+dnc_dummy (void *cls, const struct GNUNET_HashCode * key, size_t size)
 {
   /* do nothing */
 }




reply via email to

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