Add VLIMIT_MAPPED, for mapped files that are in RAM.
[util-vserver.git] / lib / vserver.h
index 41479fb..2f9c62a 100644 (file)
 
 // the network flags
 #define VC_NXF_INFO_LOCK               0x00000001ull
+#define VC_NXF_INFO_PRIVATE            0x00000008ull
+
+#define VC_NXF_SINGLE_IP               0x00000100ull
+
+#define VC_NXF_HIDE_NETIF              0x02000000ull
 
 #define VC_NXF_STATE_SETUP             (1ULL<<32)
 #define VC_NXF_STATE_ADMIN             (1ULL<<34)
 #define VC_VLIMIT_SEMARY               20
 #define VC_VLIMIT_NSEMS                        21
 #define VC_VLIMIT_DENTRY               22
+#define VC_VLIMIT_MAPPED               23
 
 
 
@@ -855,6 +861,8 @@ extern "C" {
 
   /** Maps an xid given at '--xid' options to an xid_t */
   xid_t                vc_xidopt2xid(char const *, bool honor_static, char const **err_info);
+  /** Maps a  nid given at '--nid' options to a  nid_t */
+  nid_t                vc_nidopt2nid(char const *, bool honor_static, char const **err_info);
 
   vcCfgStyle   vc_getVserverCfgStyle(char const *id);