aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-02-16 16:26:48 +0000
committerChristian Grothoff <christian@grothoff.org>2010-02-16 16:26:48 +0000
commit67342da57d1baeea6a486b9bf9feac670d53c8d2 (patch)
tree3206ba2310922e4e9ff6e51affbad3ae99bc5fb9 /src/include
parent17c88acd603c4f8ee1805c0db851cc9ce112f75f (diff)
downloadgnunet-67342da57d1baeea6a486b9bf9feac670d53c8d2.tar.gz
gnunet-67342da57d1baeea6a486b9bf9feac670d53c8d2.zip
making things nice by breaking tons
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_protocols.h24
-rw-r--r--src/include/gnunet_transport_service.h4
2 files changed, 6 insertions, 22 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 249ba3de0..e43143168 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -164,48 +164,36 @@ extern "C"
164#define GNUNET_MESSAGE_TYPE_TRANSPORT_SET_QUOTA 26 164#define GNUNET_MESSAGE_TYPE_TRANSPORT_SET_QUOTA 26
165 165
166/** 166/**
167 * Message telling transport to try to connect to the
168 * given peer.
169 */
170#define GNUNET_MESSAGE_TYPE_TRANSPORT_TRY_CONNECT 27
171
172/**
173 * Response to another peer confirming that communication was
174 * established.
175 */
176#define GNUNET_MESSAGE_TYPE_TRANSPORT_ACK 28
177
178/**
179 * Request to look addresses of peers in server. 167 * Request to look addresses of peers in server.
180 */ 168 */
181#define GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_LOOKUP 29 169#define GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_LOOKUP 27
182 170
183/** 171/**
184 * Response to the address lookup request. 172 * Response to the address lookup request.
185 */ 173 */
186#define GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_REPLY 30 174#define GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_REPLY 28
187 175
188/** 176/**
189 * Change in blacklisting status of a peer. 177 * Change in blacklisting status of a peer.
190 */ 178 */
191#define GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST 31 179#define GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST 29
192 180
193/** 181/**
194 * Request to transport to notify us about any blacklisting status 182 * Request to transport to notify us about any blacklisting status
195 * changes on this connection (and to immediately send all 183 * changes on this connection (and to immediately send all
196 * active blacklist entries). 184 * active blacklist entries).
197 */ 185 */
198#define GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_NOTIFY 32 186#define GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_NOTIFY 30
199 187
200/** 188/**
201 * Transport PING message 189 * Transport PING message
202 */ 190 */
203#define GNUNET_MESSAGE_TYPE_TRANSPORT_PING 33 191#define GNUNET_MESSAGE_TYPE_TRANSPORT_PING 32
204 192
205/** 193/**
206 * Transport PONG message 194 * Transport PONG message
207 */ 195 */
208#define GNUNET_MESSAGE_TYPE_TRANSPORT_PONG 34 196#define GNUNET_MESSAGE_TYPE_TRANSPORT_PONG 33
209 197
210/** 198/**
211 * Request addition of a HELLO 199 * Request addition of a HELLO
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h
index 650dd2e68..7a3ccbf7b 100644
--- a/src/include/gnunet_transport_service.h
+++ b/src/include/gnunet_transport_service.h
@@ -22,10 +22,6 @@
22 * @file include/gnunet_transport_service.h 22 * @file include/gnunet_transport_service.h
23 * @brief low-level P2P IO 23 * @brief low-level P2P IO
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 *
26 * TODO:
27 * - define API for blacklisting, un-blacklisting and notifications
28 * about blacklisted peers
29 */ 25 */
30 26
31#ifndef GNUNET_TRANSPORT_SERVICE_H 27#ifndef GNUNET_TRANSPORT_SERVICE_H