This structure is not used outside of lxc_fuse.c. There is no need
to define it in the header file.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
#if WITH_FUSE
+struct virLXCFuse {
+ virDomainDef *def;
+ virThread thread;
+ char *mountpoint;
+ struct fuse *fuse;
+ struct fuse_chan *ch;
+ virMutex lock;
+};
+
static const char *fuse_meminfo_path = "/meminfo";
static int lxcProcGetattr(const char *path, struct stat *stbuf)
unsigned long long swapusage;
};
-struct virLXCFuse {
- virDomainDef *def;
- virThread thread;
- char *mountpoint;
- struct fuse *fuse;
- struct fuse_chan *ch;
- virMutex lock;
-};
typedef struct virLXCFuse virLXCFuse;
int lxcSetupFuse(struct virLXCFuse **f, virDomainDef *def);