s!/etc/slackware-release!/etc/slackware-version! (reported by bubulak)
[util-vserver.git] / util-vserver / lib / internal.h
index 81f9e07..cad6095 100644 (file)
@@ -23,6 +23,8 @@
 #define H_UTIL_VSERVER_LIB_INTERNAL_H
 
 #include "fmt.h"
+#include "vserver.h"
+
 #include <stdlib.h>
 #include <stdbool.h>
 
 extern "C" {
 #endif
 
+char * vc_getVserverByCtx_Internal(xid_t ctx, /*@null@*/vcCfgStyle *style,
+                                   /*@null@*/char const *revdir,
+                                   bool validate_result);
+
+  
 int    utilvserver_checkCompatVersion();
 bool   utilvserver_isDirectory(char const *path, bool follow_link);
 bool   utilvserver_isFile(char const *path, bool follow_link);
@@ -41,7 +48,7 @@ int   utilvserver_listparser_uint32(char const *str, size_t len,
                                      uint_least32_t *mask,
                                      uint_least32_t (*func)(char const*,
                                                             size_t, bool *
-                                       )) NONNULL((1,5,6,7));
+                                       )) NONNULL((1,5,7));
   
 int    utilvserver_listparser_uint64(char const *str, size_t len,
                                      char const **err_ptr, size_t *err_len,
@@ -49,7 +56,7 @@ int   utilvserver_listparser_uint64(char const *str, size_t len,
                                      uint_least64_t *mask,
                                      uint_least64_t (*func)(char const*,
                                                             size_t, bool *
-                                       )) NONNULL((1,5,6,7));
+                                       )) NONNULL((1,5,7));
 
 struct Mapping_uint32 {
     char const * const id;