2012-11-14 17:39:04 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Fujitsu Limited.
|
|
|
|
*
|
|
|
|
* lxc_fuse.c: fuse filesystem support for libvirt lxc
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see
|
|
|
|
* <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2019-06-18 11:12:32 -05:00
|
|
|
#pragma once
|
2012-11-14 17:39:04 +08:00
|
|
|
|
2019-06-18 11:12:32 -05:00
|
|
|
#define FUSE_USE_VERSION 26
|
2012-11-14 17:39:04 +08:00
|
|
|
|
2019-06-18 11:12:32 -05:00
|
|
|
#if WITH_FUSE
|
|
|
|
# include <fuse.h>
|
|
|
|
#endif
|
2012-11-14 17:39:04 +08:00
|
|
|
|
2019-06-18 11:12:32 -05:00
|
|
|
#include "lxc_conf.h"
|
2012-11-14 17:39:04 +08:00
|
|
|
|
2020-05-12 18:31:16 +01:00
|
|
|
typedef struct virLXCFuse virLXCFuse;
|
2012-11-14 17:39:04 +08:00
|
|
|
|
2021-03-11 08:16:13 +01:00
|
|
|
int lxcSetupFuse(struct virLXCFuse **f, virDomainDef *def);
|
|
|
|
int lxcStartFuse(struct virLXCFuse *f);
|
|
|
|
void lxcFreeFuse(struct virLXCFuse **f);
|