cleanups in the verbosity code
[util-vserver.git] / util-vserver / ensc_wrappers / wrappers-vserver.hc
index 05b9ad6..f6c2b00 100644 (file)
@@ -55,11 +55,30 @@ Evc_migrate_context(xid_t xid)
 inline static WRAPPER_DECL void
 Evc_get_flags(xid_t xid, struct vc_ctx_flags *flags)
 {
-  FatalErrnoError(vc_get_flags(xid, flags)!=-1, "vc_get_flags()");
+  FatalErrnoError(vc_get_flags(xid, flags)==-1, "vc_get_flags()");
 }
 
 inline static WRAPPER_DECL void
 Evc_set_flags(xid_t xid, struct vc_ctx_flags const *flags)
 {
-  FatalErrnoError(vc_set_flags(xid, flags)!=-1, "vc_set_flags()");
+  FatalErrnoError(vc_set_flags(xid, flags)==-1, "vc_set_flags()");
+}
+
+inline static WRAPPER_DECL void
+Evc_set_vhi_name(xid_t xid, vc_uts_type type,
+                char const *val, size_t len)
+{
+  FatalErrnoError(vc_set_vhi_name(xid,type,val,len)==-1, "vc_set_vhi_name()");
+}
+
+inline static WRAPPER_DECL void
+Evc_get_ccaps(xid_t xid, struct vc_ctx_caps *caps)
+{
+  FatalErrnoError(vc_get_ccaps(xid, caps)==-1, "vc_get_ccaps()");
+}
+
+inline static WRAPPER_DECL void
+Evc_set_ccaps(xid_t xid, struct vc_ctx_caps const *caps)
+{
+  FatalErrnoError(vc_set_ccaps(xid, caps)==-1, "vc_set_ccaps()");
 }