From 808b1eca4692bb7d76270d992e1c62f4df85939f Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 27 Feb 2009 15:42:42 -0200 Subject: [PATCH] Add SUB_CANCEL to tipc::subscr_t This is supported in TIPC 1.7+ according to TIPC documentation. --- src/linux/tipc.hpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/linux/tipc.hpp b/src/linux/tipc.hpp index 09cb498..e6f6644 100644 --- a/src/linux/tipc.hpp +++ b/src/linux/tipc.hpp @@ -191,7 +191,19 @@ enum subscr_t * Allows the topology service to inform the application about * @b all ports of interest. */ - SUB_SERVICE = TIPC_SUB_SERVICE + SUB_SERVICE = TIPC_SUB_SERVICE, + + /** + * Instruct the topology service to cancel a previously requested + * subscription. + * + * The application simply resends the original subscription request + * with SUB_CANCEL logically OR'd into the event filter. + * + * @note This is implemented in TIPC 1.7+ only (according to TIPC + * documentation). + */ + SUB_CANCEL = TIPC_SUB_CANCEL }; -- 2.43.0