aboutsummaryrefslogtreecommitdiff
path: root/src/hello/hello.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-31 15:42:37 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-31 15:42:37 +0000
commit406c7d2d2d126c994a1fff13470b1f96439c6f9d (patch)
treedc5e7c62a706d03cee32734a19e183b9eddf88e2 /src/hello/hello.c
parent8b2a3260e6aafc2ad31c8b7bff5f7d25b57bfc14 (diff)
downloadgnunet-406c7d2d2d126c994a1fff13470b1f96439c6f9d.tar.gz
gnunet-406c7d2d2d126c994a1fff13470b1f96439c6f9d.zip
convering more services to new core MQ API
Diffstat (limited to 'src/hello/hello.c')
-rw-r--r--src/hello/hello.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/hello/hello.c b/src/hello/hello.c
index b200846f5..f9b21aa4f 100644
--- a/src/hello/hello.c
+++ b/src/hello/hello.c
@@ -30,42 +30,6 @@
30#include "gnunet_util_lib.h" 30#include "gnunet_util_lib.h"
31#include "gnunet_transport_plugin.h" 31#include "gnunet_transport_plugin.h"
32 32
33GNUNET_NETWORK_STRUCT_BEGIN
34
35/**
36 * A HELLO message is used to exchange information about
37 * transports with other peers. This struct is always
38 * followed by the actual network addresses which have
39 * the format:
40 *
41 * 1) transport-name (0-terminated)
42 * 2) address-length (uint16_t, network byte order; possibly
43 * unaligned!)
44 * 3) address expiration (`struct GNUNET_TIME_AbsoluteNBO`); possibly
45 * unaligned!)
46 * 4) address (address-length bytes; possibly unaligned!)
47 */
48struct GNUNET_HELLO_Message
49{
50 /**
51 * Type will be #GNUNET_MESSAGE_TYPE_HELLO.
52 */
53 struct GNUNET_MessageHeader header;
54
55 /**
56 * Use in F2F mode: Do not gossip this HELLO message
57 */
58 uint32_t friend_only GNUNET_PACKED;
59
60 /**
61 * The public key of the peer.
62 */
63 struct GNUNET_CRYPTO_EddsaPublicKey publicKey;
64
65};
66GNUNET_NETWORK_STRUCT_END
67
68
69/** 33/**
70 * Context used for building our own URI. 34 * Context used for building our own URI.
71 */ 35 */