- removed '#! /bin/bash' header
[util-vserver.git] / util-vserver / lib / vserver.h
index ebad12c..c4b5f76 100644 (file)
@@ -83,12 +83,12 @@ extern "C" {
   int  vc_chrootsafe(char const *dir);
 
 
-    /** Returns the context of the given process. */
+    /** Returns the context of the given process. pid==0 means the current process. */
   ctx_t        vc_X_getctx(pid_t pid);
 
-    /** Returns the context of the current process. */
-#define vc_X_getcctx()         (vc_X_getctx(getpid()))
-    
+    /** Returns the pid of the 'init' process */
+  pid_t        vc_X_getinitpid(pid_t pid);
+  
 #ifdef __cplusplus
 }
 #endif