X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ffs%2Fgnunet-service-fs.h;h=70e65186d11a1173249853a106908bc4293a33ff;hb=5f48d602887285cff6c14358a1d1c6f004a68510;hp=5a275c5ff870a88fbd7924be3f0c16b6368f977b;hpb=35885b75d0d876cb20a68706d909ad2657be2c2b;p=oweals%2Fgnunet.git diff --git a/src/fs/gnunet-service-fs.h b/src/fs/gnunet-service-fs.h index 5a275c5ff..70e65186d 100644 --- a/src/fs/gnunet-service-fs.h +++ b/src/fs/gnunet-service-fs.h @@ -33,9 +33,6 @@ #include "gnunet_block_lib.h" #include "fs.h" -#define DEBUG_FS GNUNET_YES - -#define DEBUG_FS_CLIENT GNUNET_EXTRA_LOGGING /** * By which amount do we decrement the TTL for simple forwarding / @@ -82,6 +79,8 @@ #define GET_MESSAGE_BIT_TRANSMIT_TO 4 +GNUNET_NETWORK_STRUCT_BEGIN + /** * Message sent between peers asking for FS-content. */ @@ -120,7 +119,7 @@ struct GetMessage /** * 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. */ @@ -130,7 +129,7 @@ struct GetMessage * Hashcodes of the file(s) we're looking for. * Details depend on the query type. */ - GNUNET_HashCode query GNUNET_PACKED; + 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 @@ -161,7 +160,7 @@ struct MigrationStopMessage struct GNUNET_TIME_RelativeNBO duration; }; - +GNUNET_NETWORK_STRUCT_END /** * A connected peer.