aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-06 20:40:22 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-06 20:40:22 +0000
commit372124795880b0d925ee04d11b38f64a49c6ed94 (patch)
treeb9242ea37b5b00a19618fe2ee13bc8613607c245 /src/include
parentaab59b27c0226b3028bf093b9e5426455c96ee81 (diff)
downloadgnunet-372124795880b0d925ee04d11b38f64a49c6ed94.tar.gz
gnunet-372124795880b0d925ee04d11b38f64a49c6ed94.zip
new message types
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_protocols.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index ce1ae2190..9381bb222 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -190,12 +190,26 @@ extern "C"
190#define GNUNET_MESSAGE_TYPE_TRANSPORT_PONG 33 190#define GNUNET_MESSAGE_TYPE_TRANSPORT_PONG 33
191 191
192/** 192/**
193 * Message for TRANSPORT asking that a connection 193 * Message for transport service from a client asking that a
194 * be initiated with a peer. 194 * connection be initiated with another peer.
195 */ 195 */
196#define GNUNET_MESSAGE_TYPE_TRANSPORT_REQUEST_CONNECT 34 196#define GNUNET_MESSAGE_TYPE_TRANSPORT_REQUEST_CONNECT 34
197 197
198/** 198/**
199 * Transport CONNECT message exchanged between transport services to
200 * indicate that a session should be marked as 'connected'.
201 */
202#define GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_CONNECT 35
203
204/**
205 * Transport DISCONNECT message exchanged between transport services to
206 * indicate that a connection should be dropped.
207 */
208#define GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_DISCONNECT 36
209
210
211
212/**
199 * Request update and listing of a peer. 213 * Request update and listing of a peer.
200 */ 214 */
201#define GNUNET_MESSAGE_TYPE_PEERINFO_GET 37 215#define GNUNET_MESSAGE_TYPE_PEERINFO_GET 37