diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-18 12:41:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-18 12:41:30 +0000 |
commit | e5e65405bdff8e86535676dd7b84f3db9759de42 (patch) | |
tree | 908c3a24d46975d0f2e1186e91f7ee2221d53c02 /src | |
parent | 6dfad0abb0bb9c07741b10e679ee6db67b0d1f67 (diff) | |
download | gnunet-e5e65405bdff8e86535676dd7b84f3db9759de42.tar.gz gnunet-e5e65405bdff8e86535676dd7b84f3db9759de42.zip |
-peer review
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_gns_service.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_protocols.h | 19 |
2 files changed, 19 insertions, 2 deletions
diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h index fcb71fa6f..3e3d140b9 100644 --- a/src/include/gnunet_gns_service.h +++ b/src/include/gnunet_gns_service.h | |||
@@ -215,7 +215,7 @@ GNUNET_GNS_cancel_lookup_request (struct GNUNET_GNS_LookupRequest *lr); | |||
215 | * called only once | 215 | * called only once |
216 | * | 216 | * |
217 | * @param cls closure | 217 | * @param cls closure |
218 | * @param short_name the shortened name or NULL if no result | 218 | * @param short_name the shortened name or NULL if no result / error |
219 | */ | 219 | */ |
220 | typedef void (*GNUNET_GNS_ShortenResultProcessor) (void *cls, | 220 | typedef void (*GNUNET_GNS_ShortenResultProcessor) (void *cls, |
221 | const char* short_name); | 221 | const char* short_name); |
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index b3b5e4f40..54c42143e 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -1554,8 +1554,25 @@ extern "C" | |||
1554 | 1554 | ||
1555 | 1555 | ||
1556 | /** | 1556 | /** |
1557 | * Next available: 500 | 1557 | * GNS. FIXME: document! |
1558 | */ | 1558 | */ |
1559 | #define GNUNET_MESSAGE_TYPE_GNS_LOOKUP 500 | ||
1560 | |||
1561 | #define GNUNET_MESSAGE_TYPE_GNS_LOOKUP_RESULT 501 | ||
1562 | |||
1563 | #define GNUNET_MESSAGE_TYPE_GNS_SHORTEN 502 | ||
1564 | |||
1565 | #define GNUNET_MESSAGE_TYPE_GNS_SHORTEN_RESULT 503 | ||
1566 | |||
1567 | #define GNUNET_MESSAGE_TYPE_GNS_GET_AUTH 504 | ||
1568 | |||
1569 | #define GNUNET_MESSAGE_TYPE_GNS_GET_AUTH_RESULT 505 | ||
1570 | |||
1571 | |||
1572 | /** | ||
1573 | * Next available: 520 | ||
1574 | */ | ||
1575 | |||
1559 | 1576 | ||
1560 | /******************************************************************************* | 1577 | /******************************************************************************* |
1561 | * TODO: we need a way to register message types centrally (via some webpage). | 1578 | * TODO: we need a way to register message types centrally (via some webpage). |