]> git.proxmox.com Git - pve-cluster.git/blame - data/src/cfs-plug-memdb.h
pmxcfs: update copyright in license header
[pve-cluster.git] / data / src / cfs-plug-memdb.h
CommitLineData
fe000966 1/*
84c98315 2 Copyright (C) 2010 - 2020 Proxmox Server Solutions GmbH
fe000966
DM
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU Affero General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Affero General Public License for more details.
13
14 You should have received a copy of the GNU Affero General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17 Author: Dietmar Maurer <dietmar@proxmox.com>
18
19*/
20
21#ifndef _PVE_CFS_PLUG_MEMDB_H_
22#define _PVE_CFS_PLUG_MEMDB_H_
23
24#include <unistd.h>
25#include <fcntl.h>
26#include "cfs-plug.h"
27
28#include "dfsm.h"
29#include "memdb.h"
30
31
32typedef struct {
33 cfs_plug_t plug;
34 memdb_t *memdb;
35 dfsm_t *dfsm;
36} cfs_plug_memdb_t;
37
38cfs_plug_memdb_t *cfs_plug_memdb_new(
39 const char *name,
40 memdb_t *memdb,
41 dfsm_t *dfsm);
42
43#endif /* _PVE_CFS_PLUG_MEMDB_H_ */