This commit adds support for the 2.1 vserver API.
[util-vserver.git] / lib / vserver-internal.h
index b1728b6..56a0338 100644 (file)
@@ -104,6 +104,13 @@ inline static ALWAYSINLINE void vc_noop0() {}
 #endif
 
 
+#ifdef VC_ENABLE_API_V21
+#  define CALL_VC_V21(F,...)   CALL_VC_GENERAL(0x00020100, v21, F, __VA_ARGS__)
+#else
+#  define CALL_VC_V21(F,...)   CALL_VC_NOOP
+#endif
+
+
 #ifdef VC_ENABLE_API_NET
 #  define CALL_VC_NET(F,...)   CALL_VC_GENERAL(0x00010016, net, F, __VA_ARGS__)
 #else