aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-17 21:46:36 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-17 21:46:36 +0000
commitfc420d620e874f4dcba2ba37c544407019076930 (patch)
treefa47bdb9bcc5b5c2882d1a8e1f30c5e653628b6f /src
parentc373637ec60d7e2b808a1c57d4e96ea17d444358 (diff)
downloadgnunet-fc420d620e874f4dcba2ba37c544407019076930.tar.gz
gnunet-fc420d620e874f4dcba2ba37c544407019076930.zip
-removing obsolte stream message types
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_identity_service.h8
-rw-r--r--src/include/gnunet_protocols.h67
2 files changed, 8 insertions, 67 deletions
diff --git a/src/include/gnunet_identity_service.h b/src/include/gnunet_identity_service.h
index 2edd3bfdf..1d67c568c 100644
--- a/src/include/gnunet_identity_service.h
+++ b/src/include/gnunet_identity_service.h
@@ -192,15 +192,15 @@ GNUNET_IDENTITY_disconnect (struct GNUNET_IDENTITY_Handle *h);
192 * 192 *
193 * @param id identity service to use 193 * @param id identity service to use
194 * @param identifier desired identifier 194 * @param identifier desired identifier
195 * @param cb function to call with the result (will only be called once) 195 * @param cont function to call with the result (will only be called once)
196 * @param cb_cls closure for cb 196 * @param cont_cls closure for cont
197 * @return handle to abort the operation 197 * @return handle to abort the operation
198 */ 198 */
199struct GNUNET_IDENTITY_Operation * 199struct GNUNET_IDENTITY_Operation *
200GNUNET_IDENTITY_create (struct GNUNET_IDENTITY_Handle *id, 200GNUNET_IDENTITY_create (struct GNUNET_IDENTITY_Handle *id,
201 const char *identifier, 201 const char *identifier,
202 GNUNET_IDENTITY_Callback cb, 202 GNUNET_IDENTITY_Continuation cont,
203 void *cb_cls); 203 void *cont_cls);
204 204
205 205
206/** 206/**
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index a338d7b8e..20d3d408c 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -520,14 +520,14 @@ extern "C"
520#define GNUNET_MESSAGE_TYPE_FS_MIGRATION_STOP 139 520#define GNUNET_MESSAGE_TYPE_FS_MIGRATION_STOP 139
521 521
522/** 522/**
523 * P2P request for content (one FS to another via a stream). 523 * P2P request for content (one FS to another via a mesh).
524 */ 524 */
525#define GNUNET_MESSAGE_TYPE_FS_STREAM_QUERY 140 525#define GNUNET_MESSAGE_TYPE_FS_MESH_QUERY 140
526 526
527/** 527/**
528 * P2P answer for content (one FS to another via a stream). 528 * P2P answer for content (one FS to another via a mesh).
529 */ 529 */
530#define GNUNET_MESSAGE_TYPE_FS_STREAM_REPLY 141 530#define GNUNET_MESSAGE_TYPE_FS_MESH_REPLY 141
531 531
532 532
533/******************************************************************************* 533/*******************************************************************************
@@ -1261,66 +1261,7 @@ extern "C"
1261 */ 1261 */
1262#define GNUNET_MESSAGE_TYPE_TRANSPORT_TRAFFIC_METRIC 385 1262#define GNUNET_MESSAGE_TYPE_TRANSPORT_TRAFFIC_METRIC 385
1263 1263
1264/*******************************************************************************
1265 * STREAM messages types
1266 ******************************************************************************/
1267
1268/**
1269 * Message containing data exchanged between stream end-points over mesh.
1270 */
1271#define GNUNET_MESSAGE_TYPE_STREAM_DATA 400
1272
1273/**
1274 * ACK message
1275 */
1276#define GNUNET_MESSAGE_TYPE_STREAM_ACK 401
1277
1278/**
1279 * Handshake hello message
1280 */
1281#define GNUNET_MESSAGE_TYPE_STREAM_HELLO 402
1282
1283/**
1284 * Handshake hello acknowledgement message
1285 */
1286#define GNUNET_MESSAGE_TYPE_STREAM_HELLO_ACK 403
1287
1288/**
1289 * Reset message
1290 */
1291#define GNUNET_MESSAGE_TYPE_STREAM_RESET 404
1292 1264
1293/**
1294 * Transmit close message (data transmission no longer possible after this
1295 * message)
1296 */
1297#define GNUNET_MESSAGE_TYPE_STREAM_TRANSMIT_CLOSE 405
1298
1299/**
1300 * Transmit close acknowledgement message
1301 */
1302#define GNUNET_MESSAGE_TYPE_STREAM_TRANSMIT_CLOSE_ACK 406
1303
1304/**
1305 * Receive close message (data is no loger read by the receiver after this
1306 * message)
1307 */
1308#define GNUNET_MESSAGE_TYPE_STREAM_RECEIVE_CLOSE 407
1309
1310/**
1311 * Receive close acknowledgement message
1312 */
1313#define GNUNET_MESSAGE_TYPE_STREAM_RECEIVE_CLOSE_ACK 408
1314
1315/**
1316 * Stream close message (data is no longer sent or read after this message)
1317 */
1318#define GNUNET_MESSAGE_TYPE_STREAM_CLOSE 409
1319
1320/**
1321 * Close acknowledgement message
1322 */
1323#define GNUNET_MESSAGE_TYPE_STREAM_CLOSE_ACK 410
1324 1265
1325/******************************************************************************* 1266/*******************************************************************************
1326 * FS-PUBLISH-HELPER IPC Messages 1267 * FS-PUBLISH-HELPER IPC Messages