GNUnet
0.21.1
004.c
Go to the documentation of this file.
1
struct
GNUNET_MessageHeader
2
{
3
uint16_t
size
GNUNET_PACKED
;
4
uint16_t
type
GNUNET_PACKED
;
5
};
GNUNET_PACKED
#define GNUNET_PACKED
gcc-ism to get packed structs.
Definition:
gnunet_common.h:232
GNUNET_MessageHeader
Header for all communications.
Definition:
gnunet_common.h:314
GNUNET_MessageHeader::type
uint16_t type
The type of the message (GNUNET_MESSAGE_TYPE_XXXX), in big-endian format.
Definition:
gnunet_common.h:324
GNUNET_MessageHeader::size
uint16_t size
The length of the struct (in bytes, including the length field itself), in big-endian format.
Definition:
gnunet_common.h:319
doc
old
tutorial
examples
004.c
Generated by
1.9.4