[master] 98be1dbda vsm: New macros for status bit masks

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Jun 10 13:42:07 UTC 2024


commit 98be1dbda88475c1771ba05bd75614a22a92f5a3
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Jul 4 18:16:34 2023 +0200

    vsm: New macros for status bit masks

diff --git a/include/vapi/vsm.h b/include/vapi/vsm.h
index cbc12941c..f41ca86b9 100644
--- a/include/vapi/vsm.h
+++ b/include/vapi/vsm.h
@@ -130,6 +130,9 @@ int VSM_Attach(struct vsm *, int progress);
 #define VSM_WRK_CHANGED		(1U<<10)
 #define VSM_WRK_RESTARTED	(1U<<11)
 
+#define VSM_MGT_MASK 0x00ff
+#define VSM_WRK_MASK 0xff00
+
 unsigned VSM_Status(struct vsm *);
 	/*
 	 * Returns a bitmap of the current status and changes in it


More information about the varnish-commit mailing list