diff options
Diffstat (limited to 'src/peerinfo/peerinfo.h')
-rw-r--r-- | src/peerinfo/peerinfo.h | 37 |
1 files changed, 6 insertions, 31 deletions
diff --git a/src/peerinfo/peerinfo.h b/src/peerinfo/peerinfo.h index d8d645b13..87860097a 100644 --- a/src/peerinfo/peerinfo.h +++ b/src/peerinfo/peerinfo.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2009 Christian Grothoff (and other contributing authors) | 3 | (C) 2009, 2010 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -31,8 +31,7 @@ | |||
31 | 31 | ||
32 | /** | 32 | /** |
33 | * Message requesting a listing of all known peers, | 33 | * Message requesting a listing of all known peers, |
34 | * possibly modified by the specified trust value | 34 | * possibly restricted to the specified peer identity. |
35 | * and restricted to the specified peer identity. | ||
36 | */ | 35 | */ |
37 | struct ListPeerMessage | 36 | struct ListPeerMessage |
38 | { | 37 | { |
@@ -43,10 +42,9 @@ struct ListPeerMessage | |||
43 | struct GNUNET_MessageHeader header; | 42 | struct GNUNET_MessageHeader header; |
44 | 43 | ||
45 | /** | 44 | /** |
46 | * How much to change the trust in each returned peer, | 45 | * Always zero. |
47 | * in network byte order. | ||
48 | */ | 46 | */ |
49 | int32_t trust_change GNUNET_PACKED; | 47 | uint32_t reserved GNUNET_PACKED; |
50 | 48 | ||
51 | /** | 49 | /** |
52 | * Restrict to peers with this identity (optional | 50 | * Restrict to peers with this identity (optional |
@@ -58,28 +56,6 @@ struct ListPeerMessage | |||
58 | 56 | ||
59 | 57 | ||
60 | /** | 58 | /** |
61 | * Message requesting a listing of all known peers, | ||
62 | * possibly modified by the specified trust value | ||
63 | * and restricted to the specified peer identity. | ||
64 | */ | ||
65 | struct ListAllPeersMessage | ||
66 | { | ||
67 | |||
68 | /** | ||
69 | * Type will be GNUNET_MESSAGE_TYPE_PEERINFO_GET | ||
70 | */ | ||
71 | struct GNUNET_MessageHeader header; | ||
72 | |||
73 | /** | ||
74 | * How much to change the trust in each returned peer, | ||
75 | * in network byte order. | ||
76 | */ | ||
77 | int32_t trust_change GNUNET_PACKED; | ||
78 | |||
79 | }; | ||
80 | |||
81 | |||
82 | /** | ||
83 | * Message used to inform the client about | 59 | * Message used to inform the client about |
84 | * a particular peer; this message is optionally followed | 60 | * a particular peer; this message is optionally followed |
85 | * by a HELLO message for the respective peer (if available). | 61 | * by a HELLO message for the respective peer (if available). |
@@ -95,10 +71,9 @@ struct InfoMessage | |||
95 | struct GNUNET_MessageHeader header; | 71 | struct GNUNET_MessageHeader header; |
96 | 72 | ||
97 | /** | 73 | /** |
98 | * Amount of trust we now have in the peer, | 74 | * Always zero. |
99 | * in network byte order. | ||
100 | */ | 75 | */ |
101 | uint32_t trust GNUNET_PACKED; | 76 | uint32_t reserved GNUNET_PACKED; |
102 | 77 | ||
103 | /** | 78 | /** |
104 | * About which peer are we talking here? | 79 | * About which peer are we talking here? |