From bae0066688e7571b4abdebfb914dba6df0578a6b Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Sun, 2 Aug 2015 14:48:28 +0000 Subject: cancellation of request and according test improvements --- src/include/gnunet_protocols.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'src/include/gnunet_protocols.h') diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index dca1eb5e9..de585c9af 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h @@ -2706,17 +2706,17 @@ extern "C" /** * RPS PUSH message to push own ID to another peer */ -#define GNUNET_MESSAGE_TYPE_RPS_PP_PUSH 950 +#define GNUNET_MESSAGE_TYPE_RPS_PP_PUSH 950 /** * RPS PULL REQUEST message to request the local view of another peer */ -#define GNUNET_MESSAGE_TYPE_RPS_PP_PULL_REQUEST 951 +#define GNUNET_MESSAGE_TYPE_RPS_PP_PULL_REQUEST 951 /** * RPS PULL REPLY message which contains the view of the other peer */ -#define GNUNET_MESSAGE_TYPE_RPS_PP_PULL_REPLY 952 +#define GNUNET_MESSAGE_TYPE_RPS_PP_PULL_REPLY 952 @@ -2725,23 +2725,28 @@ extern "C" /** * RPS CS REQUEST Message for the Client to request (a) random peer(s) */ -#define GNUNET_MESSAGE_TYPE_RPS_CS_REQUEST 953 +#define GNUNET_MESSAGE_TYPE_RPS_CS_REQUEST 953 /** * RPS CS REPLY Message for the Server to send (a) random peer(s) */ -#define GNUNET_MESSAGE_TYPE_RPS_CS_REPLY 954 +#define GNUNET_MESSAGE_TYPE_RPS_CS_REPLY 954 + +/** + * RPS CS REQUEST CANCEL Message for the Client to cancel a request + */ +#define GNUNET_MESSAGE_TYPE_RPS_CS_REQUEST_CANCEL 955 /** * RPS CS SEED Message for the Client to seed peers into rps */ -#define GNUNET_MESSAGE_TYPE_RPS_CS_SEED 955 +#define GNUNET_MESSAGE_TYPE_RPS_CS_SEED 956 #ifdef ENABLE_MALICIOUS /** * Turn RPS service malicious */ -#define GNUNET_MESSAGE_TYPE_RPS_ACT_MALICIOUS 956 +#define GNUNET_MESSAGE_TYPE_RPS_ACT_MALICIOUS 957 #endif /* ENABLE_MALICIOUS */ -- cgit v1.2.3