From: Enrico Scholz Date: Fri, 16 Jan 2004 17:57:59 +0000 (+0000) Subject: added new management functions + doc X-Git-Tag: VERSION_0_10~918 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6827f541b7589f47873f594660709fc163cdd902;p=util-vserver.git added new management functions + doc git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@609 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/vserver.h b/util-vserver/lib/vserver.h index f50732b..88c7085 100644 --- a/util-vserver/lib/vserver.h +++ b/util-vserver/lib/vserver.h @@ -196,6 +196,19 @@ extern "C" { be freed by the caller. */ char * vc_getVserverName(char const *id, vcCfgStyle style); + /** Returns the path of the vserver configuration directory. When the given + * vserver does not exist, or when it does not have such a directory, NULL + * will be returned. Else, the result will be allocated and must be freed + * by the caller. */ + char * vc_getVserverCfgDir(char const *id, vcCfgStyle style); + + /** Returns the path of the configuration directory for the given + * application. The result will be allocated and must be freed by the + * caller. */ + char * vc_getVserverAppDir(char const *id, vcCfgStyle style, char const *app); + + /** Returns the path to the vserver root-directory. The result will be + * allocated and must be freed by the caller. */ char * vc_getVserverVdir(char const *id, vcCfgStyle style); /** Returns the ctx of the given vserver. When vserver is not running and