diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-21 09:40:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-21 09:40:15 +0000 |
commit | c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac (patch) | |
tree | 02e313a83c4416f07fadf650d33aff09dfe46130 /src/dv/dv.h | |
parent | 40e5092e9a5db88b4c9b62cb341596fbf6ce1cf8 (diff) |
fixing 2012: network structure alignment now forced to be correct even on W32 using #pragma pack from gcc 4.x
Diffstat (limited to 'src/dv/dv.h')
-rw-r--r-- | src/dv/dv.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dv/dv.h b/src/dv/dv.h index 5690cf6ccc..0d42505bcb 100644 --- a/src/dv/dv.h +++ b/src/dv/dv.h @@ -44,6 +44,8 @@ typedef void (*GNUNET_DV_MessageReceivedHandler) (void *cls, char *sender_address, size_t sender_address_len); +GNUNET_NETWORK_STRUCT_BEGIN + /** * DV Message, contains a message that was received * via DV for this peer! Internal. @@ -255,7 +257,7 @@ typedef struct uint32_t peer_id GNUNET_PACKED; } p2p_dv_MESSAGE_Disconnect; - +GNUNET_NETWORK_STRUCT_END struct GNUNET_DV_Handle * GNUNET_DV_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, |