aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_protocols.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-16 19:32:52 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-16 19:32:52 +0000
commit6308c2556c54ea8a19b33bfe16bd2f81eae65e86 (patch)
tree2017381fa55744868e3664b59a46d60cce8c2433 /src/include/gnunet_protocols.h
parente71d2567fc6d2634c503587ba481cc92f5f5e60e (diff)
downloadgnunet-6308c2556c54ea8a19b33bfe16bd2f81eae65e86.tar.gz
gnunet-6308c2556c54ea8a19b33bfe16bd2f81eae65e86.zip
-copied block-related functions from namestore to namecache
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r--src/include/gnunet_protocols.h26
1 files changed, 17 insertions, 9 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 84ac9dda1..a3e40afd3 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -1350,38 +1350,46 @@ extern "C"
1350 1350
1351 1351
1352/******************************************************************************* 1352/*******************************************************************************
1353 * NAMESTORE message types 1353 * NAMECACHE message types
1354 ******************************************************************************/ 1354 ******************************************************************************/
1355 1355
1356/** 1356/**
1357 * Client to service: lookup block 1357 * Client to service: lookup block
1358 */ 1358 */
1359#define GNUNET_MESSAGE_TYPE_NAMESTORE_LOOKUP_BLOCK 431 1359#define GNUNET_MESSAGE_TYPE_NAMESTORE_LOOKUP_BLOCK 431
1360#define GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK 431
1360 1361
1361/** 1362/**
1362 * Service to client: result of block lookup 1363 * Service to client: result of block lookup
1363 */ 1364 */
1364#define GNUNET_MESSAGE_TYPE_NAMESTORE_LOOKUP_BLOCK_RESPONSE 432 1365#define GNUNET_MESSAGE_TYPE_NAMESTORE_LOOKUP_BLOCK_RESPONSE 432
1366#define GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK_RESPONSE 432
1365 1367
1366/** 1368/**
1367 * Client to service: store records (as authority) 1369 * Client to service: cache a block
1368 */ 1370 */
1369#define GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_STORE 433 1371#define GNUNET_MESSAGE_TYPE_NAMESTORE_BLOCK_CACHE 433
1372#define GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE 433
1370 1373
1371/** 1374/**
1372 * Service to client: result of store operation. 1375 * Service to client: result of block cache request
1373 */ 1376 */
1374#define GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_STORE_RESPONSE 434 1377#define GNUNET_MESSAGE_TYPE_NAMESTORE_BLOCK_CACHE_RESPONSE 434
1378#define GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE_RESPONSE 434
1379
1380/*******************************************************************************
1381 * NAMESTORE message types
1382 ******************************************************************************/
1375 1383
1376/** 1384/**
1377 * Client to service: cache a block 1385 * Client to service: store records (as authority)
1378 */ 1386 */
1379#define GNUNET_MESSAGE_TYPE_NAMESTORE_BLOCK_CACHE 435 1387#define GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_STORE 435
1380 1388
1381/** 1389/**
1382 * Service to client: result of block cache request 1390 * Service to client: result of store operation.
1383 */ 1391 */
1384#define GNUNET_MESSAGE_TYPE_NAMESTORE_BLOCK_CACHE_RESPONSE 436 1392#define GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_STORE_RESPONSE 436
1385 1393
1386/** 1394/**
1387 * Client to service: "reverse" lookup for zone name based on zone key 1395 * Client to service: "reverse" lookup for zone name based on zone key