]> git.proxmox.com Git - mirror_lxcfs.git/blobdiff - bindings.h
Merge pull request #198 from elianka/elianka-dev
[mirror_lxcfs.git] / bindings.h
index 5ac26fbc35548856e365a7aa2b898295df5033f7..c663287b15638f53a593bfe55823f0ef2b2df255 100644 (file)
@@ -1,5 +1,11 @@
+#ifndef __LXCFS_BINDINGS_H
+#define __LXCFS_BINDINGS_H
+
+#include "macro.h"
+
 /* directory under which we mount the controllers - /run/lxcfs/controllers */
 #define BASEDIR RUNTIME_PATH "/lxcfs/controllers"
+#define ROOTDIR RUNTIME_PATH "/lxcfs/root"
 
 extern int cg_write(const char *path, const char *buf, size_t size, off_t offset,
             struct fuse_file_info *fi);
@@ -26,3 +32,5 @@ extern int proc_open(const char *path, struct fuse_file_info *fi);
 extern int proc_read(const char *path, char *buf, size_t size, off_t offset,
                struct fuse_file_info *fi);
 extern int proc_access(const char *path, int mask);
+
+#endif /* __LXCFS_BINDINGS_H */