X-Git-Url: http://git.onelab.eu/?p=util-vserver.git;a=blobdiff_plain;f=lib%2Finternal.h;h=79d2e9bf2ed700300792f09092e7a51208aad72f;hp=60e24203a9319890e86583f5a186034f52c1c335;hb=ec4370f7ebd7fb0ce7f002f5bf2c74f03acd3ec1;hpb=2822ba293eb308225c50d346930c47bf98d9927b diff --git a/lib/internal.h b/lib/internal.h index 60e2420..79d2e9b 100644 --- a/lib/internal.h +++ b/lib/internal.h @@ -1,4 +1,4 @@ -// $Id: internal.h,v 1.13 2005/04/28 17:52:30 ensc Exp $ --*- c++ -*-- +// $Id: internal.h 2415 2006-12-08 13:24:49Z dhozac $ --*- c++ -*-- // Copyright (C) 2003 Enrico Scholz // @@ -23,6 +23,8 @@ #define H_UTIL_VSERVER_LIB_INTERNAL_H #include "fmt.h" +#include "vserver.h" + #include #include @@ -30,7 +32,13 @@ extern "C" { #endif +char * vc_getVserverByCtx_Internal(xid_t ctx, /*@null@*/vcCfgStyle *style, + /*@null@*/char const *revdir, + bool validate_result); + + int utilvserver_checkCompatVersion(); +uint_least32_t utilvserver_checkCompatConfig(); bool utilvserver_isDirectory(char const *path, bool follow_link); bool utilvserver_isFile(char const *path, bool follow_link); bool utilvserver_isLink(char const *path);