From: Leandro Lucarella Date: Fri, 27 Feb 2009 17:42:42 +0000 (-0200) Subject: Add SUB_CANCEL to tipc::subscr_t X-Git-Url: https://git.llucax.com/software/posixx.git/commitdiff_plain/808b1eca4692bb7d76270d992e1c62f4df85939f?hp=bbf6447e882b27011cf10a07bb9ac6ca4fc85374 Add SUB_CANCEL to tipc::subscr_t This is supported in TIPC 1.7+ according to TIPC documentation. --- 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 };