GNUnet
0.22.2
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_MessageHeader::type
uint16_t type
The type of the message (GNUNET_MESSAGE_TYPE_XXXX), in big-endian format.
Definition:
gnunet_common.h:330
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:325
GNUNET_PACKED
#define GNUNET_PACKED
gcc-ism to get packed structs.
Definition:
gnunet_common.h:238
GNUNET_MessageHeader
Header for all communications.
Definition:
gnunet_common.h:320
doc
old
tutorial
examples
004.c
Generated by
1.9.4