]> git.proxmox.com Git - mirror_lxcfs.git/blobdiff - bindings.h
Merge pull request #198 from elianka/elianka-dev
[mirror_lxcfs.git] / bindings.h
index e3827a648b16c7dacee69a94e1e46a97124eb0fc..c663287b15638f53a593bfe55823f0ef2b2df255 100644 (file)
@@ -1,15 +1,12 @@
+#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"
 
-/* Number of hierarchies mounted. */
-int num_hierarchies;
-
-/* Initialized via __constructor__ see bindings.c */
-char **hierarchies;
-
-int *fd_hierarchies;
-
 extern int cg_write(const char *path, const char *buf, size_t size, off_t offset,
             struct fuse_file_info *fi);
 extern int cg_mkdir(const char *path, mode_t mode);
@@ -35,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 */