vcl: add worker unregister api
[vpp.git] / src / vcl / vppcom.h
index 49cff41..6dfdd26 100644 (file)
@@ -303,6 +303,11 @@ extern int vppcom_data_segment_copy (void *buf, vppcom_data_segments_t ds,
  */
 extern int vppcom_worker_register (void);
 
+/**
+ * Unregister current worker
+ */
+extern void vppcom_worker_unregister (void);
+
 /**
  * Retrieve current worker index
  */