From: Enrico Scholz Date: Fri, 27 Feb 2004 18:45:50 +0000 (+0000) Subject: added vc_set_sched declarations X-Git-Tag: VERSION_0_10~527 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ffb0e4081f6cad6b6908ffceb53ea33300193ed;p=util-vserver.git added vc_set_sched declarations git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1039 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/vserver.h b/util-vserver/lib/vserver.h index 0d5e293..ff6b8e6 100644 --- a/util-vserver/lib/vserver.h +++ b/util-vserver/lib/vserver.h @@ -233,6 +233,16 @@ extern "C" { } + struct vc_set_sched { + int32_t fill_rate; + int32_t period; + int32_t fill_level; + int32_t bucket_size; + }; + + int vc_set_sched(xid_t xid, struct vc_set_sched const *); + + typedef enum { vcFEATURE_VKILL, vcFEATURE_IATTR, vcFEATURE_RLIMIT, vcFEATURE_COMPAT, vcFEATURE_MIGRATE, vcFEATURE_NAMESPACE, vcFEATURE_SCHED, vcFEATURE_VINFO, vcFEATURE_VHI }