]> git.llucax.com Git - software/posixx.git/commitdiff
Add SUB_CANCEL to tipc::subscr_t
authorLeandro Lucarella <llucarella@integratech.com.ar>
Fri, 27 Feb 2009 17:42:42 +0000 (15:42 -0200)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Fri, 27 Feb 2009 18:46:15 +0000 (16:46 -0200)
This is supported in TIPC 1.7+ according to TIPC documentation.

src/linux/tipc.hpp

index 09cb49801b5ecd53c2e2245302cc77f8e4ffd7b6..e6f6644c35dc92d81254d1d00125b56d4ddebc8a 100644 (file)
@@ -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
 
 };