diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-04-21 20:19:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-04-21 20:19:43 +0000 |
commit | 84e15afe4933ee2ca62e3e111ca261c3a986c157 (patch) | |
tree | 8a9cd9a06b723b940f6d11b0272f5eb395db39c4 /src/peerinfo/peerinfo.h | |
parent | a06d7742d5a48229767c152f9466432d17e162de (diff) | |
download | gnunet-84e15afe4933ee2ca62e3e111ca261c3a986c157.tar.gz gnunet-84e15afe4933ee2ca62e3e111ca261c3a986c157.zip |
activating new peerinfo API
Diffstat (limited to 'src/peerinfo/peerinfo.h')
-rw-r--r-- | src/peerinfo/peerinfo.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/peerinfo/peerinfo.h b/src/peerinfo/peerinfo.h index 607aad4db..3e959a6c7 100644 --- a/src/peerinfo/peerinfo.h +++ b/src/peerinfo/peerinfo.h | |||
@@ -30,31 +30,6 @@ | |||
30 | #define DEBUG_PEERINFO GNUNET_NO | 30 | #define DEBUG_PEERINFO GNUNET_NO |
31 | 31 | ||
32 | /** | 32 | /** |
33 | * Add the given peer to the list. This message | ||
34 | * is always followed by a verified HELLO message. | ||
35 | */ | ||
36 | struct PeerAddMessage | ||
37 | { | ||
38 | |||
39 | /** | ||
40 | * Type will be GNUNET_MESSAGE_TYPE_PEERINFO_ADD | ||
41 | */ | ||
42 | struct GNUNET_MessageHeader header; | ||
43 | |||
44 | /** | ||
45 | * Always zero. | ||
46 | */ | ||
47 | uint32_t reserved GNUNET_PACKED; | ||
48 | |||
49 | /** | ||
50 | * For which peer do we provide a HELLO message here? | ||
51 | */ | ||
52 | struct GNUNET_PeerIdentity peer; | ||
53 | |||
54 | }; | ||
55 | |||
56 | |||
57 | /** | ||
58 | * Message requesting a listing of all known peers, | 33 | * Message requesting a listing of all known peers, |
59 | * possibly modified by the specified trust value | 34 | * possibly modified by the specified trust value |
60 | * and restricted to the specified peer identity. | 35 | * and restricted to the specified peer identity. |